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
#4487 blocks the bug described in GHSA-4w26-8p97-f4jp. however, we should fix the code generator so that it issues proper bounds checks.
example of such valid contract:
a: public(DynArray[uint256, 2]) interface Foo: def foo() -> uint256: view @external def foo() -> uint256: return self.a[1] @external def entry() -> DynArray[uint256, 2]: self.a = [1, 1] # panics due to staticcall self.a[1] += staticcall Foo(self).foo() return self.a
The text was updated successfully, but these errors were encountered:
No branches or pull requests
#4487 blocks the bug described in GHSA-4w26-8p97-f4jp. however, we should fix the code generator so that it issues proper bounds checks.
example of such valid contract:
The text was updated successfully, but these errors were encountered: