possibly confusing semantics for self.codesize
in constructor
#2750
Labels
documentation
Documentation
self.codesize
in constructor
#2750
Version Information
vyper --version
): 63c7677python --version
): 3.8.10What's your issue about?
self.codesize
issues a CODESIZE instruction but you can convince vyper to issue an EXTCODESIZE instruction with the below code. these have differing semantics in deploy code (h/t https://twitter.com/sw0nt/status/1510720576054251520).How can it be fixed?
not sure if we need to change the behavior but we should at least note it in the docs because the behavior is not obvious.
The text was updated successfully, but these errors were encountered: