vyperlang / vyper

Pythonic Smart Contract Language for the EVM
https://vyperlang.org
Other
4.81k stars 788 forks source link

fix[venom]: fix list of volatile instructions #4065

Closed charles-cooper closed 1 month ago

charles-cooper commented 1 month ago

What I did

How I did it

How to verify it

Commit message

`create` and `create2` are volatile instructions that were missing. the
other ones were already handled by the case for `output is None` in
`removed_unused_variables`.

misc:
- rename `volatile` to `is_volatile` for uniformity
- use `is_bb_terminator` instead of `in BB_TERMINATORS`

Description for the changelog

Cute Animal Picture

![Put a link to a cute animal picture inside the parenthesis-->]()