Skip to content

chore: autodetect source from genesis file#78

Merged
troykessler merged 1 commit intomainfrom
chore/detect-source
Oct 25, 2024
Merged

chore: autodetect source from genesis file#78
troykessler merged 1 commit intomainfrom
chore/detect-source

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