Skip to content

Commit

Permalink
Merge pull request #15 from itfat/main
Browse files Browse the repository at this point in the history
fix in 07_environment.html
  • Loading branch information
shafu0x authored Aug 17, 2024
2 parents 61c6a30 + 419b58f commit 3605456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/07a_opcodes/07_environment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"outputs": [],
"source": [
"def balance(evm):\n",
" address = cpu.stack.pop()\n",
" address = evm.stack.pop()\n",
" evm.stack.push(99999999999)\n",
"\n",
" evm.pc += 1\n",
Expand Down Expand Up @@ -249,7 +249,7 @@
"outputs": [],
"source": [
"def calldatacopy(evm):\n",
" destOffset = cpu.stack.pop()\n",
" destOffset = evm.stack.pop()\n",
" offset = evm.stack.pop()\n",
" size = evm.stack.pop()\n",
"\n",
Expand Down

0 comments on commit 3605456

Please sign in to comment.