Skip to content
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

Conway HF update (cardano-node 8.9.0) #830

Merged
merged 7 commits into from
Mar 22, 2024
Merged

Conway HF update (cardano-node 8.9.0) #830

merged 7 commits into from
Mar 22, 2024

Conversation

nhenin
Copy link
Contributor

@nhenin nhenin commented Feb 15, 2024

No description provided.

@nhenin nhenin self-assigned this Feb 15, 2024
@nhenin nhenin marked this pull request as draft February 15, 2024 15:46
@nhenin nhenin changed the title Nhenin/sanchonet Conway HF Prep Feb 15, 2024
@nhenin nhenin added this to the v1.0.0 Release milestone Mar 14, 2024
@nhenin nhenin force-pushed the nhenin/sanchonet branch 2 times, most recently from 035b21c to ab8f22e Compare March 15, 2024 09:46
@nhenin nhenin marked this pull request as ready for review March 15, 2024 09:54
@nhenin nhenin marked this pull request as draft March 15, 2024 11:37
@nhenin nhenin added the No Changelog Required Turns of the check-changelog check label Mar 15, 2024
@nhenin nhenin force-pushed the nhenin/sanchonet branch 5 times, most recently from 31357fa to ba9fdf9 Compare March 18, 2024 07:23
@zeme-wana zeme-wana force-pushed the nhenin/sanchonet branch 2 times, most recently from 9b29bc5 to e941cfc Compare March 19, 2024 13:38
@nhenin nhenin force-pushed the nhenin/sanchonet branch 2 times, most recently from 579affc to 45be3e6 Compare March 20, 2024 06:33
@nhenin nhenin marked this pull request as ready for review March 20, 2024 06:34
@nhenin nhenin removed the No Changelog Required Turns of the check-changelog check label Mar 20, 2024
@nhenin nhenin requested a review from paluh March 20, 2024 06:34
@nhenin nhenin requested a review from bwbush March 20, 2024 08:16
@nhenin nhenin changed the title Conway HF Prep Conway HF update (cardano-node 8.9.0) Mar 20, 2024
@@ -729,7 +729,7 @@ whenNonEmptySpec = parallel $ describe "Non-Empty When contracts" $ aroundAll se
emptyMarloweTransactionMetadata
[NormalInput $ IDeposit address address ada 1_000_000]
SubmitFailed msg <- expectLeft "Expected a failure" =<< submit' wallet era txBody
liftIO $ msg `shouldContain` "MissingRequiredSigners"
liftIO $ msg `shouldContain` "MissingVKeyWitnessesUTXOW"
it "should accept a Role2 deposit from wallet 2" $ runAsIntegration \(ContractCreated _ ContractCreatedInEra{..}) -> do
Copy link
Contributor Author

Choose a reason for hiding this comment

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

MissingRequiredSigners doesn't exist anymore (because it is redundant with MissingVKeyWitnessesUTXOW) and some tests were expecting this particular exception :
- https://github.com/IntersectMBO/cardano-ledger/blob/0e115dd5a38484da1ac2d72559aff8579b887970/eras/alonzo/impl/src/Cardano/Ledger/Alonzo/Rules/Utxow.hs#L118
- IntersectMBO/cardano-ledger#3972

@@ -345,7 +346,7 @@ protocolTestnet =
, protocolParamStakeAddressDeposit = C.Lovelace 2000000
, protocolParamStakePoolDeposit = C.Lovelace 500000000
, protocolParamMinPoolCost = C.Lovelace 340000000
, protocolParamPoolRetireMaxEpoch = C.EpochNo 18
, protocolParamPoolRetireMaxEpoch = CI.EpochInterval 18
Copy link
Collaborator

Choose a reason for hiding this comment

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

All of these parameters should be upgraded to Conway sometime before the hard fork.

@@ -1772,13 +1773,12 @@ protocolTestnet =
, protocolParamStakeAddressDeposit = Lovelace 2000000
, protocolParamStakePoolDeposit = Lovelace 500000000
, protocolParamMinPoolCost = Lovelace 340000000
, protocolParamPoolRetireMaxEpoch = EpochNo 18
, protocolParamPoolRetireMaxEpoch = EpochInterval 18
Copy link
Collaborator

Choose a reason for hiding this comment

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

Upgrade all of these to Conway values before the hard fork.

Copy link
Collaborator

@bwbush bwbush left a comment

Choose a reason for hiding this comment

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

The changes look great. Excellent work!

This weekend I'll try deploying this locally and running all of the benchmarks.

@nhenin nhenin merged commit 73c62eb into main Mar 22, 2024
6 checks passed
@nhenin nhenin deleted the nhenin/sanchonet branch March 22, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants