We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When we instantiate a contract, we just store the code id, indexed by it's address.
In x/wasm, we store quite a bit more: https://github.com/CosmWasm/wasmd/blob/master/proto/cosmwasm/wasm/v1/types.proto#L68-L84
x/wasm
I think minimally we should add:
pub struct ContractData { pub code_id: u64, pub creator: Addr, pub admin: Option<Addr>, pub label: String, }
Maybe add some created field with the block height set?
created
We do not need to store this in protobuf, but the info should be available to query in the tests. (And we should enforce some sanity checks there)
The text was updated successfully, but these errors were encountered:
Good point. I fixed the link to wasmd
Sorry, something went wrong.
Closed by #360
hashedone
No branches or pull requests
When we instantiate a contract, we just store the code id, indexed by it's address.
In
x/wasm
, we store quite a bit more: https://github.com/CosmWasm/wasmd/blob/master/proto/cosmwasm/wasm/v1/types.proto#L68-L84I think minimally we should add:
Maybe add some
created
field with the block height set?We do not need to store this in protobuf, but the info should be available to query in the tests. (And we should enforce some sanity checks there)
The text was updated successfully, but these errors were encountered: