We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pop
vyper --version
0.4.0rc5+commit.98370f50
The assert reason is supposed to be a "constant" function. Function calls and external calls are blocked. However, pops are allowed.
This compiles successfully:
x: DynArray[uint256, 2] @deploy def __init__(): self.x = [1, 1] @external def bar(): b: bool = False assert b, uint2str(self.x.pop())
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version Information
vyper --version
OR linkable commit hash vyperlang/vyper@commitish):0.4.0rc5+commit.98370f50
Issue description
The assert reason is supposed to be a "constant" function. Function calls and external calls are blocked. However,
pop
s are allowed.POC
This compiles successfully:
The text was updated successfully, but these errors were encountered: