mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 12:37:16 +00:00
b437fab006
* Adding some testdata for RPC tracing * Adding command line option to allow switching trace export format * Moved types into a separate file for clarity * Added endpoints and stub functions for other trace routines * Added experimental end points for issuance, blockReward, and uncleReward * Moved supporting functions for filtering to _filtering file * Moved Filter function to _filtering file * Reordering functions for clarity * Cleaning up * Implemented trace_get - 7 of 8 tests pass * Implemented trace_transaction - 2 of 8 tests pass * Updating test cases * Turning off lint temporarily. Will be turned back on * Extended trace_filter (parity traces, reward traces) - 10 of 13 tests pass * Implemented trace_block - 4 of 6 tests passed * Cleanup test cases * Added refundAddress and selfDestructedAddress to self destruct traces * Total hack fix to missing gasUsed in some tests. Fixes tests, needs to be replaced
78 lines
4.7 KiB
Plaintext
78 lines
4.7 KiB
Plaintext
005 trace_get fail ["0x17104ac9d3312d8c136b7f44d4b8b47852618065ebfa534bd2d3b5ef218ca1f3",0]
|
|
010 trace_get fail ["0x17104ac9d3312d8c136b7f44d4b8b47852618065ebfa534bd2d3b5ef218ca1f3","0x0"]
|
|
015 trace_get zero ["0x17104ac9d3312d8c136b7f44d4b8b47852618065ebfa534bd2d3b5ef218ca1f3",["0x0"]]
|
|
020 trace_get one ["0x17104ac9d3312d8c136b7f44d4b8b47852618065ebfa534bd2d3b5ef218ca1f3",["0x1"]]
|
|
025 trace_get both ["0x17104ac9d3312d8c136b7f44d4b8b47852618065ebfa534bd2d3b5ef218ca1f3",["0x0","0x1"]]
|
|
030 trace_get fail ["0x17104ac9d3312d8c136b7f44d4b8b47852618065ebfa534bd2d3b5ef218ca1f3"]
|
|
035 trace_get two ["0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060",["0x2"]]
|
|
040 trace_get fail ["0x975994512b958b31608f5692a6dbacba359349533dfb4ba0facfb7291fbec48d",["0x"]]
|
|
|
|
050 trace_transaction one ["0x17104ac9d3312d8c136b7f44d4b8b47852618065ebfa534bd2d3b5ef218ca1f3"]
|
|
055 trace_transaction two ["0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060"]
|
|
060 trace_transaction three ["0x6afbe0f0ea3613edd6b84b71260836c03bddce81604f05c81a070cd671d3d765"]
|
|
065 trace_transaction four ["0x80926bb17ecdd526a2d901835482615eec87c4ca7fc30b96d8c6d6ab17bc721e"]
|
|
070 trace_transaction five ["0xb8ae0ab093fe1882249187b8f40dbe6e9285b419d096bd8028172d55b47ff3ce"]
|
|
075 trace_transaction six ["0xc2b831c051582f13dfaff6df648972e7e94aeeed1e85d23bd968a55b59f3cb5b"]
|
|
080 trace_transaction seven ["0xf9d426284bd20415a53991a004122b3a3a619b295ea98d1d88a5fd3a4125408b"]
|
|
085 trace_transaction cr_de ["0x343ba476313771d4431018d7d2e935eba2bfe26d5be3e6cb84af6817fd0e4309"]
|
|
|
|
105 trace_block 0x23 ["0x2328"]
|
|
110 trace_block 0x10 ["0x100"]
|
|
115 trace_block 0x12 ["0x12"]
|
|
120 trace_block 0x12 ["0x121212"]
|
|
125 trace_block 0x2e ["0x2ed119"]
|
|
130 trace_block 0xa1 ["0xa18dcfbc639be11c353420ede9224d772c56eb9ff327eb73771f798cf42d0027"]
|
|
#135 trace_block 0xa6 ["0xa60f34"]
|
|
#140 trace_block 0xf4 ["0xf4629"]
|
|
#145 trace_block slow ["0x895441"]
|
|
|
|
150 trace_filter good_1 [{"fromBlock":"0x2328","toBlock":"0x2328"}]
|
|
155 trace_filter range_1 [{"fromBlock":"0x2dcaa9","toBlock":"0x2dcaaa"}]
|
|
160 trace_filter block_3 [{"fromBlock":"0x3","toBlock":"0x3"}]
|
|
165 trace_filter first_tx [{"fromBlock":"0xb443","toBlock":"0xb443"}]
|
|
170 trace_filter from_doc [{"fromBlock":"0x2ed0c4","toBlock":"0x2ed128","toAddress":["0x8bbb73bcb5d553b5a556358d27625323fd781d37"],"after":1000,"count":100}]
|
|
175 trace_filter rem_a_o [{"fromBlock":"0x2ed0c4","toBlock":"0x2ed128","toAddress":["0x8bbb73bcb5d553b5a556358d27625323fd781d37"]}]
|
|
180 trace_filter count_1 [{"fromBlock":"0x2ed0c4","toBlock":"0x2ed128","toAddress":["0x8bbb73bcb5d553b5a556358d27625323fd781d37"],"count":1}]
|
|
185 trace_filter after_1 [{"fromBlock":"0x2ed0c4","toBlock":"0x2ed128","toAddress":["0x8bbb73bcb5d553b5a556358d27625323fd781d37"],"after":1,"count":4}]
|
|
190 trace_filter to_0xc02 [{"fromBlock":"0xa344e0","toBlock":"0xa344e0","toAddress":["0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"]}]
|
|
195 trace_filter fr_0xc3c [{"fromBlock":"0xa344e0","toBlock":"0xa344e0","fromAddress":["0xc3ca90684fd7b8c7e4be88c329269fc32111c4bd"]}]
|
|
200 trace_filter both [{"fromBlock":"0xa344e0","toBlock":"0xa344e0","fromAddress":["0xc3ca90684fd7b8c7e4be88c329269fc32111c4bd"],"toAddress":["0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"]}]
|
|
205 trace_filter fail_2 [{"fromBlock":"0xa606ba","toBlock":"0x2dcaa9"}]
|
|
210 trace_filter bad_1 [{"fromBlock":"0x2328","toBlock":"0x2327"}]
|
|
#215 trace_filter slow_2 [{"fromBlock":"0xa606ba","toBlock":"0xa606ba"}]
|
|
#220 trace_filter 10700000 [{"fromBlock":"0xa344e0","toBlock":"0xa344e0"}]
|
|
|
|
#255 trace_replayBlockTransactions ["0x1",["trace"]]
|
|
#250 trace_replayBlockTransactions ["0x1"]
|
|
#265 trace_replayBlockTransactions ["0x100"]
|
|
#260 trace_replayBlockTransactions ["0x895441",["trace"]]
|
|
#275 trace_replayBlockTransactions ["0x895441",["vmTrace"]]
|
|
#270 trace_replayBlockTransactions ["0xCF9BF",["trace"]]
|
|
#285 trace_replayBlockTransactions ["0xDBBA1",["trace"]]
|
|
#280 trace_replayBlockTransactions ["0xDBBA1",["vmTrace"]]
|
|
#285 trace_replayBlockTransactions ["CF9BF",["trace"]]
|
|
|
|
#290 trace_replayTransactions ["CF9BF",["trace"]]
|
|
#295trace_replayTransactions ["CF9BF",["trace"]]
|
|
|
|
305 trace_junk12 no_rpc []
|
|
|
|
#trace_call
|
|
#trace_callMany
|
|
#trace_rawTransaction
|
|
#debug_traceTransaction ["0xDBBA1"]
|
|
|
|
# custom, experimental stuff
|
|
405_turbo trace_blockReward rew_0 ["0x0"]
|
|
410_turbo trace_blockReward rew_1 ["0x1"]
|
|
415_turbo trace_blockReward rew_2 ["0x2"]
|
|
420_turbo trace_blockReward rew_3 ["0x3"]
|
|
425_turbo trace_uncleReward unc_0 ["0x0"]
|
|
430_turbo trace_uncleReward unc_1 ["0x1"]
|
|
435_turbo trace_uncleReward unc_2 ["0x2"]
|
|
440_turbo trace_uncleReward unc_3 ["0x3"]
|
|
445_turbo trace_issuance iss_0 ["0x0"]
|
|
450_turbo trace_issuance iss_1 ["0x1"]
|
|
455_turbo trace_issuance iss_2 ["0x2"]
|
|
460_turbo trace_issuance iss_3 ["0x3"]
|