Skip to content

Commit

Permalink
update call addresses in coinbasewarmaccountcallgasfailfiller
Browse files Browse the repository at this point in the history
  • Loading branch information
enitrat committed Sep 18, 2024
1 parent 6acf860 commit 216a0eb
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ coinbaseWarmAccountCallGasFail:
let callgas := 100
switch calladdr
case 0x100 {
case 0x1000 {
// Extra: COINBASE + 6xPUSH1 + DUP6 + 2xPOP
callgas := add(callgas, 27)
}
case 0x200 {
case 0x2000 {
// Extra: COINBASE + 6xPUSH1 + DUP6 + 2xPOP
callgas := add(callgas, 27)
}
case 0x300 {
case 0x3000 {
// Extra: COINBASE + 5xPUSH1 + DUP6 + 2xPOP
callgas := add(callgas, 24)
}
case 0x400 {
case 0x4000 {
// Extra: COINBASE + 5xPUSH1 + DUP6 + 2xPOP
callgas := add(callgas, 24)
}
Expand Down

0 comments on commit 216a0eb

Please sign in to comment.