Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support trace API similar to OpenEthereum/Parity's one #211

Merged
merged 75 commits into from
Nov 5, 2020
Merged
Changes from 1 commit
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
6be3792
tracer: Add call_tracer_open_ethereum with formatted output similar t…
ziogaschr Oct 2, 2020
0bcd35b
tracer: Expose trace_traceTransaction API (draft, might change)
ziogaschr Oct 2, 2020
5752398
tracer: Add `trace_traceBlock*` methods
ziogaschr Oct 2, 2020
c2b0717
Rename TraceBlockByNumber to TraceBlock for compatibility with OpenEt…
ziogaschr Oct 5, 2020
7a4afdb
Rename trace methods for compatibility with OpenEthereum names
ziogaschr Oct 6, 2020
9228a99
tracer: add dump trace_filter func
ziogaschr Oct 6, 2020
8efa8a4
tracer: include `blockHash`, `transactionHash` and `transactionPositi…
ziogaschr Oct 7, 2020
7770fc1
tracer: small change to accumulateRewards to make it available to the…
ziogaschr Oct 9, 2020
590fdf2
tracer: restructure PrivateTraceAPI to its own file
ziogaschr Oct 9, 2020
66362d8
tracer: add block/uncle rewards in trace_block
ziogaschr Oct 9, 2020
7b56e95
tracer: reorder tracer json fields
ziogaschr Oct 9, 2020
350afc9
Cleanup
ziogaschr Oct 12, 2020
548de0d
tracer: handle gas 2300 stipend
ziogaschr Oct 13, 2020
da1a1ec
tracer: Add mapping of core-geth errors to OpenEthereum ones
ziogaschr Oct 13, 2020
b5b4990
tracer: handle op=selfdestruct similar to OpenEthereum
ziogaschr Oct 13, 2020
f6996ac
tracer: cleanup reward structs
ziogaschr Oct 14, 2020
2ec697c
tracer: JS better handling of typeof undefined
ziogaschr Oct 14, 2020
9ac36bd
tracer: JS rename oeErrorMapping
ziogaschr Oct 14, 2020
f583aaa
tracer: JS cleanup 🧽
ziogaschr Oct 14, 2020
3c07e02
tracer: JS refactor/cleanup finalize()
ziogaschr Oct 14, 2020
8a2dd93
tracer: JS add additional error maps
ziogaschr Oct 14, 2020
5ddf481
js/tracers: make OpenEthereum calltracer report value in selfdestructs
ziogaschr Oct 14, 2020
860f014
tracer: JS better handling of gas and gasUsed (remove the stipend hack)
ziogaschr Oct 14, 2020
82c221d
tracer: JS OE compatibility fixes
ziogaschr Oct 14, 2020
8c5a412
tracer: JS handle out of gas errors
ziogaschr Oct 14, 2020
05bfa16
tracer: JS temp hack for compatibility (to be changed)
ziogaschr Oct 14, 2020
791c601
tracer: fix handling of op=delegatecall value
ziogaschr Oct 14, 2020
4e4f55b
tracer: better naming for isDynamicGas variable (still not sure if ac…
ziogaschr Oct 14, 2020
e3fcba6
tracer: add more error mappings
ziogaschr Oct 14, 2020
fa1a6b6
tracer: op=CREATE2 to return type=CREATE for OE compatibility
ziogaschr Oct 14, 2020
6099dbc
eth: clean ineffectual assigns re: OE tracer config setting
meowsbits Oct 15, 2020
d1b01a9
eth: (lint) remove unnecessary type conversion
meowsbits Oct 15, 2020
14a05d2
eth: (lint:gosimple) replace iterating assign with variadic append
meowsbits Oct 15, 2020
582c97a
main: add 'trace:1.0' to console test
meowsbits Oct 15, 2020
69d7e09
eth: add benchmarking test for slice append patterns
meowsbits Oct 15, 2020
c0a40fd
tracer: remove unused OpenEthereumTrace fields
ziogaschr Oct 19, 2020
0801f65
tracer: JS cleanup
ziogaschr Oct 19, 2020
da163f9
tracer: Set value=0x0 for op=STATICCALL
ziogaschr Oct 19, 2020
0119efd
tracer: JS handle output based on op=RETURN
ziogaschr Oct 19, 2020
64d05c9
tracer: JS remove the uneeded isDynamic check on gas
ziogaschr Oct 19, 2020
75a90fa
tracer: JS on “out of gas” Failure set gas=0x0
ziogaschr Oct 19, 2020
d604f32
tracer: JS fix
ziogaschr Oct 21, 2020
fc900c0
tracer: revert remove unused OpenEthereumTrace fields
ziogaschr Oct 21, 2020
0d757e0
tracer: JS OE handle “return data out of bounds”
ziogaschr Oct 21, 2020
06a14f6
tracer: JS OE on fault, try to get gas from inner calls
ziogaschr Oct 21, 2020
44208e2
Revert "eth: clean ineffectual assigns re: OE tracer config setting"
ziogaschr Oct 21, 2020
c32bcd6
core/vm: track 63/64 call gas off stack
ziogaschr Oct 29, 2020
d9de8f3
tracer: pass the true available gas for an opcode call in CaptureState
ziogaschr Oct 31, 2020
b78b08f
tracer/js: extend JS log tracer with getAvailableGas per call
ziogaschr Oct 31, 2020
87a885e
tracer/js: extend JS log tracer with getReturnData
ziogaschr Oct 31, 2020
d9eebfc
tracer/js: add "Out of stack” error mapping for OE tracer
ziogaschr Oct 31, 2020
becfd6d
tracer/js: handle edje cases where first time in callstack remains em…
ziogaschr Oct 31, 2020
a94bede
tracer/js: extend OE JS tracer to return compatible gas with OE using…
ziogaschr Nov 1, 2020
269474b
tracer/js: extend OE JS tracer to use getReturnData to decide if the …
ziogaschr Nov 1, 2020
dfa7777
tracer/js: bring back wrongly removed line
ziogaschr Nov 1, 2020
6fff135
cleanup
ziogaschr Nov 1, 2020
a50e971
tracer/js: handle precompiled contract failures on CALL opcodes
ziogaschr Nov 1, 2020
ecad577
tracer/js: expose system opcode errors in JS tracers
ziogaschr Nov 2, 2020
c956731
cleanup
ziogaschr Nov 2, 2020
72251c2
tracer/js: read system opcode error in OE JS tracer
ziogaschr Nov 2, 2020
955fa16
tracer/js: extend OE JS tracer to use only getReturnData for CALL rel…
ziogaschr Nov 2, 2020
0de90ff
tracers: generate assets.go
ziogaschr Nov 2, 2020
e4a3a5c
tracers/js: cleanup
ziogaschr Nov 2, 2020
88bbfb2
tracer: Rename call_tracer_open_ethereum to call_tracer_parity and re…
ziogaschr Nov 2, 2020
c89f77c
tracer: fix lint issues
ziogaschr Nov 3, 2020
39fcedf
tracer/js: add TODO comment
ziogaschr Nov 4, 2020
dbe01d4
core/vm: track 63/64 create gas off stack (fix)
ziogaschr Nov 4, 2020
05f0d9c
tracers: generate assets.go
ziogaschr Nov 4, 2020
c5b5386
core/vm: add createGasEip150 for CREATE/CREATE2 gas calc of 63/64 rul…
ziogaschr Nov 4, 2020
b66cd1c
core/vm: cleanup use of evm.callGasTemp in interpreter
ziogaschr Nov 4, 2020
0f710a4
Merge branch 'master' into feat/openethereum-trace-apis
ziogaschr Nov 4, 2020
ad4fdbe
consensus/ethash: better name for AccumulateRewards -> GetRewards
ziogaschr Nov 5, 2020
e1a3c01
ethash: remove unnecessarily defensive conditional
meowsbits Nov 5, 2020
45d5f66
core/vm, eth/tracers: make `evm.callGasTemp` public `evm.CallGasTemp`
ziogaschr Nov 5, 2020
e447981
eth/tracers: fix broken test `call_tracer_inner_create_oog_outer_thro…
ziogaschr Nov 5, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tracers: generate assets.go
ziogaschr committed Nov 4, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 05f0d9c5bfa13659cc90b66adc11f175dfe57761
Loading