From 10c1b9ed2f7009f8842c33ae7fd630178c8f3519 Mon Sep 17 00:00:00 2001 From: Damian Nadales Date: Tue, 26 Mar 2024 10:43:58 +0100 Subject: [PATCH] Integrate cardano API 8.44 This patch also adds the reference script size to the arguments needed to calculate the transaction minimum fee. --- cabal.project | 2 +- cardano-cli/cardano-cli.cabal | 17 +- .../CLI/EraBased/Commands/Transaction.hs | 2 + .../Cardano/CLI/EraBased/Options/Common.hs | 8 + .../CLI/EraBased/Options/Transaction.hs | 1 + .../CLI/EraBased/Run/CreateTestnetData.hs | 18 +- .../src/Cardano/CLI/EraBased/Run/Genesis.hs | 18 +- .../src/Cardano/CLI/EraBased/Run/Query.hs | 2 +- .../Cardano/CLI/EraBased/Run/Transaction.hs | 3 +- .../CLI/Legacy/Commands/Transaction.hs | 2 + cardano-cli/src/Cardano/CLI/Legacy/Options.hs | 1 + .../src/Cardano/CLI/Legacy/Run/Transaction.hs | 9 +- .../CLI/Types/Errors/TxValidationError.hs | 30 +- .../Babbage/Transaction/CalculateMinFee.hs | 3 +- .../Test/Golden/Governance/Action.hs | 2 + .../Shelley/Transaction/CalculateMinFee.hs | 1 + ...y-create-protocol-parameters-update.action | 2 +- .../cardano-cli-golden/files/golden/help.cli | 9 + .../allegra_transaction_calculate-min-fee.cli | 3 + .../alonzo_transaction_calculate-min-fee.cli | 3 + .../babbage_transaction_calculate-min-fee.cli | 3 + .../conway_transaction_calculate-min-fee.cli | 3 + .../latest_transaction_calculate-min-fee.cli | 3 + .../legacy_transaction_calculate-min-fee.cli | 3 + .../mary_transaction_calculate-min-fee.cli | 3 + .../shelley_transaction_calculate-min-fee.cli | 3 + .../help/transaction_calculate-min-fee.cli | 3 + .../input/conway/genesis.conway.spec.json | 3 +- .../files/input/governance/costmodels.json | 810 +++++++++--------- flake.lock | 6 +- 30 files changed, 512 insertions(+), 464 deletions(-) diff --git a/cabal.project b/cabal.project index 5af921b115..657c98308a 100644 --- a/cabal.project +++ b/cabal.project @@ -14,7 +14,7 @@ repository cardano-haskell-packages -- you need to run if you change them index-state: , hackage.haskell.org 2024-03-24T23:16:24Z - , cardano-haskell-packages 2024-03-24T23:54:54Z + , cardano-haskell-packages 2024-04-04T15:00:00Z packages: cardano-cli diff --git a/cardano-cli/cardano-cli.cabal b/cardano-cli/cardano-cli.cabal index 0abb753ea7..821ac2bdb6 100644 --- a/cardano-cli/cardano-cli.cabal +++ b/cardano-cli/cardano-cli.cabal @@ -196,17 +196,17 @@ library , binary , bytestring , canonical-json - , cardano-api ^>= 8.42.0.0 + , cardano-api ^>= 8.44.0.0 , cardano-binary , cardano-crypto , cardano-crypto-class ^>= 2.1.2 , cardano-crypto-wrapper ^>= 1.5.1 , cardano-data >= 1.1 , cardano-git-rev ^>= 0.2.2 - , cardano-ledger-byron >= 1.0.0.2 + , cardano-ledger-byron >= 1.0.1.0 , cardano-ping ^>= 0.2.0.13 , cardano-prelude - , cardano-slotting ^>= 0.1 + , cardano-slotting ^>= 0.2.0.0 , cardano-strict-containers ^>= 0.1 , cborg >= 0.2.4 && < 0.3 , cborg-json @@ -223,11 +223,12 @@ library , microlens , network , optparse-applicative-fork - , ouroboros-consensus >= 0.16 - , ouroboros-consensus-cardano >= 0.14.2 - , ouroboros-consensus-protocol >= 0.7 + , ouroboros-consensus >= 0.17 + -- TODO: bump consensus back + , ouroboros-consensus-cardano >= 0.15 + , ouroboros-consensus-protocol >= 0.8 , ouroboros-network-api - , ouroboros-network-protocols + , ouroboros-network-protocols ^>=0.8 , parsec , prettyprinter , prettyprinter-ansi-terminal @@ -343,7 +344,7 @@ test-suite cardano-cli-golden , cardano-crypto-wrapper , cardano-data >= 1.1 , cardano-ledger-byron - , cardano-ledger-shelley >=1.7.0.0 + , cardano-ledger-shelley >=1.10.0.0 , cardano-strict-containers ^>= 0.1 , cborg , containers diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Commands/Transaction.hs b/cardano-cli/src/Cardano/CLI/EraBased/Commands/Transaction.hs index bf9809c566..82f58506cf 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Commands/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Commands/Transaction.hs @@ -163,6 +163,8 @@ data TransactionCalculateMinFeeCmdArgs = TransactionCalculateMinFeeCmdArgs , protocolParamsFile :: !ProtocolParamsFile , txShelleyWitnessCount :: !TxShelleyWitnessCount , txByronWitnessCount :: !TxByronWitnessCount + -- | The total size in bytes of the transaction reference scripts. + , referenceScriptSize :: !Int } deriving Show data TransactionCalculateMinValueCmdArgs era = TransactionCalculateMinValueCmdArgs diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs index 081c4c9cc4..26adbb6efb 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Common.hs @@ -3308,6 +3308,14 @@ pNetworkIdForTestnetData envCli = asum $ mconcat pure <$> maybeToList (envCliNetworkId envCli) ] +pReferenceScriptSize :: Parser Int +pReferenceScriptSize = + Opt.option auto $ mconcat + [ Opt.long "reference-script-size" + , Opt.metavar "INT" + , Opt.help "Total size in bytes of transaction reference scripts" + ] + -------------------------------------------------------------------------------- -- Helpers -------------------------------------------------------------------------------- diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs b/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs index b0fcc5d8c6..2c11d23d96 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Options/Transaction.hs @@ -268,6 +268,7 @@ pTransactionCalculateMinFee = <*> pProtocolParamsFile <*> pTxShelleyWitnessCount <*> pTxByronWitnessCount + <*> pReferenceScriptSize -- Deprecated options: <* optional pNetworkIdDeprecated <* optional pTxInCountDeprecated diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/CreateTestnetData.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/CreateTestnetData.hs index 40ea63a8b8..241ac7bb05 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/CreateTestnetData.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/CreateTestnetData.hs @@ -556,16 +556,16 @@ buildPoolParams nw dir index specifiedRelays = do . newExceptT $ readFileTextEnvelope (AsVerificationKey AsStakeKey) poolRewardVKF pure L.PoolParams - { L.ppId = L.hashKey poolColdVK - , L.ppVrf = L.hashVerKeyVRF poolVrfVK - , L.ppPledge = L.Coin 0 - , L.ppCost = L.Coin 0 - , L.ppMargin = minBound - , L.ppRewardAcnt = + { L.ppId = L.hashKey poolColdVK + , L.ppVrf = L.hashVerKeyVRF poolVrfVK + , L.ppPledge = L.Coin 0 + , L.ppCost = L.Coin 0 + , L.ppMargin = minBound + , L.ppRewardAccount = toShelleyStakeAddr $ makeStakeAddress nw $ StakeCredentialByKey (verificationKeyHash rewardsSVK) - , L.ppOwners = mempty - , L.ppRelays = lookupPoolRelay specifiedRelays - , L.ppMetadata = L.SNothing + , L.ppOwners = mempty + , L.ppRelays = lookupPoolRelay specifiedRelays + , L.ppMetadata = L.SNothing } where lookupPoolRelay :: Map Word [L.StakePoolRelay] -> Seq.StrictSeq L.StakePoolRelay diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis.hs index 1f7940b32d..379a82f661 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Genesis.hs @@ -819,16 +819,16 @@ buildPoolParams nw dir index specifiedRelays = do . newExceptT $ readFileTextEnvelope (AsVerificationKey AsStakeKey) poolRewardVKF pure L.PoolParams - { L.ppId = L.hashKey poolColdVK - , L.ppVrf = L.hashVerKeyVRF poolVrfVK - , L.ppPledge = L.Coin 0 - , L.ppCost = L.Coin 0 - , L.ppMargin = minBound - , L.ppRewardAcnt = + { L.ppId = L.hashKey poolColdVK + , L.ppVrf = L.hashVerKeyVRF poolVrfVK + , L.ppPledge = L.Coin 0 + , L.ppCost = L.Coin 0 + , L.ppMargin = minBound + , L.ppRewardAccount = toShelleyStakeAddr $ makeStakeAddress nw $ StakeCredentialByKey (verificationKeyHash rewardsSVK) - , L.ppOwners = mempty - , L.ppRelays = lookupPoolRelay specifiedRelays - , L.ppMetadata = L.SNothing + , L.ppOwners = mempty + , L.ppRelays = lookupPoolRelay specifiedRelays + , L.ppMetadata = L.SNothing } where lookupPoolRelay diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs index 6c74299ea6..0455c9e4ee 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs @@ -148,7 +148,7 @@ runQueryConstitutionHashCmd where writeConstitutionHash :: Maybe (File () Out) - -> Maybe (L.SafeHash L.StandardCrypto L.AnchorData) + -> L.SafeHash L.StandardCrypto L.AnchorData -> ExceptT QueryCmdError IO () writeConstitutionHash mOutFile' cHash = firstExceptT QueryCmdWriteFileError . newExceptT diff --git a/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs b/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs index b14a496772..bce0f06741 100644 --- a/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/EraBased/Run/Transaction.hs @@ -1018,6 +1018,7 @@ runTransactionCalculateMinFeeCmd , protocolParamsFile = protocolParamsFile , txShelleyWitnessCount = TxShelleyWitnessCount nShelleyKeyWitnesses , txByronWitnessCount = TxByronWitnessCount nByronKeyWitnesses + , referenceScriptSize } = do txbodyFile <- liftIO $ fileOrPipe txbodyFilePath @@ -1039,7 +1040,7 @@ runTransactionCalculateMinFeeCmd lpparams <- getLedgerPParams sbe pparams - let shelleyfee = evaluateTransactionFee sbe lpparams txbody nShelleyKeyWitW32 0 + let shelleyfee = evaluateTransactionFee sbe lpparams txbody nShelleyKeyWitW32 0 referenceScriptSize let byronfee = calculateByronWitnessFees (protocolParamTxFeePerByte pparams) nByronKeyWitnesses diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Transaction.hs b/cardano-cli/src/Cardano/CLI/Legacy/Commands/Transaction.hs index 592fa04d32..2f2495edfc 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Commands/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Commands/Transaction.hs @@ -120,6 +120,8 @@ data LegacyTransactionCmds ProtocolParamsFile TxShelleyWitnessCount TxByronWitnessCount + Int + -- ^ The total size in bytes of the transaction reference scripts. | TransactionCalculateMinValueCmd (EraInEon ShelleyBasedEra) ProtocolParamsFile diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs index 5e3a9a3e3b..a8a97266e2 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Options.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Options.hs @@ -417,6 +417,7 @@ pTransaction envCli = <*> pProtocolParamsFile <*> pTxShelleyWitnessCount <*> pTxByronWitnessCount + <*> pReferenceScriptSize -- Deprecated options: <* optional pNetworkIdDeprecated <* optional pTxInCountDeprecated diff --git a/cardano-cli/src/Cardano/CLI/Legacy/Run/Transaction.hs b/cardano-cli/src/Cardano/CLI/Legacy/Run/Transaction.hs index 0ef6dd49cf..4e94c67960 100644 --- a/cardano-cli/src/Cardano/CLI/Legacy/Run/Transaction.hs +++ b/cardano-cli/src/Cardano/CLI/Legacy/Run/Transaction.hs @@ -43,8 +43,8 @@ runLegacyTransactionCmds = \case runLegacyTransactionSignCmd txinfile skfiles network txoutfile TransactionSubmitCmd mNodeSocketPath consensusModeParams network txFp -> runLegacyTransactionSubmitCmd mNodeSocketPath consensusModeParams network txFp - TransactionCalculateMinFeeCmd txbody pParamsFile nShelleyKeyWitnesses nByronKeyWitnesses -> - runLegacyTransactionCalculateMinFeeCmd txbody pParamsFile nShelleyKeyWitnesses nByronKeyWitnesses + TransactionCalculateMinFeeCmd txbody pParamsFile nShelleyKeyWitnesses nByronKeyWitnesses referenceScriptSize -> + runLegacyTransactionCalculateMinFeeCmd txbody pParamsFile nShelleyKeyWitnesses nByronKeyWitnesses referenceScriptSize TransactionCalculateMinValueCmd (EraInEon sbe) pParamsFile txOuts' -> runLegacyTransactionCalculateMinValueCmd (AnyShelleyBasedEra sbe) pParamsFile txOuts' TransactionHashScriptDataCmd scriptDataOrFile -> @@ -225,18 +225,21 @@ runLegacyTransactionCalculateMinFeeCmd :: () -> ProtocolParamsFile -> TxShelleyWitnessCount -> TxByronWitnessCount + -> Int -> ExceptT TxCmdError IO () runLegacyTransactionCalculateMinFeeCmd txbodyFile pParamsFile txShelleyWitnessCount - txByronWitnessCount = + txByronWitnessCount + referenceScriptSize = runTransactionCalculateMinFeeCmd ( Cmd.TransactionCalculateMinFeeCmdArgs txbodyFile pParamsFile txShelleyWitnessCount txByronWitnessCount + referenceScriptSize ) runLegacyTransactionCalculateMinValueCmd :: () diff --git a/cardano-cli/src/Cardano/CLI/Types/Errors/TxValidationError.hs b/cardano-cli/src/Cardano/CLI/Types/Errors/TxValidationError.hs index a07c92676d..3e789a9318 100644 --- a/cardano-cli/src/Cardano/CLI/Types/Errors/TxValidationError.hs +++ b/cardano-cli/src/Cardano/CLI/Types/Errors/TxValidationError.hs @@ -50,7 +50,6 @@ import Data.Map.Strict (Map) import qualified Data.Map.Strict as Map import Data.Maybe import qualified Data.OSet.Strict as OSet -import qualified Data.Set as Set import Prettyprinter (viaShow) data ScriptLanguageValidationError @@ -326,10 +325,10 @@ votingScriptWitnessSingleton votingProcedures (Just scriptWitness) = in Map.singleton voter scriptWitness newtype TxGovDuplicateVotes era = - TxGovDuplicateVotes [L.GovActionId (L.EraCrypto (ShelleyLedgerEra era))] + TxGovDuplicateVotes (VotesMergingConflict era) instance Error (TxGovDuplicateVotes era) where - prettyError (TxGovDuplicateVotes actionIds) = + prettyError (TxGovDuplicateVotes (VotesMergingConflict (_voter, actionIds))) = "Trying to merge votes with similar action identifiers: " <> viaShow actionIds <> ". This would cause ignoring some of the votes, so not proceeding." @@ -338,7 +337,8 @@ convertToTxVotingProcedures :: [(VotingProcedures era, Maybe (ScriptWitness WitCtxStake era))] -> Either (TxGovDuplicateVotes era) (TxVotingProcedures BuildTx era) convertToTxVotingProcedures votingProcedures = do - VotingProcedures procedure <- foldM f emptyVotingProcedures votingProcedures + VotingProcedures procedure <- first TxGovDuplicateVotes $ + foldM f emptyVotingProcedures votingProcedures pure $ TxVotingProcedures procedure (BuildTxWith votingScriptWitnessMap) where votingScriptWitnessMap = foldl (\acc next -> acc `Map.union` uncurry votingScriptWitnessSingleton next) @@ -346,28 +346,6 @@ convertToTxVotingProcedures votingProcedures = do votingProcedures f acc (procedure, _witness) = mergeVotingProcedures acc procedure -mergeVotingProcedures :: () - => VotingProcedures era - -> VotingProcedures era - -> Either (TxGovDuplicateVotes era) (VotingProcedures era) -- ^ Either an error message, or the merged voting procedures -mergeVotingProcedures vpsa vpsb = - VotingProcedures . L.VotingProcedures <$> foldM mergeVotesOfOneVoter Map.empty allVoters - where - mapa = L.unVotingProcedures (unVotingProcedures vpsa) - mapb = L.unVotingProcedures (unVotingProcedures vpsb) - allVoters = Set.union (Map.keysSet mapa) (Map.keysSet mapb) - mergeVotesOfOneVoter acc voter = - Map.union acc <$> case (Map.lookup voter mapa, Map.lookup voter mapb) of - (Just v, Nothing) -> Right $ Map.singleton voter v -- Take only available value - (Nothing, Just v) -> Right $ Map.singleton voter v -- Take only available value - (Nothing, Nothing) -> Right Map.empty -- No value - (Just va, Just vb) -> -- Here's the case where we're unioning different votes for the same voter - if null intersection -- No conflict: sets of keys from left and right is disjoint - then Right $ Map.singleton voter (Map.union va vb) - else Left $ TxGovDuplicateVotes intersection -- Ooops conflict! Let's report it! - where - intersection = Map.keys $ Map.intersection va vb - proposingScriptWitnessSingleton :: Proposal era -> Maybe (ScriptWitness WitCtxStake era) diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs index b9a137a7d4..31899cc8e6 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Babbage/Transaction/CalculateMinFee.hs @@ -1,6 +1,6 @@ {-# LANGUAGE OverloadedStrings #-} -module Test.Golden.Babbage.Transaction.CalculateMinFee +module Test.Golden.Babbage.Transaction.CalculateMinFee ( hprop_golden_babbage_transaction_calculate_min_fee ) where @@ -20,6 +20,7 @@ hprop_golden_babbage_transaction_calculate_min_fee = propertyOnce $ do [ "transaction","calculate-min-fee" , "--witness-count", "1" , "--protocol-params-file", protocolParamsJsonFile + , "--reference-script-size", "0" , "--tx-body-file", txBodyFile ] diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs index 62955a003b..a3b2fce626 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Governance/Action.hs @@ -178,6 +178,8 @@ hprop_golden_conway_governance_action_create_protocol_parameters_update :: Prope hprop_golden_conway_governance_action_create_protocol_parameters_update = propertyOnce . H.moduleWorkspace "tmp" $ \tempDir -> do stakeAddressVKeyFile <- H.note "test/cardano-cli-golden/files/input/governance/stake-address.vkey" + -- different versions of https://github.com/IntersectMBO/plutus/blob/master/plutus-core/cost-model/data/builtinCostModel.json + -- transformed and compiled together costModelsFile <- H.note "test/cardano-cli-golden/files/input/governance/costmodels.json" actionFile <- noteTempFile tempDir "action" diff --git a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs index e2fdbf0655..4e894da335 100644 --- a/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs +++ b/cardano-cli/test/cardano-cli-golden/Test/Golden/Shelley/Transaction/CalculateMinFee.hs @@ -20,6 +20,7 @@ hprop_golden_shelley_transaction_calculate_min_fee = propertyOnce $ do , "--byron-witness-count", "10" , "--witness-count", "5" , "--protocol-params-file", protocolParamsJsonFile + , "--reference-script-size", "0" , "--tx-body-file", txBodyFile ] diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/governance/action/conway-create-protocol-parameters-update.action b/cardano-cli/test/cardano-cli-golden/files/golden/governance/action/conway-create-protocol-parameters-update.action index 5acb9e1d6b..3ddffc646a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/governance/action/conway-create-protocol-parameters-update.action +++ b/cardano-cli/test/cardano-cli-golden/files/golden/governance/action/conway-create-protocol-parameters-update.action @@ -1,5 +1,5 @@ { "type": "Governance proposal", "description": "", - "cborHex": "84193039581de18f4a3466a404c11eb410313015b88e447d81b60089e25f611600e6058400f6a3031904d212a3009f1a000302590001011a00060bc719026d00011a000249f01903e800011a000249f018201a0025cea81971f70419744d186419744d186419744d186419744d186419744d186419744d18641864186419744d18641a000249f018201a000249f018201a000249f018201a000249f01903e800011a000249f018201a000249f01903e800081a000242201a00067e2318760001011a000249f01903e800081a000249f01a0001b79818f7011a000249f0192710011a0002155e19052e011903e81a000249f01903e8011a000249f018201a000249f018201a000249f0182001011a000249f0011a000249f0041a000194af18f8011a000194af18f8011a0002377c190556011a0002bdea1901f1011a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000242201a00067e23187600010119f04c192bd200011a000249f018201a000242201a00067e2318760001011a000242201a00067e2318760001011a0025cea81971f707001a000141bb041a000249f019138800011a000249f018201a000302590001011a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a00330da70101ff019f1a0003236119032c01011903e819023b00011903e8195e7104011903e818201a0001ca761928eb041959d818641959d818641959d818641959d818641959d818641959d81864186418641959d81864194c5118201a0002acfa182019b551041a000363151901ff00011a00015c3518201a000797751936f404021a0002ff941a0006ea7818dc0001011903e8196ff604021a0003bd081a00034ec5183e011a00102e0f19312a011a00032e801901a5011a0002da781903e819cf06011a00013a34182019a8f118201903e818201a00013aac0119e143041903e80a1a00030219189c011a00030219189c011a0003207c1901d9011a000330001901ff0119ccf3182019fd40182019ffd5182019581e18201940b318201a00012adf18201a0002ff941a0006ea7818dc0001011a00010f92192da7000119eabb18201a0002ff941a0006ea7818dc0001011a0002ff941a0006ea7818dc0001011a0011b22c1a0005fdde00021a000c504e197712041a001d6af61a0001425b041a00040c660004001a00014fab18201a0003236119032c010119a0de18201a00033d7618201979f41820197fb8182019a95d1820197df718201995aa18201a0223accc0a1a009063b91903fd0a1a02515e841980b30aff029f01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101ff181e1a075bc371f6826b6578616d706c652e636f6d5820c7ddb5b493faa4d3d2d679847740bdce0c5d358d56f9b1470ca67f5652a02745" + "cborHex": "84193039581de18f4a3466a404c11eb410313015b88e447d81b60089e25f611600e6058400f6a3031904d212a3009f1a000302590001011a00060bc719026d00011a000249f01903e800011a000249f018201a0025cea81971f70419744d186419744d186419744d186419744d186419744d186419744d18641864186419744d18641a000249f018201a000249f018201a000249f018201a000249f01903e800011a000249f018201a000249f01903e800081a000242201a00067e2318760001011a000249f01903e800081a000249f01a0001b79818f7011a000249f0192710011a0002155e19052e011903e81a000249f01903e8011a000249f018201a000249f018201a000249f0182001011a000249f0011a000249f0041a000194af18f8011a000194af18f8011a0002377c190556011a0002bdea1901f1011a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000242201a00067e23187600010119f04c192bd200011a000249f018201a000242201a00067e2318760001011a000242201a00067e2318760001011a0025cea81971f707001a000141bb041a000249f019138800011a000249f018201a000302590001011a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a000249f018201a00330da70101ff019f1a0003236119032c01011903e819023b00011903e8195e7104011903e818201a0001ca761928eb041959d818641959d818641959d818641959d818641959d818641959d81864186418641959d81864194c5118201a0002acfa182019b551041a000363151901ff00011a00015c3518201a000797751936f404021a0002ff941a0006ea7818dc0001011903e8196ff604021a0003bd081a00034ec5183e011a00102e0f19312a011a00032e801901a5011a0002da781903e819cf06011a00013a34182019a8f118201903e818201a00013aac0119e143041903e80a1a00030219189c011a00030219189c011a0003207c1901d9011a000330001901ff0119ccf3182019fd40182019ffd5182019581e18201940b318201a00012adf18201a0002ff941a0006ea7818dc0001011a00010f92192da7000119eabb18201a0002ff941a0006ea7818dc0001011a0002ff941a0006ea7818dc0001011a0011b22c1a0005fdde00021a000c504e197712041a001d6af61a0001425b041a00040c660004001a00014fab18201a0003236119032c010119a0de18201a00033d7618201979f41820197fb8182019a95d1820197df718201995aa18201a0223accc0a1a009063b91903fd0a1a02515e841980b30aff029f0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101ff181e1a075bc371f6826b6578616d706c652e636f6d5820c7ddb5b493faa4d3d2d679847740bdce0c5d358d56f9b1470ca67f5652a02745" } diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli index 71343db2b4..f925b398a1 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help.cli @@ -1120,6 +1120,7 @@ Usage: cardano-cli shelley transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -2292,6 +2293,7 @@ Usage: cardano-cli allegra transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -3450,6 +3452,7 @@ Usage: cardano-cli mary transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -4623,6 +4626,7 @@ Usage: cardano-cli alonzo transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -5821,6 +5825,7 @@ Usage: cardano-cli babbage transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -7465,6 +7470,7 @@ Usage: cardano-cli conway transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -8660,6 +8666,7 @@ Usage: cardano-cli latest transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -9696,6 +9703,7 @@ Usage: cardano-cli legacy transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -10912,6 +10920,7 @@ Usage: cardano-cli transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli index 0f0a7b62a7..58db896704 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/allegra_transaction_calculate-min-fee.cli @@ -2,6 +2,7 @@ Usage: cardano-cli allegra transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -17,6 +18,8 @@ Available options: --witness-count NATURAL The number of Shelley key witnesses. --byron-witness-count NATURAL The number of Byron key witnesses (default is 0). + --reference-script-size INT + Total size in bytes of transaction reference scripts --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli index ff71a56f47..e016eea386 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/alonzo_transaction_calculate-min-fee.cli @@ -2,6 +2,7 @@ Usage: cardano-cli alonzo transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -17,6 +18,8 @@ Available options: --witness-count NATURAL The number of Shelley key witnesses. --byron-witness-count NATURAL The number of Byron key witnesses (default is 0). + --reference-script-size INT + Total size in bytes of transaction reference scripts --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli index 7eeba310fd..08acc28b35 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/babbage_transaction_calculate-min-fee.cli @@ -2,6 +2,7 @@ Usage: cardano-cli babbage transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -17,6 +18,8 @@ Available options: --witness-count NATURAL The number of Shelley key witnesses. --byron-witness-count NATURAL The number of Byron key witnesses (default is 0). + --reference-script-size INT + Total size in bytes of transaction reference scripts --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli index fa439eb3d5..e24b8bee96 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/conway_transaction_calculate-min-fee.cli @@ -2,6 +2,7 @@ Usage: cardano-cli conway transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -17,6 +18,8 @@ Available options: --witness-count NATURAL The number of Shelley key witnesses. --byron-witness-count NATURAL The number of Byron key witnesses (default is 0). + --reference-script-size INT + Total size in bytes of transaction reference scripts --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli index ac5ed14dc7..bd3591259a 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/latest_transaction_calculate-min-fee.cli @@ -2,6 +2,7 @@ Usage: cardano-cli latest transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -17,6 +18,8 @@ Available options: --witness-count NATURAL The number of Shelley key witnesses. --byron-witness-count NATURAL The number of Byron key witnesses (default is 0). + --reference-script-size INT + Total size in bytes of transaction reference scripts --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli index 826aff6b50..ed6011ad67 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/legacy_transaction_calculate-min-fee.cli @@ -2,6 +2,7 @@ Usage: cardano-cli legacy transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -17,6 +18,8 @@ Available options: --witness-count NATURAL The number of Shelley key witnesses. --byron-witness-count NATURAL The number of Byron key witnesses (default is 0). + --reference-script-size INT + Total size in bytes of transaction reference scripts --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli index b6ffcecdce..c2d0c46a08 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/mary_transaction_calculate-min-fee.cli @@ -2,6 +2,7 @@ Usage: cardano-cli mary transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -17,6 +18,8 @@ Available options: --witness-count NATURAL The number of Shelley key witnesses. --byron-witness-count NATURAL The number of Byron key witnesses (default is 0). + --reference-script-size INT + Total size in bytes of transaction reference scripts --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli index bf6ec43e41..65f8991b6b 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/shelley_transaction_calculate-min-fee.cli @@ -2,6 +2,7 @@ Usage: cardano-cli shelley transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -17,6 +18,8 @@ Available options: --witness-count NATURAL The number of Shelley key witnesses. --byron-witness-count NATURAL The number of Byron key witnesses (default is 0). + --reference-script-size INT + Total size in bytes of transaction reference scripts --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli index 4df5145d9c..39c0d4d0db 100644 --- a/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli +++ b/cardano-cli/test/cardano-cli-golden/files/golden/help/transaction_calculate-min-fee.cli @@ -2,6 +2,7 @@ Usage: cardano-cli transaction calculate-min-fee --tx-body-file FILE --protocol-params-file FILE --witness-count NATURAL [--byron-witness-count NATURAL] + --reference-script-size INT [ --mainnet | --testnet-magic NATURAL ] @@ -17,6 +18,8 @@ Available options: --witness-count NATURAL The number of Shelley key witnesses. --byron-witness-count NATURAL The number of Byron key witnesses (default is 0). + --reference-script-size INT + Total size in bytes of transaction reference scripts --mainnet DEPRECATED. This argument has no effect. --testnet-magic NATURAL DEPRECATED. This argument has no effect. --tx-in-count NATURAL DEPRECATED. This argument has no effect. diff --git a/cardano-cli/test/cardano-cli-golden/files/input/conway/genesis.conway.spec.json b/cardano-cli/test/cardano-cli-golden/files/input/conway/genesis.conway.spec.json index 757ece99e8..76c0dd55ae 100644 --- a/cardano-cli/test/cardano-cli-golden/files/input/conway/genesis.conway.spec.json +++ b/cardano-cli/test/cardano-cli-golden/files/input/conway/genesis.conway.spec.json @@ -24,6 +24,7 @@ "govActionDeposit": 0, "dRepDeposit": 0, "dRepActivity": 0, + "minFeeRefScriptCostPerByte": 0, "constitution": { "anchor": { "url": "", @@ -35,6 +36,6 @@ "keyHash-4e88cc2d27c364aaf90648a87dfb95f8ee103ba67fa1f12f5e86c42a": 1, "scriptHash-4e88cc2d27c364aaf90648a87dfb95f8ee103ba67fa1f12f5e86c42a": 2 }, - "quorum": 0.5 + "threshold": 0.5 } } diff --git a/cardano-cli/test/cardano-cli-golden/files/input/governance/costmodels.json b/cardano-cli/test/cardano-cli-golden/files/input/governance/costmodels.json index 2a342d5eac..46d9d98702 100644 --- a/cardano-cli/test/cardano-cli-golden/files/input/governance/costmodels.json +++ b/cardano-cli/test/cardano-cli-golden/files/input/governance/costmodels.json @@ -168,406 +168,416 @@ "cekLamCost-exBudgetMemory": 100, "sliceByteString-cpu-arguments-intercept": 150000 }, - "PlutusV2": { - "addInteger-cpu-arguments-intercept": 205665, - "addInteger-cpu-arguments-slope": 812, - "addInteger-memory-arguments-intercept": 1, - "addInteger-memory-arguments-slope": 1, - "appendByteString-cpu-arguments-intercept": 1000, - "appendByteString-cpu-arguments-slope": 571, - "appendByteString-memory-arguments-intercept": 0, - "appendByteString-memory-arguments-slope": 1, - "appendString-cpu-arguments-intercept": 1000, - "appendString-cpu-arguments-slope": 24177, - "appendString-memory-arguments-intercept": 4, - "appendString-memory-arguments-slope": 1, - "bData-cpu-arguments": 1000, - "bData-memory-arguments": 32, - "blake2b_256-cpu-arguments-intercept": 117366, - "blake2b_256-cpu-arguments-slope": 10475, - "blake2b_256-memory-arguments": 4, - "cekApplyCost-exBudgetCPU": 23000, - "cekApplyCost-exBudgetMemory": 100, - "cekBuiltinCost-exBudgetCPU": 23000, - "cekBuiltinCost-exBudgetMemory": 100, - "cekConstCost-exBudgetCPU": 23000, - "cekConstCost-exBudgetMemory": 100, - "cekDelayCost-exBudgetCPU": 23000, - "cekDelayCost-exBudgetMemory": 100, - "cekForceCost-exBudgetCPU": 23000, - "cekForceCost-exBudgetMemory": 100, - "cekLamCost-exBudgetCPU": 23000, - "cekLamCost-exBudgetMemory": 100, - "cekStartupCost-exBudgetCPU": 100, - "cekStartupCost-exBudgetMemory": 100, - "cekVarCost-exBudgetCPU": 23000, - "cekVarCost-exBudgetMemory": 100, - "chooseData-cpu-arguments": 19537, - "chooseData-memory-arguments": 32, - "chooseList-cpu-arguments": 175354, - "chooseList-memory-arguments": 32, - "chooseUnit-cpu-arguments": 46417, - "chooseUnit-memory-arguments": 4, - "consByteString-cpu-arguments-intercept": 221973, - "consByteString-cpu-arguments-slope": 511, - "consByteString-memory-arguments-intercept": 0, - "consByteString-memory-arguments-slope": 1, - "constrData-cpu-arguments": 89141, - "constrData-memory-arguments": 32, - "decodeUtf8-cpu-arguments-intercept": 497525, - "decodeUtf8-cpu-arguments-slope": 14068, - "decodeUtf8-memory-arguments-intercept": 4, - "decodeUtf8-memory-arguments-slope": 2, - "divideInteger-cpu-arguments-constant": 196500, - "divideInteger-cpu-arguments-model-arguments-intercept": 453240, - "divideInteger-cpu-arguments-model-arguments-slope": 220, - "divideInteger-memory-arguments-intercept": 0, - "divideInteger-memory-arguments-minimum": 1, - "divideInteger-memory-arguments-slope": 1, - "encodeUtf8-cpu-arguments-intercept": 1000, - "encodeUtf8-cpu-arguments-slope": 28662, - "encodeUtf8-memory-arguments-intercept": 4, - "encodeUtf8-memory-arguments-slope": 2, - "equalsByteString-cpu-arguments-constant": 245000, - "equalsByteString-cpu-arguments-intercept": 216773, - "equalsByteString-cpu-arguments-slope": 62, - "equalsByteString-memory-arguments": 1, - "equalsData-cpu-arguments-intercept": 1060367, - "equalsData-cpu-arguments-slope": 12586, - "equalsData-memory-arguments": 1, - "equalsInteger-cpu-arguments-intercept": 208512, - "equalsInteger-cpu-arguments-slope": 421, - "equalsInteger-memory-arguments": 1, - "equalsString-cpu-arguments-constant": 187000, - "equalsString-cpu-arguments-intercept": 1000, - "equalsString-cpu-arguments-slope": 52998, - "equalsString-memory-arguments": 1, - "fstPair-cpu-arguments": 80436, - "fstPair-memory-arguments": 32, - "headList-cpu-arguments": 43249, - "headList-memory-arguments": 32, - "iData-cpu-arguments": 1000, - "iData-memory-arguments": 32, - "ifThenElse-cpu-arguments": 80556, - "ifThenElse-memory-arguments": 1, - "indexByteString-cpu-arguments": 57667, - "indexByteString-memory-arguments": 4, - "lengthOfByteString-cpu-arguments": 1000, - "lengthOfByteString-memory-arguments": 10, - "lessThanByteString-cpu-arguments-intercept": 197145, - "lessThanByteString-cpu-arguments-slope": 156, - "lessThanByteString-memory-arguments": 1, - "lessThanEqualsByteString-cpu-arguments-intercept": 197145, - "lessThanEqualsByteString-cpu-arguments-slope": 156, - "lessThanEqualsByteString-memory-arguments": 1, - "lessThanEqualsInteger-cpu-arguments-intercept": 204924, - "lessThanEqualsInteger-cpu-arguments-slope": 473, - "lessThanEqualsInteger-memory-arguments": 1, - "lessThanInteger-cpu-arguments-intercept": 208896, - "lessThanInteger-cpu-arguments-slope": 511, - "lessThanInteger-memory-arguments": 1, - "listData-cpu-arguments": 52467, - "listData-memory-arguments": 32, - "mapData-cpu-arguments": 64832, - "mapData-memory-arguments": 32, - "mkCons-cpu-arguments": 65493, - "mkCons-memory-arguments": 32, - "mkNilData-cpu-arguments": 22558, - "mkNilData-memory-arguments": 32, - "mkNilPairData-cpu-arguments": 16563, - "mkNilPairData-memory-arguments": 32, - "mkPairData-cpu-arguments": 76511, - "mkPairData-memory-arguments": 32, - "modInteger-cpu-arguments-constant": 196500, - "modInteger-cpu-arguments-model-arguments-intercept": 453240, - "modInteger-cpu-arguments-model-arguments-slope": 220, - "modInteger-memory-arguments-intercept": 0, - "modInteger-memory-arguments-minimum": 1, - "modInteger-memory-arguments-slope": 1, - "multiplyInteger-cpu-arguments-intercept": 69522, - "multiplyInteger-cpu-arguments-slope": 11687, - "multiplyInteger-memory-arguments-intercept": 0, - "multiplyInteger-memory-arguments-slope": 1, - "nullList-cpu-arguments": 60091, - "nullList-memory-arguments": 32, - "quotientInteger-cpu-arguments-constant": 196500, - "quotientInteger-cpu-arguments-model-arguments-intercept": 453240, - "quotientInteger-cpu-arguments-model-arguments-slope": 220, - "quotientInteger-memory-arguments-intercept": 0, - "quotientInteger-memory-arguments-minimum": 1, - "quotientInteger-memory-arguments-slope": 1, - "remainderInteger-cpu-arguments-constant": 196500, - "remainderInteger-cpu-arguments-model-arguments-intercept": 453240, - "remainderInteger-cpu-arguments-model-arguments-slope": 220, - "remainderInteger-memory-arguments-intercept": 0, - "remainderInteger-memory-arguments-minimum": 1, - "remainderInteger-memory-arguments-slope": 1, - "serialiseData-cpu-arguments-intercept": 1159724, - "serialiseData-cpu-arguments-slope": 392670, - "serialiseData-memory-arguments-intercept": 0, - "serialiseData-memory-arguments-slope": 2, - "sha2_256-cpu-arguments-intercept": 806990, - "sha2_256-cpu-arguments-slope": 30482, - "sha2_256-memory-arguments": 4, - "sha3_256-cpu-arguments-intercept": 1927926, - "sha3_256-cpu-arguments-slope": 82523, - "sha3_256-memory-arguments": 4, - "sliceByteString-cpu-arguments-intercept": 265318, - "sliceByteString-cpu-arguments-slope": 0, - "sliceByteString-memory-arguments-intercept": 4, - "sliceByteString-memory-arguments-slope": 0, - "sndPair-cpu-arguments": 85931, - "sndPair-memory-arguments": 32, - "subtractInteger-cpu-arguments-intercept": 205665, - "subtractInteger-cpu-arguments-slope": 812, - "subtractInteger-memory-arguments-intercept": 1, - "subtractInteger-memory-arguments-slope": 1, - "tailList-cpu-arguments": 41182, - "tailList-memory-arguments": 32, - "trace-cpu-arguments": 212342, - "trace-memory-arguments": 32, - "unBData-cpu-arguments": 31220, - "unBData-memory-arguments": 32, - "unConstrData-cpu-arguments": 32696, - "unConstrData-memory-arguments": 32, - "unIData-cpu-arguments": 43357, - "unIData-memory-arguments": 32, - "unListData-cpu-arguments": 32247, - "unListData-memory-arguments": 32, - "unMapData-cpu-arguments": 38314, - "unMapData-memory-arguments": 32, - "verifyEcdsaSecp256k1Signature-cpu-arguments": 35892428, - "verifyEcdsaSecp256k1Signature-memory-arguments": 10, - "verifyEd25519Signature-cpu-arguments-intercept": 9462713, - "verifyEd25519Signature-cpu-arguments-slope": 1021, - "verifyEd25519Signature-memory-arguments": 10, - "verifySchnorrSecp256k1Signature-cpu-arguments-intercept": 38887044, - "verifySchnorrSecp256k1Signature-cpu-arguments-slope": 32947, - "verifySchnorrSecp256k1Signature-memory-arguments": 10 - }, + "PlutusV2": { + "addInteger-cpu-arguments-intercept": 205665, + "addInteger-cpu-arguments-slope": 812, + "addInteger-memory-arguments-intercept": 1, + "addInteger-memory-arguments-slope": 1, + "appendByteString-cpu-arguments-intercept": 1000, + "appendByteString-cpu-arguments-slope": 571, + "appendByteString-memory-arguments-intercept": 0, + "appendByteString-memory-arguments-slope": 1, + "appendString-cpu-arguments-intercept": 1000, + "appendString-cpu-arguments-slope": 24177, + "appendString-memory-arguments-intercept": 4, + "appendString-memory-arguments-slope": 1, + "bData-cpu-arguments": 1000, + "bData-memory-arguments": 32, + "blake2b_256-cpu-arguments-intercept": 117366, + "blake2b_256-cpu-arguments-slope": 10475, + "blake2b_256-memory-arguments": 4, + "cekApplyCost-exBudgetCPU": 23000, + "cekApplyCost-exBudgetMemory": 100, + "cekBuiltinCost-exBudgetCPU": 23000, + "cekBuiltinCost-exBudgetMemory": 100, + "cekConstCost-exBudgetCPU": 23000, + "cekConstCost-exBudgetMemory": 100, + "cekDelayCost-exBudgetCPU": 23000, + "cekDelayCost-exBudgetMemory": 100, + "cekForceCost-exBudgetCPU": 23000, + "cekForceCost-exBudgetMemory": 100, + "cekLamCost-exBudgetCPU": 23000, + "cekLamCost-exBudgetMemory": 100, + "cekStartupCost-exBudgetCPU": 100, + "cekStartupCost-exBudgetMemory": 100, + "cekVarCost-exBudgetCPU": 23000, + "cekVarCost-exBudgetMemory": 100, + "chooseData-cpu-arguments": 19537, + "chooseData-memory-arguments": 32, + "chooseList-cpu-arguments": 175354, + "chooseList-memory-arguments": 32, + "chooseUnit-cpu-arguments": 46417, + "chooseUnit-memory-arguments": 4, + "consByteString-cpu-arguments-intercept": 221973, + "consByteString-cpu-arguments-slope": 511, + "consByteString-memory-arguments-intercept": 0, + "consByteString-memory-arguments-slope": 1, + "constrData-cpu-arguments": 89141, + "constrData-memory-arguments": 32, + "decodeUtf8-cpu-arguments-intercept": 497525, + "decodeUtf8-cpu-arguments-slope": 14068, + "decodeUtf8-memory-arguments-intercept": 4, + "decodeUtf8-memory-arguments-slope": 2, + "divideInteger-cpu-arguments-constant": 196500, + "divideInteger-cpu-arguments-model-arguments-intercept": 453240, + "divideInteger-cpu-arguments-model-arguments-slope": 220, + "divideInteger-memory-arguments-intercept": 0, + "divideInteger-memory-arguments-minimum": 1, + "divideInteger-memory-arguments-slope": 1, + "encodeUtf8-cpu-arguments-intercept": 1000, + "encodeUtf8-cpu-arguments-slope": 28662, + "encodeUtf8-memory-arguments-intercept": 4, + "encodeUtf8-memory-arguments-slope": 2, + "equalsByteString-cpu-arguments-constant": 245000, + "equalsByteString-cpu-arguments-intercept": 216773, + "equalsByteString-cpu-arguments-slope": 62, + "equalsByteString-memory-arguments": 1, + "equalsData-cpu-arguments-intercept": 1060367, + "equalsData-cpu-arguments-slope": 12586, + "equalsData-memory-arguments": 1, + "equalsInteger-cpu-arguments-intercept": 208512, + "equalsInteger-cpu-arguments-slope": 421, + "equalsInteger-memory-arguments": 1, + "equalsString-cpu-arguments-constant": 187000, + "equalsString-cpu-arguments-intercept": 1000, + "equalsString-cpu-arguments-slope": 52998, + "equalsString-memory-arguments": 1, + "fstPair-cpu-arguments": 80436, + "fstPair-memory-arguments": 32, + "headList-cpu-arguments": 43249, + "headList-memory-arguments": 32, + "iData-cpu-arguments": 1000, + "iData-memory-arguments": 32, + "ifThenElse-cpu-arguments": 80556, + "ifThenElse-memory-arguments": 1, + "indexByteString-cpu-arguments": 57667, + "indexByteString-memory-arguments": 4, + "lengthOfByteString-cpu-arguments": 1000, + "lengthOfByteString-memory-arguments": 10, + "lessThanByteString-cpu-arguments-intercept": 197145, + "lessThanByteString-cpu-arguments-slope": 156, + "lessThanByteString-memory-arguments": 1, + "lessThanEqualsByteString-cpu-arguments-intercept": 197145, + "lessThanEqualsByteString-cpu-arguments-slope": 156, + "lessThanEqualsByteString-memory-arguments": 1, + "lessThanEqualsInteger-cpu-arguments-intercept": 204924, + "lessThanEqualsInteger-cpu-arguments-slope": 473, + "lessThanEqualsInteger-memory-arguments": 1, + "lessThanInteger-cpu-arguments-intercept": 208896, + "lessThanInteger-cpu-arguments-slope": 511, + "lessThanInteger-memory-arguments": 1, + "listData-cpu-arguments": 52467, + "listData-memory-arguments": 32, + "mapData-cpu-arguments": 64832, + "mapData-memory-arguments": 32, + "mkCons-cpu-arguments": 65493, + "mkCons-memory-arguments": 32, + "mkNilData-cpu-arguments": 22558, + "mkNilData-memory-arguments": 32, + "mkNilPairData-cpu-arguments": 16563, + "mkNilPairData-memory-arguments": 32, + "mkPairData-cpu-arguments": 76511, + "mkPairData-memory-arguments": 32, + "modInteger-cpu-arguments-constant": 196500, + "modInteger-cpu-arguments-model-arguments-intercept": 453240, + "modInteger-cpu-arguments-model-arguments-slope": 220, + "modInteger-memory-arguments-intercept": 0, + "modInteger-memory-arguments-minimum": 1, + "modInteger-memory-arguments-slope": 1, + "multiplyInteger-cpu-arguments-intercept": 69522, + "multiplyInteger-cpu-arguments-slope": 11687, + "multiplyInteger-memory-arguments-intercept": 0, + "multiplyInteger-memory-arguments-slope": 1, + "nullList-cpu-arguments": 60091, + "nullList-memory-arguments": 32, + "quotientInteger-cpu-arguments-constant": 196500, + "quotientInteger-cpu-arguments-model-arguments-intercept": 453240, + "quotientInteger-cpu-arguments-model-arguments-slope": 220, + "quotientInteger-memory-arguments-intercept": 0, + "quotientInteger-memory-arguments-minimum": 1, + "quotientInteger-memory-arguments-slope": 1, + "remainderInteger-cpu-arguments-constant": 196500, + "remainderInteger-cpu-arguments-model-arguments-intercept": 453240, + "remainderInteger-cpu-arguments-model-arguments-slope": 220, + "remainderInteger-memory-arguments-intercept": 0, + "remainderInteger-memory-arguments-minimum": 1, + "remainderInteger-memory-arguments-slope": 1, + "serialiseData-cpu-arguments-intercept": 1159724, + "serialiseData-cpu-arguments-slope": 392670, + "serialiseData-memory-arguments-intercept": 0, + "serialiseData-memory-arguments-slope": 2, + "sha2_256-cpu-arguments-intercept": 806990, + "sha2_256-cpu-arguments-slope": 30482, + "sha2_256-memory-arguments": 4, + "sha3_256-cpu-arguments-intercept": 1927926, + "sha3_256-cpu-arguments-slope": 82523, + "sha3_256-memory-arguments": 4, + "sliceByteString-cpu-arguments-intercept": 265318, + "sliceByteString-cpu-arguments-slope": 0, + "sliceByteString-memory-arguments-intercept": 4, + "sliceByteString-memory-arguments-slope": 0, + "sndPair-cpu-arguments": 85931, + "sndPair-memory-arguments": 32, + "subtractInteger-cpu-arguments-intercept": 205665, + "subtractInteger-cpu-arguments-slope": 812, + "subtractInteger-memory-arguments-intercept": 1, + "subtractInteger-memory-arguments-slope": 1, + "tailList-cpu-arguments": 41182, + "tailList-memory-arguments": 32, + "trace-cpu-arguments": 212342, + "trace-memory-arguments": 32, + "unBData-cpu-arguments": 31220, + "unBData-memory-arguments": 32, + "unConstrData-cpu-arguments": 32696, + "unConstrData-memory-arguments": 32, + "unIData-cpu-arguments": 43357, + "unIData-memory-arguments": 32, + "unListData-cpu-arguments": 32247, + "unListData-memory-arguments": 32, + "unMapData-cpu-arguments": 38314, + "unMapData-memory-arguments": 32, + "verifyEcdsaSecp256k1Signature-cpu-arguments": 35892428, + "verifyEcdsaSecp256k1Signature-memory-arguments": 10, + "verifyEd25519Signature-cpu-arguments-intercept": 9462713, + "verifyEd25519Signature-cpu-arguments-slope": 1021, + "verifyEd25519Signature-memory-arguments": 10, + "verifySchnorrSecp256k1Signature-cpu-arguments-intercept": 38887044, + "verifySchnorrSecp256k1Signature-cpu-arguments-slope": 32947, + "verifySchnorrSecp256k1Signature-memory-arguments": 10 + }, "PlutusV3" : { - "addInteger-cpu-arguments-intercept": 1, - "addInteger-cpu-arguments-slope": 1, - "addInteger-memory-arguments-intercept": 1, - "addInteger-memory-arguments-slope": 1, - "appendByteString-cpu-arguments-intercept": 1, - "appendByteString-cpu-arguments-slope": 1, - "appendByteString-memory-arguments-intercept": 1, - "appendByteString-memory-arguments-slope": 1, - "appendString-cpu-arguments-intercept": 1, - "appendString-cpu-arguments-slope": 1, - "appendString-memory-arguments-intercept": 1, - "appendString-memory-arguments-slope": 1, - "bData-cpu-arguments": 1, - "bData-memory-arguments": 1, - "blake2b_256-cpu-arguments-intercept": 1, - "blake2b_256-cpu-arguments-slope": 1, - "blake2b_256-memory-arguments": 1, - "cekApplyCost-exBudgetCPU": 1, - "cekApplyCost-exBudgetMemory": 1, - "cekBuiltinCost-exBudgetCPU": 1, - "cekBuiltinCost-exBudgetMemory": 1, - "cekConstCost-exBudgetCPU": 1, - "cekConstCost-exBudgetMemory": 1, - "cekDelayCost-exBudgetCPU": 1, - "cekDelayCost-exBudgetMemory": 1, - "cekForceCost-exBudgetCPU": 1, - "cekForceCost-exBudgetMemory": 1, - "cekLamCost-exBudgetCPU": 1, - "cekLamCost-exBudgetMemory": 1, - "cekStartupCost-exBudgetCPU": 1, - "cekStartupCost-exBudgetMemory": 1, - "cekVarCost-exBudgetCPU": 1, - "cekVarCost-exBudgetMemory": 1, - "chooseData-cpu-arguments": 1, - "chooseData-memory-arguments": 1, - "chooseList-cpu-arguments": 1, - "chooseList-memory-arguments": 1, - "chooseUnit-cpu-arguments": 1, - "chooseUnit-memory-arguments": 1, - "consByteString-cpu-arguments-intercept": 1, - "consByteString-cpu-arguments-slope": 1, - "consByteString-memory-arguments-intercept": 1, - "consByteString-memory-arguments-slope": 1, - "constrData-cpu-arguments": 1, - "constrData-memory-arguments": 1, - "decodeUtf8-cpu-arguments-intercept": 1, - "decodeUtf8-cpu-arguments-slope": 1, - "decodeUtf8-memory-arguments-intercept": 1, - "decodeUtf8-memory-arguments-slope": 1, - "divideInteger-cpu-arguments-constant": 1, - "divideInteger-cpu-arguments-model-arguments-intercept": 1, - "divideInteger-cpu-arguments-model-arguments-slope": 1, - "divideInteger-memory-arguments-intercept": 1, - "divideInteger-memory-arguments-minimum": 1, - "divideInteger-memory-arguments-slope": 1, - "encodeUtf8-cpu-arguments-intercept": 1, - "encodeUtf8-cpu-arguments-slope": 1, - "encodeUtf8-memory-arguments-intercept": 1, - "encodeUtf8-memory-arguments-slope": 1, - "equalsByteString-cpu-arguments-constant": 1, - "equalsByteString-cpu-arguments-intercept": 1, - "equalsByteString-cpu-arguments-slope": 1, - "equalsByteString-memory-arguments": 1, - "equalsData-cpu-arguments-intercept": 1, - "equalsData-cpu-arguments-slope": 1, - "equalsData-memory-arguments": 1, - "equalsInteger-cpu-arguments-intercept": 1, - "equalsInteger-cpu-arguments-slope": 1, - "equalsInteger-memory-arguments": 1, - "equalsString-cpu-arguments-constant": 1, - "equalsString-cpu-arguments-intercept": 1, - "equalsString-cpu-arguments-slope": 1, - "equalsString-memory-arguments": 1, - "fstPair-cpu-arguments": 1, - "fstPair-memory-arguments": 1, - "headList-cpu-arguments": 1, - "headList-memory-arguments": 1, - "iData-cpu-arguments": 1, - "iData-memory-arguments": 1, - "ifThenElse-cpu-arguments": 1, - "ifThenElse-memory-arguments": 1, - "indexByteString-cpu-arguments": 1, - "indexByteString-memory-arguments": 1, - "lengthOfByteString-cpu-arguments": 1, - "lengthOfByteString-memory-arguments": 1, - "lessThanByteString-cpu-arguments-intercept": 1, - "lessThanByteString-cpu-arguments-slope": 1, - "lessThanByteString-memory-arguments": 1, - "lessThanEqualsByteString-cpu-arguments-intercept": 1, - "lessThanEqualsByteString-cpu-arguments-slope": 1, - "lessThanEqualsByteString-memory-arguments": 1, - "lessThanEqualsInteger-cpu-arguments-intercept": 1, - "lessThanEqualsInteger-cpu-arguments-slope": 1, - "lessThanEqualsInteger-memory-arguments": 1, - "lessThanInteger-cpu-arguments-intercept": 1, - "lessThanInteger-cpu-arguments-slope": 1, - "lessThanInteger-memory-arguments": 1, - "listData-cpu-arguments": 1, - "listData-memory-arguments": 1, - "mapData-cpu-arguments": 1, - "mapData-memory-arguments": 1, - "mkCons-cpu-arguments": 1, - "mkCons-memory-arguments": 1, - "mkNilData-cpu-arguments": 1, - "mkNilData-memory-arguments": 1, - "mkNilPairData-cpu-arguments": 1, - "mkNilPairData-memory-arguments": 1, - "mkPairData-cpu-arguments": 1, - "mkPairData-memory-arguments": 1, - "modInteger-cpu-arguments-constant": 1, - "modInteger-cpu-arguments-model-arguments-intercept": 1, - "modInteger-cpu-arguments-model-arguments-slope": 1, - "modInteger-memory-arguments-intercept": 1, - "modInteger-memory-arguments-minimum": 1, - "modInteger-memory-arguments-slope": 1, - "multiplyInteger-cpu-arguments-intercept": 1, - "multiplyInteger-cpu-arguments-slope": 1, - "multiplyInteger-memory-arguments-intercept": 1, - "multiplyInteger-memory-arguments-slope": 1, - "nullList-cpu-arguments": 1, - "nullList-memory-arguments": 1, - "quotientInteger-cpu-arguments-constant": 1, - "quotientInteger-cpu-arguments-model-arguments-intercept": 1, - "quotientInteger-cpu-arguments-model-arguments-slope": 1, - "quotientInteger-memory-arguments-intercept": 1, - "quotientInteger-memory-arguments-minimum": 1, - "quotientInteger-memory-arguments-slope": 1, - "remainderInteger-cpu-arguments-constant": 1, - "remainderInteger-cpu-arguments-model-arguments-intercept": 1, - "remainderInteger-cpu-arguments-model-arguments-slope": 1, - "remainderInteger-memory-arguments-intercept": 1, - "remainderInteger-memory-arguments-minimum": 1, - "remainderInteger-memory-arguments-slope": 1, - "serialiseData-cpu-arguments-intercept": 1, - "serialiseData-cpu-arguments-slope": 1, - "serialiseData-memory-arguments-intercept": 1, - "serialiseData-memory-arguments-slope": 1, - "sha2_256-cpu-arguments-intercept": 1, - "sha2_256-cpu-arguments-slope": 1, - "sha2_256-memory-arguments": 1, - "sha3_256-cpu-arguments-intercept": 1, - "sha3_256-cpu-arguments-slope": 1, - "sha3_256-memory-arguments": 1, - "sliceByteString-cpu-arguments-intercept": 1, - "sliceByteString-cpu-arguments-slope": 1, - "sliceByteString-memory-arguments-intercept": 1, - "sliceByteString-memory-arguments-slope": 1, - "sndPair-cpu-arguments": 1, - "sndPair-memory-arguments": 1, - "subtractInteger-cpu-arguments-intercept": 1, - "subtractInteger-cpu-arguments-slope": 1, - "subtractInteger-memory-arguments-intercept": 1, - "subtractInteger-memory-arguments-slope": 1, - "tailList-cpu-arguments": 1, - "tailList-memory-arguments": 1, - "trace-cpu-arguments": 1, - "trace-memory-arguments": 1, - "unBData-cpu-arguments": 1, - "unBData-memory-arguments": 1, - "unConstrData-cpu-arguments": 1, - "unConstrData-memory-arguments": 1, - "unIData-cpu-arguments": 1, - "unIData-memory-arguments": 1, - "unListData-cpu-arguments": 1, - "unListData-memory-arguments": 1, - "unMapData-cpu-arguments": 1, - "unMapData-memory-arguments": 1, - "verifyEcdsaSecp256k1Signature-cpu-arguments": 1, - "verifyEcdsaSecp256k1Signature-memory-arguments": 1, - "verifyEd25519Signature-cpu-arguments-intercept": 1, - "verifyEd25519Signature-cpu-arguments-slope": 1, - "verifyEd25519Signature-memory-arguments": 1, - "verifySchnorrSecp256k1Signature-cpu-arguments-intercept": 1, - "verifySchnorrSecp256k1Signature-cpu-arguments-slope": 1, - "verifySchnorrSecp256k1Signature-memory-arguments": 1, - "cekConstrCost-exBudgetCPU": 1, - "cekConstrCost-exBudgetMemory": 1, - "cekCaseCost-exBudgetCPU": 1, - "cekCaseCost-exBudgetMemory": 1, - "bls12_381_G1_add-cpu-arguments": 1, - "bls12_381_G1_add-memory-arguments": 1, - "bls12_381_G1_compress-cpu-arguments": 1, - "bls12_381_G1_compress-memory-arguments": 1, - "bls12_381_G1_equal-cpu-arguments": 1, - "bls12_381_G1_equal-memory-arguments": 1, - "bls12_381_G1_hashToGroup-cpu-arguments-intercept": 1, - "bls12_381_G1_hashToGroup-cpu-arguments-slope": 1, - "bls12_381_G1_hashToGroup-memory-arguments": 1, - "bls12_381_G1_neg-cpu-arguments": 1, - "bls12_381_G1_neg-memory-arguments": 1, - "bls12_381_G1_scalarMul-cpu-arguments-intercept": 1, - "bls12_381_G1_scalarMul-cpu-arguments-slope": 1, - "bls12_381_G1_scalarMul-memory-arguments": 1, - "bls12_381_G1_uncompress-cpu-arguments": 1, - "bls12_381_G1_uncompress-memory-arguments": 1, - "bls12_381_G2_add-cpu-arguments": 1, - "bls12_381_G2_add-memory-arguments": 1, - "bls12_381_G2_compress-cpu-arguments": 1, - "bls12_381_G2_compress-memory-arguments": 1, - "bls12_381_G2_equal-cpu-arguments": 1, - "bls12_381_G2_equal-memory-arguments": 1, - "bls12_381_G2_hashToGroup-cpu-arguments-intercept": 1, - "bls12_381_G2_hashToGroup-cpu-arguments-slope": 1, - "bls12_381_G2_hashToGroup-memory-arguments": 1, - "bls12_381_G2_neg-cpu-arguments": 1, - "bls12_381_G2_neg-memory-arguments": 1, - "bls12_381_G2_scalarMul-cpu-arguments-intercept": 1, - "bls12_381_G2_scalarMul-cpu-arguments-slope": 1, - "bls12_381_G2_scalarMul-memory-arguments": 1, - "bls12_381_G2_uncompress-cpu-arguments": 1, - "bls12_381_G2_uncompress-memory-arguments": 1, - "bls12_381_finalVerify-cpu-arguments": 1, - "bls12_381_finalVerify-memory-arguments": 1, - "bls12_381_millerLoop-cpu-arguments": 1, - "bls12_381_millerLoop-memory-arguments": 1, - "bls12_381_mulMlResult-cpu-arguments": 1, - "bls12_381_mulMlResult-memory-arguments": 1, - "keccak_256-cpu-arguments-intercept": 1, - "keccak_256-cpu-arguments-slope": 1, - "keccak_256-memory-arguments": 1, - "blake2b_224-cpu-arguments-intercept": 1, - "blake2b_224-cpu-arguments-slope": 1, - "blake2b_224-memory-arguments": 1 + "addInteger-cpu-arguments-intercept": 1, + "addInteger-cpu-arguments-slope": 1, + "addInteger-memory-arguments-intercept": 1, + "addInteger-memory-arguments-slope": 1, + "appendByteString-cpu-arguments-intercept": 1, + "appendByteString-cpu-arguments-slope": 1, + "appendByteString-memory-arguments-intercept": 1, + "appendByteString-memory-arguments-slope": 1, + "appendString-cpu-arguments-intercept": 1, + "appendString-cpu-arguments-slope": 1, + "appendString-memory-arguments-intercept": 1, + "appendString-memory-arguments-slope": 1, + "bData-cpu-arguments": 1, + "bData-memory-arguments": 1, + "blake2b_224-cpu-arguments-intercept": 1, + "blake2b_224-cpu-arguments-slope": 1, + "blake2b_224-memory-arguments": 1, + "blake2b_256-cpu-arguments-intercept": 1, + "blake2b_256-cpu-arguments-slope": 1, + "blake2b_256-memory-arguments": 1, + "bls12_381_G1_add-cpu-arguments": 1, + "bls12_381_G1_add-memory-arguments": 1, + "bls12_381_G1_compress-cpu-arguments": 1, + "bls12_381_G1_compress-memory-arguments": 1, + "bls12_381_G1_equal-cpu-arguments": 1, + "bls12_381_G1_equal-memory-arguments": 1, + "bls12_381_G1_hashToGroup-cpu-arguments-intercept": 1, + "bls12_381_G1_hashToGroup-cpu-arguments-slope": 1, + "bls12_381_G1_hashToGroup-memory-arguments": 1, + "bls12_381_G1_neg-cpu-arguments": 1, + "bls12_381_G1_neg-memory-arguments": 1, + "bls12_381_G1_scalarMul-cpu-arguments-intercept": 1, + "bls12_381_G1_scalarMul-cpu-arguments-slope": 1, + "bls12_381_G1_scalarMul-memory-arguments": 1, + "bls12_381_G1_uncompress-cpu-arguments": 1, + "bls12_381_G1_uncompress-memory-arguments": 1, + "bls12_381_G2_add-cpu-arguments": 1, + "bls12_381_G2_add-memory-arguments": 1, + "bls12_381_G2_compress-cpu-arguments": 1, + "bls12_381_G2_compress-memory-arguments": 1, + "bls12_381_G2_equal-cpu-arguments": 1, + "bls12_381_G2_equal-memory-arguments": 1, + "bls12_381_G2_hashToGroup-cpu-arguments-intercept": 1, + "bls12_381_G2_hashToGroup-cpu-arguments-slope": 1, + "bls12_381_G2_hashToGroup-memory-arguments": 1, + "bls12_381_G2_neg-cpu-arguments": 1, + "bls12_381_G2_neg-memory-arguments": 1, + "bls12_381_G2_scalarMul-cpu-arguments-intercept": 1, + "bls12_381_G2_scalarMul-cpu-arguments-slope": 1, + "bls12_381_G2_scalarMul-memory-arguments": 1, + "bls12_381_G2_uncompress-cpu-arguments": 1, + "bls12_381_G2_uncompress-memory-arguments": 1, + "bls12_381_finalVerify-cpu-arguments": 1, + "bls12_381_finalVerify-memory-arguments": 1, + "bls12_381_millerLoop-cpu-arguments": 1, + "bls12_381_millerLoop-memory-arguments": 1, + "bls12_381_mulMlResult-cpu-arguments": 1, + "bls12_381_mulMlResult-memory-arguments": 1, + "byteStringToInteger-cpu-arguments-c0": 1, + "byteStringToInteger-cpu-arguments-c1": 1, + "byteStringToInteger-cpu-arguments-c2": 1, + "byteStringToInteger-memory-arguments-intercept": 1, + "byteStringToInteger-memory-arguments-slope": 1, + "cekApplyCost-exBudgetCPU": 1, + "cekApplyCost-exBudgetMemory": 1, + "cekBuiltinCost-exBudgetCPU": 1, + "cekBuiltinCost-exBudgetMemory": 1, + "cekCaseCost-exBudgetCPU": 1, + "cekCaseCost-exBudgetMemory": 1, + "cekConstCost-exBudgetCPU": 1, + "cekConstCost-exBudgetMemory": 1, + "cekConstrCost-exBudgetCPU": 1, + "cekConstrCost-exBudgetMemory": 1, + "cekDelayCost-exBudgetCPU": 1, + "cekDelayCost-exBudgetMemory": 1, + "cekForceCost-exBudgetCPU": 1, + "cekForceCost-exBudgetMemory": 1, + "cekLamCost-exBudgetCPU": 1, + "cekLamCost-exBudgetMemory": 1, + "cekStartupCost-exBudgetCPU": 1, + "cekStartupCost-exBudgetMemory": 1, + "cekVarCost-exBudgetCPU": 1, + "cekVarCost-exBudgetMemory": 1, + "chooseData-cpu-arguments": 1, + "chooseData-memory-arguments": 1, + "chooseList-cpu-arguments": 1, + "chooseList-memory-arguments": 1, + "chooseUnit-cpu-arguments": 1, + "chooseUnit-memory-arguments": 1, + "consByteString-cpu-arguments-intercept": 1, + "consByteString-cpu-arguments-slope": 1, + "consByteString-memory-arguments-intercept": 1, + "consByteString-memory-arguments-slope": 1, + "constrData-cpu-arguments": 1, + "constrData-memory-arguments": 1, + "decodeUtf8-cpu-arguments-intercept": 1, + "decodeUtf8-cpu-arguments-slope": 1, + "decodeUtf8-memory-arguments-intercept": 1, + "decodeUtf8-memory-arguments-slope": 1, + "divideInteger-cpu-arguments-constant": 1, + "divideInteger-cpu-arguments-model-arguments-intercept": 1, + "divideInteger-cpu-arguments-model-arguments-slope": 1, + "divideInteger-memory-arguments-intercept": 1, + "divideInteger-memory-arguments-minimum": 1, + "divideInteger-memory-arguments-slope": 1, + "encodeUtf8-cpu-arguments-intercept": 1, + "encodeUtf8-cpu-arguments-slope": 1, + "encodeUtf8-memory-arguments-intercept": 1, + "encodeUtf8-memory-arguments-slope": 1, + "equalsByteString-cpu-arguments-constant": 1, + "equalsByteString-cpu-arguments-intercept": 1, + "equalsByteString-cpu-arguments-slope": 1, + "equalsByteString-memory-arguments": 1, + "equalsData-cpu-arguments-intercept": 1, + "equalsData-cpu-arguments-slope": 1, + "equalsData-memory-arguments": 1, + "equalsInteger-cpu-arguments-intercept": 1, + "equalsInteger-cpu-arguments-slope": 1, + "equalsInteger-memory-arguments": 1, + "equalsString-cpu-arguments-constant": 1, + "equalsString-cpu-arguments-intercept": 1, + "equalsString-cpu-arguments-slope": 1, + "equalsString-memory-arguments": 1, + "fstPair-cpu-arguments": 1, + "fstPair-memory-arguments": 1, + "headList-cpu-arguments": 1, + "headList-memory-arguments": 1, + "iData-cpu-arguments": 1, + "iData-memory-arguments": 1, + "ifThenElse-cpu-arguments": 1, + "ifThenElse-memory-arguments": 1, + "indexByteString-cpu-arguments": 1, + "indexByteString-memory-arguments": 1, + "integerToByteString-cpu-arguments-c0": 1, + "integerToByteString-cpu-arguments-c1": 1, + "integerToByteString-cpu-arguments-c2": 1, + "integerToByteString-memory-arguments-intercept": 1, + "integerToByteString-memory-arguments-slope": 1, + "keccak_256-cpu-arguments-intercept": 1, + "keccak_256-cpu-arguments-slope": 1, + "keccak_256-memory-arguments": 1, + "lengthOfByteString-cpu-arguments": 1, + "lengthOfByteString-memory-arguments": 1, + "lessThanByteString-cpu-arguments-intercept": 1, + "lessThanByteString-cpu-arguments-slope": 1, + "lessThanByteString-memory-arguments": 1, + "lessThanEqualsByteString-cpu-arguments-intercept": 1, + "lessThanEqualsByteString-cpu-arguments-slope": 1, + "lessThanEqualsByteString-memory-arguments": 1, + "lessThanEqualsInteger-cpu-arguments-intercept": 1, + "lessThanEqualsInteger-cpu-arguments-slope": 1, + "lessThanEqualsInteger-memory-arguments": 1, + "lessThanInteger-cpu-arguments-intercept": 1, + "lessThanInteger-cpu-arguments-slope": 1, + "lessThanInteger-memory-arguments": 1, + "listData-cpu-arguments": 1, + "listData-memory-arguments": 1, + "mapData-cpu-arguments": 1, + "mapData-memory-arguments": 1, + "mkCons-cpu-arguments": 1, + "mkCons-memory-arguments": 1, + "mkNilData-cpu-arguments": 1, + "mkNilData-memory-arguments": 1, + "mkNilPairData-cpu-arguments": 1, + "mkNilPairData-memory-arguments": 1, + "mkPairData-cpu-arguments": 1, + "mkPairData-memory-arguments": 1, + "modInteger-cpu-arguments-constant": 1, + "modInteger-cpu-arguments-model-arguments-intercept": 1, + "modInteger-cpu-arguments-model-arguments-slope": 1, + "modInteger-memory-arguments-intercept": 1, + "modInteger-memory-arguments-minimum": 1, + "modInteger-memory-arguments-slope": 1, + "multiplyInteger-cpu-arguments-intercept": 1, + "multiplyInteger-cpu-arguments-slope": 1, + "multiplyInteger-memory-arguments-intercept": 1, + "multiplyInteger-memory-arguments-slope": 1, + "nullList-cpu-arguments": 1, + "nullList-memory-arguments": 1, + "quotientInteger-cpu-arguments-constant": 1, + "quotientInteger-cpu-arguments-model-arguments-intercept": 1, + "quotientInteger-cpu-arguments-model-arguments-slope": 1, + "quotientInteger-memory-arguments-intercept": 1, + "quotientInteger-memory-arguments-minimum": 1, + "quotientInteger-memory-arguments-slope": 1, + "remainderInteger-cpu-arguments-constant": 1, + "remainderInteger-cpu-arguments-model-arguments-intercept": 1, + "remainderInteger-cpu-arguments-model-arguments-slope": 1, + "remainderInteger-memory-arguments-intercept": 1, + "remainderInteger-memory-arguments-minimum": 1, + "remainderInteger-memory-arguments-slope": 1, + "serialiseData-cpu-arguments-intercept": 1, + "serialiseData-cpu-arguments-slope": 1, + "serialiseData-memory-arguments-intercept": 1, + "serialiseData-memory-arguments-slope": 1, + "sha2_256-cpu-arguments-intercept": 1, + "sha2_256-cpu-arguments-slope": 1, + "sha2_256-memory-arguments": 1, + "sha3_256-cpu-arguments-intercept": 1, + "sha3_256-cpu-arguments-slope": 1, + "sha3_256-memory-arguments": 1, + "sliceByteString-cpu-arguments-intercept": 1, + "sliceByteString-cpu-arguments-slope": 1, + "sliceByteString-memory-arguments-intercept": 1, + "sliceByteString-memory-arguments-slope": 1, + "sndPair-cpu-arguments": 1, + "sndPair-memory-arguments": 1, + "subtractInteger-cpu-arguments-intercept": 1, + "subtractInteger-cpu-arguments-slope": 1, + "subtractInteger-memory-arguments-intercept": 1, + "subtractInteger-memory-arguments-slope": 1, + "tailList-cpu-arguments": 1, + "tailList-memory-arguments": 1, + "trace-cpu-arguments": 1, + "trace-memory-arguments": 1, + "unBData-cpu-arguments": 1, + "unBData-memory-arguments": 1, + "unConstrData-cpu-arguments": 1, + "unConstrData-memory-arguments": 1, + "unIData-cpu-arguments": 1, + "unIData-memory-arguments": 1, + "unListData-cpu-arguments": 1, + "unListData-memory-arguments": 1, + "unMapData-cpu-arguments": 1, + "unMapData-memory-arguments": 1, + "verifyEcdsaSecp256k1Signature-cpu-arguments": 1, + "verifyEcdsaSecp256k1Signature-memory-arguments": 1, + "verifyEd25519Signature-cpu-arguments-intercept": 1, + "verifyEd25519Signature-cpu-arguments-slope": 1, + "verifyEd25519Signature-memory-arguments": 1, + "verifySchnorrSecp256k1Signature-cpu-arguments-intercept": 1, + "verifySchnorrSecp256k1Signature-cpu-arguments-slope": 1, + "verifySchnorrSecp256k1Signature-memory-arguments": 1 } } diff --git a/flake.lock b/flake.lock index 991932cce7..8ade406b7c 100644 --- a/flake.lock +++ b/flake.lock @@ -3,11 +3,11 @@ "CHaP": { "flake": false, "locked": { - "lastModified": 1711325252, - "narHash": "sha256-EsfeiMBkJapk5LnPTG0hJCvTTAH3FmZpVE9Upji23FI=", + "lastModified": 1712241301, + "narHash": "sha256-Np3AKeg8JuT53MaoA9HAP3Rk+mzFJR05LbmamXtpeXM=", "owner": "intersectmbo", "repo": "cardano-haskell-packages", - "rev": "8266a425ea940ce8dd813973c61544ced6f4e5da", + "rev": "91e98f31ae16e5a5833224c8ac46532fb72964a4", "type": "github" }, "original": {