-
Notifications
You must be signed in to change notification settings - Fork 15
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
Implement command "query proposals" #984
base: master
Are you sure you want to change the base?
Conversation
bf6f494
to
29eae83
Compare
pAllOrOnlyGovActionIds | ||
:: () | ||
=> ConwayEraOnwards era | ||
-> Parser (AllOrOnly (L.GovActionId (L.StandardCrypto))) |
Check warning
Code scanning / HLint
Redundant bracket Warning
Found:
(L.StandardCrypto)
Perhaps:
L.StandardCrypto
-> Parser (AllOrOnly (L.GovActionId (L.StandardCrypto))) | ||
pAllOrOnlyGovActionIds era = pAll <|> pOnly | ||
where | ||
pOnly = Only <$> (pGovActionIds era) |
Check notice
Code scanning / HLint
Redundant bracket Note
Found:
Only <$> (pGovActionIds era)
Perhaps:
Only <$> pGovActionIds era
:: forall era | ||
. () | ||
=> ConwayEraOnwards era | ||
-> Parser [L.GovActionId (L.StandardCrypto)] |
Check warning
Code scanning / HLint
Redundant bracket Warning
Found:
(L.StandardCrypto)
Perhaps:
L.StandardCrypto
pLedgerGovernanceAction = uncurry L.GovActionId <$> pairParser | ||
|
||
pairParser :: Parser (L.TxId L.StandardCrypto, L.GovActionIx) | ||
pairParser = (bimap toShelleyTxId L.GovActionIx) <$> pGovernanceActionId |
Check notice
Code scanning / HLint
Redundant bracket Note
Found:
(bimap toShelleyTxId L.GovActionIx) <$> pGovernanceActionId
Perhaps:
bimap toShelleyTxId L.GovActionIx <$> pGovernanceActionId
<$> pSocketPath envCli | ||
<*> pConsensusModeParams | ||
<*> pNetworkId envCli | ||
<*> (pAllOrOnlyGovActionIds w) |
Check notice
Code scanning / HLint
Redundant bracket Note
Found:
QueryCommitteeMembersStateCmdArgs w <$> (pQueryCommons era envCli)
Perhaps:
QueryCommitteeMembersStateCmdArgs w <$> pQueryCommons era envCli
Note
Requires IntersectMBO/cardano-api#684
Changelog
Context
Solves #903
How to trust this PR
Tested with
cardano-testnet
: https://github.com/IntersectMBO/cardano-node/commits/smelc/test-query-proposals/Checklist