Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
chore: cosmos interchain service cleanup #9810
chore: cosmos interchain service cleanup #9810
Changes from all commits
8cad5e3
1989138
3dc6bb6
d4101a4
00fe7ed
d80a57c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
yay for simpler. what happens if we need to provide new powers?
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.
I'm not entirely certain and figured it'd be easiest to get feedback in the PR.
I based
reserved
on what we did forlocalchain.js
. This would indicate we can only add more powers here.A more recent read of #7337 leads me to believe StateShape only matters if we specify
opts.stateShape
for the 5th arg? We can removereserved
and rely on...powers
in the initState function for new powers? If not, it'd be great to understand better.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.
no; you can't add new properties, even without stateShape
reserved
lets us put a new record there, or a store likepowers
was, should we need one.Also, lacking that, there's the "side table" approach used to add non-vbank asset support to the smart wallet in #8071.
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.
Thanks for clarifying @dckc . I added 9e16702 which spreads
powers
afterreserved
and definesreserved
onOrchestrationPowers
. This way, we can define extra powers viapowers.reserved
if needed.