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

Add --wasm to cargo contract verify #1539

Closed
cmichi opened this issue Mar 13, 2024 · 0 comments · Fixed by #1551
Closed

Add --wasm to cargo contract verify #1539

cmichi opened this issue Mar 13, 2024 · 0 comments · Fixed by #1551
Assignees
Labels
enhancement New feature or request

Comments

@cmichi
Copy link
Collaborator

cmichi commented Mar 13, 2024

The cargo contract verify requires passing a full *.contract bundle. This is unhandy if one has the source code of a contract and wants to verify if a deployed contract matches that bundle.

We should add a argument --wasm that allows passing a binary obtained via e.g. cargo contract info --contract … --binary > contract.wasm.

@cmichi cmichi added the enhancement New feature or request label Mar 13, 2024
@SkymanOne SkymanOne assigned SkymanOne and unassigned jubnzv Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants