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

Configuration/CLI preparation for HFC #188

Merged
merged 4 commits into from
Jul 16, 2020
Merged

Configuration/CLI preparation for HFC #188

merged 4 commits into from
Jul 16, 2020

Conversation

erikd
Copy link
Contributor

@erikd erikd commented Jul 16, 2020

No description provided.

@rhyslbw
Copy link
Contributor

rhyslbw commented Jul 16, 2020

Might want to consider adding SocketPath to close #85 in this change too

The HFC/Cardano mode requires both a Byron genesis and a Shelley
genesis files, so move the specification of these to the db-sync
config file.
The Byron mainnet config has been tested, but Byron testnet has not.

Also delete config for a component that has been moved out of this
repo some time ago.
@erikd
Copy link
Contributor Author

erikd commented Jul 16, 2020

I personally like the socket path being explicit as I often switch around the path, so having to edit a file would be a pain.

Obviously the right solution would be to have it in the config file and allow an optional CLI override, but that is significantly more work (ie testing) than I have time and patience for right now.

…anges.

BREAKING CHANGE: `--genesis-file` is no longer a CLI argument in the nixos
service. The Docker image no longer establishes a pattern of conventional
mount location for provided configuration and IPC socket, instead mount it
where you wish and pass `--config` and `--socket-path` as the CMD.
`--schema-dir` is set internally. This does not impact the mode of
operation when selecting the IOHK-managed configuration via NETWORK env.
@erikd erikd merged commit 1185967 into master Jul 16, 2020
@iohk-bors iohk-bors bot deleted the erikd/hfc-config branch July 16, 2020 07:49
Copy link
Contributor

@craigem craigem left a comment

Choose a reason for hiding this comment

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

Looks good.

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