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

--estimate-gas flag causes cargo stylus to fail #76

Closed
emnul opened this issue Aug 15, 2024 · 0 comments · Fixed by #80
Closed

--estimate-gas flag causes cargo stylus to fail #76

emnul opened this issue Aug 15, 2024 · 0 comments · Fixed by #80

Comments

@emnul
Copy link
Contributor

emnul commented Aug 15, 2024

Trying to use the following command cargo stylus deploy --private-key-path=pk.txt --estimate-gas causes program to fail with

Caused by:
    did not estimate correctly: (code: 3, message: execution reverted: error ProgramNotWasm(), data: Some(String("0x27f38212")))

Location:
    */cargo-stylus-check-0.4.2/src/deploy.rs:174:26

Seems to work fine when I point the RPC to a local testnet node

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.

1 participant