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

Revisit logic for IBC gov updates #364

Open
alpe opened this issue May 9, 2022 · 9 comments
Open

Revisit logic for IBC gov updates #364

alpe opened this issue May 9, 2022 · 9 comments
Assignees
Labels
blocked M Medium task, 1-3 days work state_breaking
Milestone

Comments

@alpe
Copy link
Contributor

alpe commented May 9, 2022

There have been refactorings in this area and we need to test this work with V3

  • IBCClientUpdate
  • UpgradedClientState

See ExecuteGovProposal unpackInterfaces

See https://github.com/confio/tgrade/blob/v1.0.1/x/twasm/contract/incoming_msgs.go#L61

@alpe alpe added this to the Tgrade - "Mainnet" milestone May 9, 2022
@alpe alpe added the S Small, <1 day work label May 11, 2022
@daniellarita
Copy link

@alpe I see this ticket doesn't have an epic. Is this one necessary for mainnet mvp?

@alpe
Copy link
Contributor Author

alpe commented May 31, 2022

yes, we need to address the changes that came with v3 or we won't be able to do ibc client upgrade (for the rescue)

// Deprecated: UpgradedClientState field has been deprecated. IBC upgrade logic has been
// moved to the IBC module in the sub module 02-client.
// If this field is not empty, an error will be thrown.
google.protobuf.Any upgraded_client_state = 5
[deprecated = true, (gogoproto.moretags) = "yaml:"upgraded_client_state""];

@alpe alpe self-assigned this Jun 1, 2022
@alpe
Copy link
Contributor Author

alpe commented Jun 2, 2022

Our version is incompatible. I have opened for further discussions

When the contract is modified, the binding(s) in tgrade needs to be fixed, too.

@alpe alpe added M Medium task, 1-3 days work and removed S Small, <1 day work labels Jun 2, 2022
@alpe alpe removed their assignment Jun 2, 2022
@ethanfrey
Copy link
Contributor

Very good eye @alpe
Really hard to keep compatibility with multiple versions.

For tgrade-specific features (eg. these proposal types), let's consider ibcv3 as minimal supported version. If they change it again in ibcv4 or such, we will have to deal with migrations, but not til then.

@alpe alpe added the blocked label Jun 3, 2022
@daniellarita
Copy link

We can add this as a top priority to the first post-launch release. Martin doesn't expect us to have IBC up and running on day one as there is nobody using the chain to begin with (until the first businesses are onboard)

@alpe
Copy link
Contributor Author

alpe commented Jul 7, 2022

Without an existing gov proposal on chain, this may be done as api breaking release only that needs to be rolled out by the validators before using it.

@alpe
Copy link
Contributor Author

alpe commented Aug 26, 2022

We don't have any first class CLI gov support yet. Does it make sense to add this now or just run via wasm execute?

@pinosu
Copy link
Contributor

pinosu commented Sep 16, 2022

We don't have any first class CLI gov support yet. Does it make sense to add this now or just run via wasm execute?

@alpe according to your comment and since the contract side of this task is not implemented, I was thinking to remove this from v3 Milestone. What do you think?

@alpe
Copy link
Contributor Author

alpe commented Sep 23, 2022

I was thinking to remove this from v3 Milestone.

Please check prioritizations with @daniellarita . IMHO a wasmd v0.29 release is around the corner and would be good to have this on mainnet sooner than later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked M Medium task, 1-3 days work state_breaking
Projects
None yet
Development

No branches or pull requests

4 participants