File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
proto/utxorpc/v1alpha/cardano
src/Cardano/Rpc/Server/Internal
test/cardano-rpc-test/Test/Cardano/Rpc Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ message Script {
4040 bytes plutus_v1 = 2 ; // Plutus V1 script.
4141 bytes plutus_v2 = 3 ; // Plutus V2 script.
4242 bytes plutus_v3 = 4 ; // Plutus V3 script.
43+ bytes plutus_v4 = 5 ; // Plutus V3 script.
4344 }
4445}
4546
Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ instance Inject (ReferenceScript era) (Proto UtxoRpc.Script) where
8686 defMessage & # plutusV2 .~ serialiseToRawBytes ps
8787 PlutusScript PlutusScriptV3 ps ->
8888 defMessage & # plutusV3 .~ serialiseToRawBytes ps
89+ PlutusScript PlutusScriptV4 ps ->
90+ defMessage & # plutusV4 .~ serialiseToRawBytes ps
8991
9092instance IsCardanoEra era => Inject (UTxO era ) [Proto UtxoRpc. AnyUtxoData ] where
9193 inject utxo =
Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ hprop_roundtrip_protocol_parameters = H.property $ do
3535 pp <- fmap unLedgerProtocolParameters . H. forAll $ genValidProtocolParameters (convert era)
3636 let costModels = L. costModelsValid $ pp ^. L. ppCostModelsL
3737 mCms = map (`M.lookup` costModels) [minBound .. maxBound ]
38-
3938 nonEmptyCostModels =
4039 fromList . flip mapMaybe mCms $ \ mCm ->
4140 mCm >>= \ cm ->
You can’t perform that action at this time.
0 commit comments