Skip to content

Commit

Permalink
[ADP-3367] Run conway integration tests against cardano-node 8.11.0-s…
Browse files Browse the repository at this point in the history
…ancho (#4608)

- [x] remove all constraints from cabal files
- [x] bump hackage and CHaP state
- [x] fully update the flake

ADP-3367
  • Loading branch information
paolino authored Jun 28, 2024
2 parents 3079055 + eda520b commit 8ac2b45
Show file tree
Hide file tree
Showing 664 changed files with 3,370 additions and 318 deletions.
48 changes: 6 additions & 42 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ allow-newer:
, libsystemd-journal:base
, cardano-addresses-cli:mtl
, servant-openapi3:*
, cardano-ledger-alonzo-test:base, plutus-ledger-api
, cardano-crypto-class:vector
, plutus-core:cardano-crypto-class


constraints:
Expand All @@ -198,11 +201,9 @@ constraints:
-- choose versions that work with base >= 4.12
, hjsonpointer >= 1.5.0
, hjsonschema >= 1.10.0
, Cabal >= 3.4.0.0
, async-timer >= 0.2.0.0
, unliftio-core >= 0.2.0.1
, generic-arbitrary >= 0.2.2
, iohk-monitoring >= 0.1.11

-- lower versions of katip won't build with the Win32-2.12.0.1
-- which is shipped with the ghc-9.2.8
Expand All @@ -213,48 +214,11 @@ constraints:
, bech32 == 1.1.3

-- Cardano Node dependencies:
, any.cardano-api ==8.39.3.0
, any.cardano-binary ==1.7.1.0
, any.cardano-cli ==8.20.3.0
, any.cardano-crypto ==1.1.2
, any.cardano-crypto-class ==2.1.4.0
, any.cardano-crypto-praos ==2.1.2.0
, any.cardano-crypto-wrapper ==1.5.1.1
, any.cardano-data ==1.2.1.0
, any.cardano-ledger-allegra ==1.3.0.0
, any.cardano-ledger-alonzo ==1.6.0.0
, any.cardano-ledger-api ==1.8.0.0
, any.cardano-ledger-babbage ==1.6.0.0
, any.cardano-ledger-binary ==1.3.0.0
, any.cardano-ledger-byron ==1.0.0.4
, any.cardano-ledger-conway ==1.12.0.0
, any.cardano-ledger-core ==1.10.0.0
, any.cardano-ledger-mary ==1.5.0.0
, any.cardano-ledger-shelley ==1.9.0.0
, cardano-node +systemd -unexpected_thunks
, any.cardano-ping ==0.2.0.13
, any.cardano-prelude ==0.1.0.4
, any.cardano-protocol-tpraos ==1.1.0.0
, any.cardano-slotting ==0.1.2.0
, any.cardano-strict-containers ==0.1.3.0
, any.ouroboros-consensus ==0.16.0.0
, any.ouroboros-consensus-cardano ==0.14.1.0
, any.ouroboros-consensus-diffusion ==0.14.0.0
, any.ouroboros-consensus-protocol ==0.7.0.0
, any.ouroboros-network ==0.15.0.0
, any.ouroboros-network-api ==0.7.1.0
, any.ouroboros-network-framework ==0.13.0.0
, any.ouroboros-network-mock ==0.1.1.1
, any.ouroboros-network-protocols ==0.8.1.0
, any.ouroboros-network-testing ==0.6.0.1
, any.plutus-core ==1.21.0.0
, any.plutus-ledger-api ==1.21.0.0
, plutus-scripts-bench -defer-plugin-errors -unexpected_thunks
, any.plutus-tx ==1.21.0.0
, any.io-classes ==1.4.1.0
, io-classes -asserts
, any.io-classes-mtl ==0.1.1.0


, optparse-applicative-fork >= 0.18.1
, ouroboros-network ^>= 0.16

-- TH Name shadowing warnings need to be addressed when bumping to 2.13.3.5
, persistent ^>= 2.14.6.0
Expand Down
6 changes: 4 additions & 2 deletions configs/cardano/sanchonet/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,23 @@
"ByronGenesisFile": "byron-genesis.json",
"ByronGenesisHash": "785eb88427e136378a15b0a152a8bfbeec7a611529ccda29c43a1e60ffb48eaa",
"ConwayGenesisFile": "conway-genesis.json",
"ConwayGenesisHash": "de609b281cb3d8ae91a9d63a00c87092975612d603aa54c0f1c6a781e33d6e1e",
"ConwayGenesisHash": "79766b0c18076e9abefc806526714f30d42b14dba9f187fb316bd4e70c815ef4",
"EnableP2P": true,
"ExperimentalHardForksEnabled": true,
"ExperimentalProtocolsEnabled": true,
"LastKnownBlockVersion-Alt": 0,
"LastKnownBlockVersion-Major": 3,
"LastKnownBlockVersion-Minor": 1,
"MinNodeVersion": "8.11.0",
"PeerSharing": true,
"Protocol": "Cardano",
"RequiresNetworkMagic": "RequiresMagic",
"ShelleyGenesisFile": "shelley-genesis.json",
"ShelleyGenesisHash": "f94457ec45a0c6773057a529533cf7ccf746cb44dabd56ae970e1dbfb55bfdb2",
"TargetNumberOfActivePeers": 20,
"TargetNumberOfEstablishedPeers": 50,
"TargetNumberOfKnownPeers": 100,
"TargetNumberOfRootPeers": 100,
"TargetNumberOfRootPeers": 60,
"TestAllegraHardForkAtEpoch": 0,
"TestAlonzoHardForkAtEpoch": 0,
"TestMaryHardForkAtEpoch": 0,
Expand Down
282 changes: 261 additions & 21 deletions configs/cardano/sanchonet/conway-genesis.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,278 @@
{
"poolVotingThresholds": {
"committeeNormal": 0.51,
"committeeNormal": 0.6,
"committeeNoConfidence": 0.51,
"hardForkInitiation": 0.51,
"motionNoConfidence": 0.51,
"ppSecurityGroup": 0.51
"motionNoConfidence": 0.6,
"ppSecurityGroup": 0.6
},
"dRepVotingThresholds": {
"motionNoConfidence": 0.51,
"committeeNormal": 0.51,
"committeeNoConfidence": 0.51,
"updateToConstitution": 0.51,
"hardForkInitiation": 0.51,
"ppNetworkGroup": 0.51,
"ppEconomicGroup": 0.51,
"ppTechnicalGroup": 0.51,
"ppGovGroup": 0.51,
"treasuryWithdrawal": 0.51
"motionNoConfidence": 0.67,
"committeeNormal": 0.67,
"committeeNoConfidence": 0.6,
"updateToConstitution": 0.75,
"hardForkInitiation": 0.6,
"ppNetworkGroup": 0.67,
"ppEconomicGroup": 0.67,
"ppTechnicalGroup": 0.67,
"ppGovGroup": 0.75,
"treasuryWithdrawal": 0.67
},
"committeeMinSize": 0,
"committeeMaxTermLength": 200,
"govActionLifetime": 10,
"govActionDeposit": 1000000000,
"dRepDeposit": 2000000,
"committeeMinSize": 3,
"committeeMaxTermLength": 73,
"govActionLifetime": 8,
"govActionDeposit": 50000000000,
"dRepDeposit": 500000000,
"dRepActivity": 20,
"minFeeRefScriptCostPerByte": 44,
"plutusV3CostModel": [
205665,
812,
1,
1,
1000,
571,
0,
1,
1000,
24177,
4,
1,
1000,
32,
117366,
10475,
4,
23000,
100,
23000,
100,
23000,
100,
23000,
100,
23000,
100,
23000,
100,
100,
100,
23000,
100,
19537,
32,
175354,
32,
46417,
4,
221973,
511,
0,
1,
89141,
32,
497525,
14068,
4,
2,
196500,
453240,
220,
0,
1,
1,
1000,
28662,
4,
2,
245000,
216773,
62,
1,
1060367,
12586,
1,
208512,
421,
1,
187000,
1000,
52998,
1,
80436,
32,
43249,
32,
1000,
32,
80556,
1,
57667,
4,
1000,
10,
197145,
156,
1,
197145,
156,
1,
204924,
473,
1,
208896,
511,
1,
52467,
32,
64832,
32,
65493,
32,
22558,
32,
16563,
32,
76511,
32,
196500,
453240,
220,
0,
1,
1,
69522,
11687,
0,
1,
60091,
32,
196500,
453240,
220,
0,
1,
1,
196500,
453240,
220,
0,
1,
1,
1159724,
392670,
0,
2,
806990,
30482,
4,
1927926,
82523,
4,
265318,
0,
4,
0,
85931,
32,
205665,
812,
1,
1,
41182,
32,
212342,
32,
31220,
32,
32696,
32,
43357,
32,
32247,
32,
38314,
32,
35190005,
10,
57996947,
18975,
10,
39121781,
32260,
10,
23000,
100,
23000,
100,
832808,
18,
3209094,
6,
331451,
1,
65990684,
23097,
18,
114242,
18,
94393407,
87060,
18,
16420089,
18,
2145798,
36,
3795345,
12,
889023,
1,
204237282,
23271,
36,
129165,
36,
189977790,
85902,
36,
33012864,
36,
388443360,
1,
401885761,
72,
2331379,
72,
1927926,
82523,
4,
117366,
10475,
4,
1292075,
24469,
74,
0,
1,
936157,
49601,
237,
0,
1
],
"constitution": {
"anchor": {
"url": "",
"dataHash": "0000000000000000000000000000000000000000000000000000000000000000"
"url": "https://raw.githubusercontent.com/carloslodelar/proposals/main/constitution.txt",
"dataHash": "f89cc2469ce31c3dfda2f3e0b56c5c8b4ee4f0e5f66c30a3f12a95298b01179e"
}
},
"committee": {
"members": {
"scriptHash-8fc13431159fdda66347a38c55105d50d77d67abc1c368b876d52ad1": 336,
"scriptHash-921e1ccb4812c4280510c9ccab81c561f3d413e7d744d48d61215d1f": 400,
"scriptHash-d5d09d9380cf9dcde1f3c6cd88b08ca9e00a3d550022ca7ee4026342": 400,
"scriptHash-2c698e41831684b16477fb50082b0c0e396d436504e39037d5366582": 400
},
"quorum": 0
"threshold": 0.66
}
}
Loading

0 comments on commit 8ac2b45

Please sign in to comment.