-
Notifications
You must be signed in to change notification settings - Fork 3
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
refactor(interchain-token-service): use contractstorage #246
base: refactor/interchain-token-storage
Are you sure you want to change the base?
refactor(interchain-token-service): use contractstorage #246
Conversation
env.storage().persistent().set(&key, &()); | ||
storage::set_trusted_chain_status(env, chain.clone()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To clear state, similar to Operators
: https://axelarnetwork.atlassian.net/browse/AXE-7428
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is it needed here? The value is ()
here instead of a bool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I understand– TrustChain is a status
8046b93
to
9df5d88
Compare
|
||
#[temporary] | ||
#[value(i128)] | ||
FlowIn { flow_key: FlowKey }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove the need for a wrapper key similar to message approval key
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Captured here: https://axelarnetwork.atlassian.net/browse/AXE-7358
#[value(BytesN<32>)] | ||
TokenManagerWasmHash, | ||
|
||
#[persistent] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should look into making this instance type. We have to see if it can fit within the instance storage limits (e.g. can we trust 10k chains and still be under the limit). If the gas cost impact isn't significant, it's not needed
env.storage().persistent().set(&key, &()); | ||
storage::set_trusted_chain_status(env, chain.clone()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is it needed here? The value is ()
here instead of a bool
9df5d88
to
5c0d1ac
Compare
AXE-7345