Skip to content

Commit

Permalink
tx-generator: fix fields now mandatory in test data; bump dep constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
mgmeier committed May 23, 2024
1 parent 7f12bea commit 4ad5fb7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions bench/tx-generator/data/protocol-parameters-conway.json
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@
"verifySchnorrSecp256k1Signature-memory-arguments": 10
}
},
"decentralization": null,
"decentralization": 0,
"executionUnitPrices": {
"priceMemory": 0.0577,
"priceSteps": 7.21e-05
Expand All @@ -602,7 +602,7 @@
"maxTxSize": 16384,
"maxValueSize": 5000,
"minPoolCost": 340000000,
"minUTxOValue": null,
"minUTxOValue": 4310,
"monetaryExpansion": 0.003,
"poolPledgeInfluence": 0.3,
"poolRetireMaxEpoch": 18,
Expand Down
4 changes: 2 additions & 2 deletions bench/tx-generator/data/protocol-parameters-v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
10
]
},
"decentralization": null,
"decentralization": 0,
"executionUnitPrices": {
"priceMemory": 0.0577,
"priceSteps": 7.21e-05
Expand All @@ -367,7 +367,7 @@
"maxTxSize": 16384,
"maxValueSize": 5000,
"minPoolCost": 340000000,
"minUTxOValue": null,
"minUTxOValue": 4310,
"monetaryExpansion": 0.003,
"poolPledgeInfluence": 0.3,
"poolRetireMaxEpoch": 18,
Expand Down
4 changes: 2 additions & 2 deletions bench/tx-generator/data/protocol-parameters.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
1
]
},
"decentralization": null,
"decentralization": 0,
"executionUnitPrices": {
"priceMemory": 0.0577,
"priceSteps": 7.21e-05
Expand All @@ -190,7 +190,7 @@
"maxTxSize": 16384,
"maxValueSize": 5000,
"minPoolCost": 340000000,
"minUTxOValue": null,
"minUTxOValue": 4310,
"monetaryExpansion": 0.003,
"poolPledgeInfluence": 0.3,
"poolRetireMaxEpoch": 18,
Expand Down
2 changes: 2 additions & 0 deletions bench/tx-generator/test/ApiTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ import Cardano.Api
import qualified Cardano.Api.Ledger as Api
import Cardano.Api.Shelley (ProtocolParameters (..), fromPlutusData)

#ifdef WITH_LIBRARY
import Cardano.Benchmarking.PlutusScripts
import Cardano.Benchmarking.PlutusScripts.CustomCallTypes
#endif
import Cardano.Node.Configuration.POM (NodeConfiguration (..))
import Cardano.Node.Protocol.Types
import Cardano.Node.Types (AdjustFilePaths (..), GenesisFile (..))
Expand Down
2 changes: 1 addition & 1 deletion bench/tx-generator/tx-generator.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ common with-library
-- It makes sure, we only depend on that package if it is buildable.
-- The tx-generator will fall back to pre-serialized Plutus scripts if this package is not present.
if !(impl(ghc <9.6) || impl(ghc >=9.7))
build-depends: plutus-scripts-bench ^>= 1.0.2
build-depends: plutus-scripts-bench ^>= 1.0.3
cpp-options: -DWITH_LIBRARY

library
Expand Down

0 comments on commit 4ad5fb7

Please sign in to comment.