-
Notifications
You must be signed in to change notification settings - Fork 721
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
Automated drep (Scenario 2) #5809
base: master
Are you sure you want to change the base?
Conversation
2258014
to
e3e536a
Compare
051f153
to
910bd8d
Compare
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, but left few comments.
@@ -515,6 +517,18 @@ defaultDRepSkeyFp n = "drep-keys" </> ("drep" <> show n) </> "drep.skey" | |||
defaultDRepKeyPair :: Int -> PaymentKeyPair | |||
defaultDRepKeyPair n = PaymentKeyPair (defaultDRepVkeyFp n) (defaultDRepSkeyFp n) | |||
|
|||
-- | The relative path to SPO key pairs in directories created by cardano-testnet | |||
defaultSPOKeys :: Int -> PoolNodeKeys | |||
defaultSPOKeys n = |
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.
Why the paths are different than those in Testnet.Start.Cardano
? Can we reuse it there?
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.
Oh, you are right, it turns out that cardanoTestnetDefault
returns the paths to most things. I hadn't realised, I think I should do another PR just refactoring those things afterwards.
...net/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedAbstainDRep.hs
Outdated
Show resolved
Hide resolved
...net/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedAbstainDRep.hs
Outdated
Show resolved
Hide resolved
...net/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedAbstainDRep.hs
Outdated
Show resolved
Hide resolved
...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
Outdated
Show resolved
Hide resolved
...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
Outdated
Show resolved
Hide resolved
...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
Outdated
Show resolved
Hide resolved
...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
Outdated
Show resolved
Hide resolved
...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
Outdated
Show resolved
Hide resolved
572cc7b
to
91327bf
Compare
8368f83
to
172d84e
Compare
172d84e
to
e4f6e9d
Compare
fb73a5f
to
00d1e04
Compare
...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
Outdated
Show resolved
Hide resolved
...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
Outdated
Show resolved
Hide resolved
a2537b8
to
5b62ae6
Compare
…stNoConfidenceProposal`
Co-authored-by: Mateusz Galazyn <[email protected]>
Co-authored-by: Mateusz Galazyn <[email protected]>
Co-authored-by: Mateusz Galazyn <[email protected]>
@palas> is this still relevant? |
This PR is stale because it has been open 45 days with no activity. |
cc @palas |
@smelc, sorry just saw your message. Yes, it is relevant, I have it parked because there is a problem with parameter update proposals, see these two commented out tests:
|
Description
This PR aims to address this issue: #5600
With that aim, it adds two scenarios for automated DReps. This PR contains the second scenario:
Scenario 2
yes
with all the DReps.yes
with all the DReps.no
to the no confidence proposal with all DReps.Checklist
See Runnings tests for more details
CHANGELOG.md
for affected package.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-8.10.7
andghc-9.2.7