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

entropy-test-cli: NoProgramSet error when registering with a program file which is already stored: #1087

Open
ameba23 opened this issue Oct 1, 2024 · 0 comments

Comments

@ameba23
Copy link
Contributor

ameba23 commented Oct 1, 2024

When giving a program by filename when registering with the test-cli, if the program is already stored, i get the Registry::NoProgramSet error:

$ cargo run --release -- register -m //Charlie ../testing-utils/example_barebones_with_auxilary.wasm 0
    Finished `release` profile [optimized] target(s) in 0.51s
     Running `/home/turnip/radish/src/entropy/entropy-core/target/release/entropy-test-cli register -m //Charlie ../testing-utils/example_barebones_with_auxilary.wasm 0`
Program account: 5FLSigC9HGRKVhB9FiEo4Y3koPsNmBmLJbpXg2mp1hXcS59Y
Program is already stored - using existing one
Failed!
Error: Substrate: Generic Substrate error: Runtime error: Pallet error: Registry::NoProgramSet

Caused by:
    0: Generic Substrate error: Runtime error: Pallet error: Registry::NoProgramSet
    1: Runtime error: Pallet error: Registry::NoProgramSet
    2: Pallet error: Registry::NoProgramSet

The desired behaviour is that i am allowed to register using the existing program hash

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

No branches or pull requests

1 participant