Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[PIE-1809] Clean up genesis parsing #1809

Merged
merged 11 commits into from
Aug 1, 2019

Conversation

mbaxter
Copy link
Contributor

@mbaxter mbaxter commented Jul 31, 2019

PR description

Remove vertx dependency from tech.pegasys.pantheon.config package. Instead of using vertx's json parsing utilities, just use the underlying jackson parsing library.

@mbaxter mbaxter marked this pull request as ready for review July 31, 2019 16:33
"genesis.json",
true,
asList("key.pub", "priv.test"));
@Test
Copy link
Contributor

@shemnon shemnon Aug 1, 2019

Choose a reason for hiding this comment

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

Did this sneak in from another changelist?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, I made the validation stricter here, so added a test for that, and reworked this pre-existing test to use assertThatThrownBy rather than the @Test(expected = ...) annotation.

This subcommand was using vertx libraries because it was interacting with JsonGenesisConfigOptions.

@mbaxter mbaxter merged commit a024fa4 into PegaSysEng:master Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants