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

core/tracing: state journal wrapper #30441

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
8659e68
core/tracing: add vm context to system call hook
s1na Aug 26, 2024
b4e0174
core/tracing: add GetCodeHash to statedb interface
s1na Aug 26, 2024
f670a7f
core/tracing: emit state change events for journal reverts
s1na Aug 26, 2024
cf873c3
core/tracing: add hook for reverted out blocks
s1na Aug 26, 2024
365b715
log selfdestructs balance revert
s1na Aug 27, 2024
aac4024
Add state read hooks
s1na Sep 2, 2024
dbe5f83
add tracing journal
s1na Sep 15, 2024
b87c4fe
update changelog
s1na Sep 16, 2024
702a42f
fix indent
s1na Sep 16, 2024
c915bed
add block hash read hook
s1na Oct 3, 2024
838fc25
resolve merge conflict
s1na Oct 4, 2024
1cc58cf
fix code and nonce param order
s1na Oct 4, 2024
3c58155
update test
s1na Oct 4, 2024
501f302
pass-through non-journaled hooks
s1na Oct 5, 2024
1a64297
missed two hooks
s1na Oct 5, 2024
1862333
fix journal cur rev Id
s1na Oct 8, 2024
6650000
add note on balanceChangeRevert reason
s1na Oct 9, 2024
d9de74e
refactor WrapWithJournal to use reflection
s1na Oct 9, 2024
d2ba76f
add license to journal_test
s1na Oct 10, 2024
a2ca5f8
add desc for revert change reason
s1na Oct 10, 2024
85a85d0
add OnSystemCallStartV2
s1na Oct 14, 2024
2754b41
drop OnReorg
s1na Oct 17, 2024
92337d8
rm newline
s1na Oct 17, 2024
36b4194
Merge branch 'master' into tracing/v1.1
s1na Oct 17, 2024
efed5a6
fix OnTxEnd
s1na Oct 24, 2024
ea92ef4
Merge branch 'master' into tracing/v1.1
s1na Oct 24, 2024
fbd1d19
fix pre-post block process fns
s1na Oct 24, 2024
0f005af
mv read hooks to statedb_hooked
s1na Oct 24, 2024
5e4d6b8
add whitespace
s1na Oct 24, 2024
4d2fb0e
update changelog
s1na Oct 24, 2024
b37f2ac
Merge branch 'master' into tracing/v1.1
s1na Oct 25, 2024
a0f7cd6
Add test for all underlying hooks being called
s1na Oct 25, 2024
87582a4
Merge branch 'master' into tracing/v1.1
s1na Nov 11, 2024
6e4d14c
resolve merge conflict
s1na Nov 26, 2024
553f023
handle creation nonce in journal
s1na Nov 26, 2024
be93d72
Merge branch 'master' into tracing/v1.1
s1na Dec 2, 2024
1dda30d
Merge branch 'master' into tracing/v1.1
s1na Dec 3, 2024
4acea3b
rm OnCodeSizeRead
s1na Dec 3, 2024
018df6b
rm onreorg type
s1na Dec 3, 2024
60b2222
wrapper func for OnSystemCallStart
s1na Dec 3, 2024
6c56ea5
update changelog
s1na Dec 3, 2024
f4cf2a5
Merge branch 'master' into tracing/v1.1
s1na Dec 4, 2024
7fb2688
run go generate
s1na Dec 4, 2024
3228063
rm read hooks
s1na Dec 9, 2024
95b82cf
lint issue
s1na Dec 9, 2024
de48d55
fix changelog
s1na Dec 10, 2024
9cae376
un-expose hooks copy
s1na Dec 10, 2024
bf51dde
Merge branch 'master' into tracing/v1.1
s1na Dec 16, 2024
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
add desc for revert change reason
  • Loading branch information
s1na committed Oct 10, 2024
commit a2ca5f81ff1d2f766cb8846aaddce5020280a666
1 change: 1 addition & 0 deletions core/tracing/hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ const (
BalanceDecreaseSelfdestructBurn BalanceChangeReason = 14

// BalanceChangeRevert is emitted when the balance is reverted back to a previous value due to call failure.
s1na marked this conversation as resolved.
Show resolved Hide resolved
s1na marked this conversation as resolved.
Show resolved Hide resolved
// It is only emitted when the tracer has opted in to use the journaling wrapper.
BalanceChangeRevert BalanceChangeReason = 15
)

Expand Down