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

Validate wasm in init_chain #1902

Merged
merged 3 commits into from
Sep 25, 2023
Merged

Validate wasm in init_chain #1902

merged 3 commits into from
Sep 25, 2023

Conversation

grarco
Copy link
Contributor

@grarco grarco commented Sep 18, 2023

Describe your changes

Closes #1883.

Validate wasm codes in init_chain before writing them to storage.
Also add a client utils subcommand to validate a wasm file (useful in case of a governance proposal).

Indicate on which release or other PRs this topic is based on

v0.22.0

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

grarco added a commit that referenced this pull request Sep 18, 2023
@grarco grarco marked this pull request as ready for review September 18, 2023 14:44
@grarco grarco mentioned this pull request Sep 21, 2023
grarco added a commit that referenced this pull request Sep 21, 2023
sug0 added a commit that referenced this pull request Sep 21, 2023
@sug0 sug0 mentioned this pull request Sep 21, 2023
Fraccaman added a commit that referenced this pull request Sep 25, 2023
* origin/grarco/validate-wasm:
  changelog: add #1902
  Adds a client utility to validate wasm code
  Validate wasm code in `init_chain`
@brentstone brentstone merged commit f1b58b5 into main Sep 25, 2023
12 checks passed
@brentstone brentstone deleted the grarco/validate-wasm branch September 25, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validate wasm at storage inclusion
3 participants