-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
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
VM: analysis pass should consider argument count when deploying a contract #2683
Comments
No remediation action is necessary. Attempts to
|
Transactions with the wrong number of arguments will be mined in 2.1 because we convert all analysis errors to runtime errors. |
Assigning to @obycode so this issue has an owner. Please feel free to re-assign. |
It was discovered in #2677 that the Clarity VM does not verify in the analysis pass that a function call contains the correct number of arguments. This is a consensus bug, so it cannot be fixed without a hard fork. We'll have to address it in Stacks 2.1, and it'll have to be gated. Specifically:
(at-block ..)
calls to Stacks 2.0 contracts from Stacks 2.1 contracts should fail analysis if the contract was tagged as buggy per the above.The text was updated successfully, but these errors were encountered: