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: build local-ic configs #142

Merged
merged 3 commits into from
May 25, 2024
Merged

Conversation

Reecepbcups
Copy link
Member

ref: #112

Summary

It is far too hard to build ICS chains, IBC, and standard for local-ic with just text replace. This adds a chain config builder to easily generate depending on the type of network.

It reduces to just make testnet where normal chains will be IBC connected, and others will be ICS w/ the Hub, Saga, or Ethos once integration happens

testnet: setup-testnet
spawn local-ic start ibc-testnet

testnet-basic: setup-testnet
spawn local-ic start testnet
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no longer doping a basic, basic is the IBC or ICS based testnet only. sh-testnet for basic

Comment on lines +23 to +26
CosmosHubProvider = localictypes.
ChainCosmosHub("localcosmos-1").
SetDockerImage(ibc.NewDockerImage("", "v15.1.0", "1025:1025")).
SetDefaultSDKv47Genesis(2)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ethos, Saga in the future here

@Reecepbcups Reecepbcups marked this pull request as ready for review May 25, 2024 23:56
@Reecepbcups Reecepbcups merged commit c697428 into release/v0.50 May 25, 2024
8 checks passed
@Reecepbcups Reecepbcups deleted the reece/localic-builder branch June 4, 2024 15:34
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.

1 participant