Open 0x6980 opened 3 weeks ago
In function sload(evm) of content/07a_opcodes/10_storage.ipynb
sload(evm)
content/07a_opcodes/10_storage.ipynb
def sload(evm): key = evm.stack.pop().value warm, value = evm.storage.load(key) evm.stack.push(value) evm.gas_dec(2100) # 100 if warm evm.pc += 1
key = evm.stack.pop().value should be key = evm.stack.pop()
key = evm.stack.pop().value
key = evm.stack.pop()
same problem in content/07a_opcodes/17_transient file in tload function.
content/07a_opcodes/17_transient
tload
In function
sload(evm)
ofcontent/07a_opcodes/10_storage.ipynb
key = evm.stack.pop().value
should bekey = evm.stack.pop()
same problem in
content/07a_opcodes/17_transient
file intload
function.