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

Compile remote chain repository via CLI #111

Open
rnbguy opened this issue Aug 29, 2022 · 1 comment · May be fixed by #112
Open

Compile remote chain repository via CLI #111

rnbguy opened this issue Aug 29, 2022 · 1 comment · May be fixed by #112
Assignees
Labels
enhancement New feature or request

Comments

@rnbguy
Copy link
Member

rnbguy commented Aug 29, 2022

Currently, one has to provide the chain binary path manually to set up the chain.

This creates extra layers of user interaction to set up an Atomkraft project.

Something as following would be appropriate.

atomkraft chain remote gh:cosmos/cosmos-sdk --ref "v0.45.8"
# clones the repository in `.atomkraft/src/cosmos-sdk`.
# compiles the binary and copy to `.atomkraft/bin/simd`.
# updates `chain.toml` accordingly

Also, this should ease writing E2E tests.

@rnbguy rnbguy added the enhancement New feature or request label Aug 29, 2022
@rnbguy rnbguy self-assigned this Aug 29, 2022
@rnbguy rnbguy changed the title Setup remote chain repository via CLI Compile remote chain repository via CLI Aug 29, 2022
@rnbguy rnbguy linked a pull request Aug 29, 2022 that will close this issue
@rnbguy
Copy link
Member Author

rnbguy commented Oct 24, 2022

Reflecting on this. This can break on some unknown chain repo.

But we can whitelist some chain repo at particular commits/tags for easier setup.

atomkraft chain setup cosmos-sdk/v0.45.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant