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

Bug with CALL gas calculation? #622

Open
DavePearce opened this issue Jan 10, 2024 · 0 comments
Open

Bug with CALL gas calculation? #622

DavePearce opened this issue Jan 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DavePearce
Copy link
Collaborator

There seems to be a bug with calculating gas after a successful CALL. Specifically:

981:CALLVALUE, gas=0x5f4dbf, stack=[ (8 items) ... ], memory=0x6160016000f300~19~
982:DUP6, gas=0x5f4dbd, stack=[ (9 items) ... ], memory=0x6160016000f300~19~
983:PUSH1, gas=0x5f4dba, stack=[ (10 items) ... ], memory=0x6160016000f300~19~
985:CALL, gas=0x5f4db7, stack=[ (11 items) ... ], memory=0x6160016000f300~19~
986:DUP12, gas=0x5ed17f, stack=[ (5 items) ... ], memory=0x6160016000f300~19~

At the last line, we should have gas=0x5ec7bb.

@DavePearce DavePearce added the bug Something isn't working label Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant