From 3320160c48d0f673a01b29be809a981cec8a74d1 Mon Sep 17 00:00:00 2001 From: fborello-lambda Date: Thu, 11 Apr 2024 09:27:16 -0300 Subject: [PATCH] fix(keccak-opcode): syntax error --- system-contracts/contracts/EvmInterpreter.yul | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/system-contracts/contracts/EvmInterpreter.yul b/system-contracts/contracts/EvmInterpreter.yul index f9d12e5b9..1c291891c 100644 --- a/system-contracts/contracts/EvmInterpreter.yul +++ b/system-contracts/contracts/EvmInterpreter.yul @@ -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