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

get_storage returns empty value for valid key #147

Open
extraymond opened this issue Aug 26, 2022 · 0 comments
Open

get_storage returns empty value for valid key #147

extraymond opened this issue Aug 26, 2022 · 0 comments

Comments

@extraymond
Copy link

extraymond commented Aug 26, 2022

When using substrate-contracts-node, when try to read the raw storage value using pallet_contracts::rpc::get_storage(addr, key), it always returns None, compared to using my custom runtime, it reflected the results correctly.

I tried two different routes just to be sure:

  1. using polkadot.js/apps and query the first layout item for a deployed contract with get_strage
  2. using subxt to call rpc directly

Both cases returns incorrect value for substrate-contracts-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

No branches or pull requests

1 participant