Skip to content

Commit

Permalink
test: pass cardano-testnet node socket to hydra nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
errfrom committed Sep 19, 2024
1 parent 5c19dea commit a8439c1
Show file tree
Hide file tree
Showing 9 changed files with 2,574 additions and 2,608 deletions.
4,763 changes: 2,218 additions & 2,545 deletions flake.lock

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@

inputs = {
nixpkgs.follows = "ctl/nixpkgs";
ctl.url = "github:Plutonomicon/cardano-transaction-lib/v9.3.1";
hydra.url = "github:input-output-hk/hydra/4fed4625f321d89b483c82f55252d24da63191c7";
cardano-node.url = "github:input-output-hk/cardano-node/9.2.0";
ctl.url = "github:Plutonomicon/cardano-transaction-lib/566e7153c88fdab7005a3b4b02e6fec41c7d5c94";
ctl.inputs.cardano-node.follows = "cardano-node";
hydra.url = "github:input-output-hk/hydra/0.19.0";
hydra-auction-onchain.url = "github:mlabs-haskell/hydra-auction-onchain/dshuiski/delegate-info";
};

outputs = { self, nixpkgs, ctl, hydra, hydra-auction-onchain }@inputs:
outputs = { self, nixpkgs, ctl, hydra, hydra-auction-onchain, ... }@inputs:
let
supportedSystems = [ "x86_64-linux" ];
perSystem = nixpkgs.lib.genAttrs supportedSystems;
Expand Down
2 changes: 1 addition & 1 deletion packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ let additions =
, "web-storage"
]
, repo = "https://github.com/Plutonomicon/cardano-transaction-lib.git"
, version = "v9.3.1"
, version = "566e7153c88fdab7005a3b4b02e6fec41c7d5c94"
}
, errors =
{ dependencies =
Expand Down
298 changes: 282 additions & 16 deletions protocol-parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"priceSteps": 0
},
"collateralPercentage": 150,
"committeeMaxTermLength": 200,
"committeeMinSize": 0,
"costModels": {
"PlutusV1": [
205665,
Expand Down Expand Up @@ -345,41 +347,305 @@
32,
35892428,
10,
57996947,
18975,
9462713,
1021,
10,
38887044,
32947,
10
10,
9223372036854775807,
9223372036854775807,
9223372036854775807,
9223372036854775807,
9223372036854775807,
9223372036854775807,
9223372036854775807,
9223372036854775807,
9223372036854775807,
9223372036854775807
],
"PlutusV3": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
"decentralization": null,
"extraPraosEntropy": null,
"maxBlockBodySize": 90112,
"dRepActivity": 100,
"dRepDeposit": 1000000,
"dRepVotingThresholds": {
"committeeNoConfidence": 0,
"committeeNormal": 0.5,
"hardForkInitiation": 0.5,
"motionNoConfidence": 0,
"ppEconomicGroup": 0.5,
"ppGovGroup": 0.5,
"ppNetworkGroup": 0.5,
"ppTechnicalGroup": 0.5,
"treasuryWithdrawal": 0.5,
"updateToConstitution": 0
},
"govActionDeposit": 1000000,
"govActionLifetime": 1,
"maxBlockBodySize": 65536,
"maxBlockExecutionUnits": {
"memory": 62000000,
"steps": 20000000000
},
"maxBlockHeaderSize": 1100,
"maxCollateralInputs": 3,
"maxTxExecutionUnits": {
"memory": 14000000,
"memory": 140000000,
"steps": 10000000000
},
"maxTxSize": 16384,
"maxValueSize": 5000,
"minPoolCost": 170000000,
"minUTxOValue": null,
"monetaryExpansion": 3.0e-3,
"poolPledgeInfluence": 0.3,
"minFeeRefScriptCostPerByte": 0,
"minPoolCost": 0,
"monetaryExpansion": 0.1,
"poolPledgeInfluence": 0,
"poolRetireMaxEpoch": 18,
"poolVotingThresholds": {
"committeeNoConfidence": 0.5,
"committeeNormal": 0.5,
"hardForkInitiation": 0.5,
"motionNoConfidence": 0.5,
"ppSecurityGroup": 0.5
},
"protocolVersion": {
"major": 8,
"major": 10,
"minor": 0
},
"stakeAddressDeposit": 2000000,
"stakePoolDeposit": 500000000,
"stakePoolTargetNum": 500,
"treasuryCut": 0.2,
"stakeAddressDeposit": 0,
"stakePoolDeposit": 0,
"stakePoolTargetNum": 100,
"treasuryCut": 0.1,
"utxoCostPerByte": 4310
}
6 changes: 3 additions & 3 deletions spago-packages.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
, "random"
, "read"
, "record"
, "refs"
, "safely"
, "spec"
, "strings"
Expand Down
Loading

0 comments on commit a8439c1

Please sign in to comment.