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

Error: flag any of: flag accessed but not defined: instantiate-anyof-addresses #1078

Closed
Sandeep-Narahari opened this issue Nov 5, 2022 · 3 comments · Fixed by #1084
Closed
Labels
bug Something isn't working

Comments

@Sandeep-Narahari
Copy link

Sandeep-Narahari commented Nov 5, 2022

I am tried to deploy smartcontract on permissioned and permissionless chain using gov proposal but facing this issue wasmd tx gov submit-proposal wasm-store "artifacts/cw_nameservice.wasm" --title "testing" --description "Testing" --deposit "10000000000000stake" --run-as $(wasmd keys show -a key1) --from key1 --gas auto -y --chain-id wasm-01 -b block -o json --gas-adjustment 1.5

Note :Using local chain to deploy
Screenshot from 2022-11-05 18-23-38

@jhernandezb
Copy link
Contributor

jhernandezb commented Nov 5, 2022

This is because the chain you are trying to deploy is running on <=0.28, but your binary is either using main branch or 0.29, you will have to downgrade your binary.

@Sandeep-Narahari
Copy link
Author

Sandeep-Narahari commented Nov 5, 2022

Could you please explain , "This is because the chain you are trying to deploy is running on <=0.28, but your binary is either using main branch or 0.29, you will have to downgrade your binary." , you mean the contract which I am trying to deploy is supports <=0.28 or do you mean something else ? @jhernandezb
I have also tried to deploy on 0.28 also but getting "no handler exists " error
Screenshot from 2022-11-06 00-54-17.

@ravaliGangasani
Copy link
Contributor

added flag in the gov_tx file. That worked for me for wasm v0.29.1.

@alpe alpe added the bug Something isn't working label Nov 8, 2022
@alpe alpe closed this as completed in #1084 Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants