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

Interchain Security #385

Merged
merged 8 commits into from
Feb 8, 2023
Merged

Interchain Security #385

merged 8 commits into from
Feb 8, 2023

Conversation

agouin
Copy link
Member

@agouin agouin commented Jan 30, 2023

Introduces interchain.AddProviderConsumerLink to declare a provider/consumer relationship that should be established during interchain.Build

ic := ibctest.NewInterchain().
	AddChain(provider).
	AddChain(consumer).
	AddRelayer(r, "relayer").
	AddProviderConsumerLink(ibctest.ProviderConsumerLink{
		Provider: provider,
		Consumer: consumer,
		Relayer:  r,
		Path:     ibcPath,
	})

This should be used in place of AddLink for IBC of ICS linked chains, as it will start the chains and establish both the provider/consumer port channels and the transfer channels between the two chains.

Adds StartProvider and StartConsumer methods to *cosmos.CosmosChain and wires them into the ChainSet Start method for starting the provider(s) first, then any consumers.

@agouin agouin marked this pull request as ready for review February 7, 2023 19:30
@agouin agouin requested a review from a team as a code owner February 7, 2023 19:30
@agouin agouin requested a review from DavidNix February 7, 2023 19:30
@agouin agouin merged commit 25d7ae3 into v3 Feb 8, 2023
@agouin agouin deleted the andrew/ics_v3 branch February 8, 2023 00:20
boojamya added a commit that referenced this pull request Apr 4, 2023
boojamya added a commit that referenced this pull request Apr 10, 2023
…nch (#477)

* Revert "Interchain Security (#385)"

This reverts commit 25d7ae3.

* json import

* add back ModifyGensisProposalTime
boojamya added a commit that referenced this pull request Jun 26, 2023
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.

3 participants