Skip to content
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

Accept wasm data from state-sync as valid #1467

Closed
alpe opened this issue Jun 28, 2023 · 2 comments · Fixed by #1471
Closed

Accept wasm data from state-sync as valid #1467

alpe opened this issue Jun 28, 2023 · 2 comments · Fixed by #1471
Assignees
Milestone

Comments

@alpe
Copy link
Member

alpe commented Jun 28, 2023

The max code size limit must not prevent a legacy contract to be stored when it was accepted before:
Follow up on https://twitter.com/pwnfoo/status/1674052643214307329

@webmaster128
Copy link
Member

Also from CosmWasm 1.3 onwards there will be VM.StoreCode and Vm.StoreCodeUnchecked (new names for the deprecated VM.Create) in order to avoid the same problem for checks in the CosmWasm static validation.

@alpe alpe added this to the v0.41.0 milestone Jun 28, 2023
@pwnfoo
Copy link

pwnfoo commented Jun 28, 2023

Thank you for the fast response. Let me know if you need any additional info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants