Skip to content

Commit

Permalink
add balance fence
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Jun 4, 2024
1 parent 7065892 commit 2dad58b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vyper/venom/passes/dft.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from vyper.venom.function import IRFunction
from vyper.venom.passes.base_pass import IRPass

_ALL = ("storage", "transient", "memory", "immutables")
_ALL = ("storage", "transient", "memory", "immutables", "balance")

writes = {
"sstore": "storage",
Expand Down Expand Up @@ -37,6 +37,8 @@
"call": _ALL,
"delegatecall": _ALL,
"staticcall": _ALL,
"balance": "balance",
"selfbalance": "balance",
"log": "memory",
"revert": "memory",
"return": "memory",
Expand Down

0 comments on commit 2dad58b

Please sign in to comment.