substrate-contracts-node
substrate-contracts-node copied to clipboard
get_storage returns empty value for valid key
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:
- using polkadot.js/apps and query the first layout item for a deployed contract with get_strage
- using subxt to call rpc directly
Both cases returns incorrect value for substrate-contracts-node.