-
Notifications
You must be signed in to change notification settings - Fork 720
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
Test to assert mainnet configuration is valid #3236
Test to assert mainnet configuration is valid #3236
Conversation
When the mainnet configuration has a bad hash, the test fails in the following way:
|
import qualified System.Directory as IO | ||
|
||
hprop_configMainnet :: Property | ||
hprop_configMainnet = H.propertyOnce $ do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm...this test would probably be better placed in cardano-cli
as we aren't starting a testnet to run it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just squash the commits before merging 👍
4748b02
to
02851fb
Compare
02851fb
to
b9f7ce6
Compare
bors merge |
Build succeeded: |
Ensures that
configuration/cardano/mainnet-config.json
is always valid.