Skip to content

Commit

Permalink
fix(keccak-opcode): syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
fborello-lambda committed Apr 11, 2024
1 parent 1b9d961 commit 3320160
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions system-contracts/contracts/EvmInterpreter.yul
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,9 @@ object "EVMInterpreter" {

// TODO: Handle dynamicGas for gas costs.
// dynamic_gas = 6 * minimum_word_size + memory_expansion_cost
let dynamicGas = 0
let staticGas = 30
let usedGas = add(staticGas, dynamicGas)
let dynamicGas := 0
let staticGas := 30
let usedGas := add(staticGas, dynamicGas)
evmGasLeft := chargeGas(evmGasLeft, usedGas)
}
case 0x55 { // OP_SSTORE
Expand Down

0 comments on commit 3320160

Please sign in to comment.