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

refactor(v7): get consumer genesis from provider chain and transform it #1093

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

fastfadingviolets
Copy link
Contributor

Summary

Instead of building the ccv genesis for the consumer, we can fetch it from the provider chain. This is preferred, as it guarantees that it works across different consumer/provider versions of ICS

Copy link

vercel bot commented Apr 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
interchaintest-docs ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2024 5:16pm

This is preferred to building the ccvgenesis ourselves as it guarantees
that it works across different consumer/provider versions of ICS
examples/ibc/ics_test.go Show resolved Hide resolved
chain/cosmos/chain_node.go Show resolved Hide resolved
chain/cosmos/cosmos_chain.go Show resolved Hide resolved
chain/cosmos/cosmos_chain.go Show resolved Hide resolved
@Reecepbcups
Copy link
Member

This may help me with some of my ICS v5 integration. Will play around with it there as well to understand it better.

@Reecepbcups Reecepbcups changed the title fix(v7): get consumer genesis from provider chain and transform it refactor(v7): get consumer genesis from provider chain and transform it Apr 24, 2024
Reecepbcups added a commit that referenced this pull request Apr 25, 2024
@Reecepbcups
Copy link
Member

Reecepbcups commented Apr 25, 2024

This fixed an issue with an older version of neutron I was using originally on the ICS v5 WIP PR. Great work! really appreciated a ton here

This will get backported to main in that PR as well (ref in the commit above)

@Reecepbcups Reecepbcups merged commit 2d9495c into strangelove-ventures:v7 Apr 25, 2024
13 checks passed
@fastfadingviolets fastfadingviolets deleted the fix/v7-ccvgenesis branch April 25, 2024 13:31
Reecepbcups added a commit that referenced this pull request May 6, 2024
* init ICS integration

* feat: ics to local-ic - #989

* IBC not happy

* latest ICS v5, impl #1093

* working ics test

* lint

* fix: `ConsumerAdditionProposalJSON` use trusting period hardcode

* ICS override config versions

* minor nits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants