-
Notifications
You must be signed in to change notification settings - Fork 157
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
JSON instance for AlonzoGenesis #2627
Conversation
taken from cardano-node closes #2452
parseJSON = Aeson.withObject "Alonzo Genesis" $ \o -> do | ||
coinsPerUTxOWord <- | ||
o .: "lovelacePerUTxOWord" | ||
<|> o .: "adaPerUTxOWord" --TODO: deprecate |
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.
@Jimbo4350 - should I remove adaPerUTxOWord
?
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.
Yeah it looks like we can remove this, there is no trace of it in the node repo.
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!
parseJSON = Aeson.withObject "Alonzo Genesis" $ \o -> do | ||
coinsPerUTxOWord <- | ||
o .: "lovelacePerUTxOWord" | ||
<|> o .: "adaPerUTxOWord" --TODO: deprecate |
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.
Yeah it looks like we can remove this, there is no trace of it in the node repo.
oh embarrassing, I forgot to smash the commits 🤦 |
taken from cardano-node
closes #2452