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

AA-475: include ERC-7562 tracer #47

Merged
merged 25 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
eb2d9be
WIP: include ERC-7562 tracer
forshtat Oct 30, 2024
0ca4df9
Remove checking the 'OnlyTopCall' as it doesn't fit the use-case
forshtat Oct 30, 2024
cde93e7
Remove most of the string-based opcode manipulation
forshtat Oct 30, 2024
032fc39
Fix
forshtat Oct 30, 2024
a882a69
Construct the correct tracer object
forshtat Oct 30, 2024
6dbd029
Bring in 'OnTxEnd' and 'GetResult' functions
forshtat Oct 30, 2024
8984d95
Missing 'OnOpcode' hook
forshtat Oct 30, 2024
7a1230e
native bundlerCollectorTracer
shahafn Oct 30, 2024
82019de
Fixing tracer wip
shahafn Oct 30, 2024
0b0bf58
WIP: Make 'allowed opcodes' a configurable parameter with a hex strin…
forshtat Nov 3, 2024
e5b71eb
WIP: Remove all inefficient code working with opcodes as strings
forshtat Nov 3, 2024
e7200a1
erc7562 tracer wip
shahafn Dec 17, 2024
422e99d
Fixing pointer
shahafn Dec 18, 2024
e26ec4d
Fixing contract size type
shahafn Dec 18, 2024
9d7481a
Fixing handleExtOpcodes
shahafn Dec 18, 2024
7928188
Fixing stack pointers
shahafn Dec 18, 2024
662847e
Changing UsedOpcodes type
shahafn Dec 19, 2024
6c94b38
Fixing ignoredOpcodes
shahafn Dec 19, 2024
9bc24ba
Adding isCall(), fixing PR comments
shahafn Dec 19, 2024
c63983a
Remving callTracer, callTracerConfig, adding erc7562TracerConfig
shahafn Dec 19, 2024
67ea9bb
Detecting OOG in OnExit instead of OnOpcode
shahafn Dec 19, 2024
77aa704
Removing unused function
shahafn Dec 22, 2024
7eef00b
Removing unused
shahafn Dec 22, 2024
a8606a6
Changing Keccak member from array to mapping
shahafn Dec 22, 2024
d839b83
Replacing lastSeenOpcodes for lastOpWithStack
shahafn Dec 23, 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
4 changes: 2 additions & 2 deletions core/vm/opcodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const (

// 0x80 range - dups.
const (
DUP1 = 0x80 + iota
DUP1 OpCode = 0x80 + iota
DUP2
DUP3
DUP4
Expand All @@ -182,7 +182,7 @@ const (

// 0x90 range - swaps.
const (
SWAP1 = 0x90 + iota
SWAP1 OpCode = 0x90 + iota
SWAP2
SWAP3
SWAP4
Expand Down
Loading
Loading