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

chore: autodetect source from genesis file #78

Merged
merged 1 commit into from
Oct 25, 2024
Merged

Conversation

troykessler
Copy link
Member

The --source flag is a convinience flag so the block pool id and the snapshot pool id don't have to be specified manually. Since the source flag is either the name or the chain-id of the source we can automatically infer it from the genesis file which can be obtained if the home is known which is always the case. From now on the --source flag will not be needed anymore, however it still can be overriden by specifying --source=<your_source>

@troykessler troykessler self-assigned this Oct 25, 2024
@troykessler troykessler changed the title chore: autodetect version from genesis file chore: autodetect source from genesis file Oct 25, 2024
@troykessler troykessler merged commit d060b5a into main Oct 25, 2024
@troykessler troykessler deleted the chore/detect-source branch December 5, 2024 12:08
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