Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PLT-568: Switch to Babbage era #614

Merged
merged 5 commits into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plutus-chain-index-core/src/Plutus/ChainIndex/Tx.hs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import Data.Set qualified as Set
import Data.Tuple (swap)
import Ledger (OnChainTx (..), SomeCardanoApiTx (SomeTx), Tx (..), TxIn (..), TxInType (..), TxOutRef (..), onCardanoTx,
txId)
import Ledger.Tx.CardanoAPI (toCardanoTxOutBabbage, toCardanoTxOutDatumHashBabbage)
import Ledger.Tx.CardanoAPI (toCardanoTxOut, toCardanoTxOutDatumHash)
import Plutus.ChainIndex.Types
import Plutus.Contract.CardanoAPI (fromCardanoTx, fromCardanoTxOut, setValidity)
import Plutus.Script.Utils.V1.Scripts (datumHash, mintingPolicyHash, redeemerHash, validatorHash)
Expand Down Expand Up @@ -89,7 +89,7 @@ fromOnChainTx networkId = \case
ChainIndexTx
{ _citxTxId = txId tx
, _citxInputs = Set.toList txInputs
, _citxOutputs = case traverse (toCardanoTxOutBabbage networkId toCardanoTxOutDatumHashBabbage) txOutputs of
, _citxOutputs = case traverse (toCardanoTxOut networkId toCardanoTxOutDatumHash) txOutputs of
Right txs -> either (const InvalidTx) ValidTx $ traverse fromCardanoTxOut txs
Left _ -> InvalidTx
, _citxValidRange = txValidRange
Expand Down
4 changes: 2 additions & 2 deletions plutus-chain-index-core/src/Plutus/Contract/CardanoAPI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ fromCardanoTxOut (C.TxOut addr val datum refScript) =
<*> (pure $ fromCardanoTxOutRefScript refScript)

setValidity :: Bool -> C.Tx era -> C.Tx era
setValidity validity (C.Tx (C.ShelleyTxBody C.ShelleyBasedEraAlonzo txBody scripts dat aux _) era) =
C.Tx (C.ShelleyTxBody C.ShelleyBasedEraAlonzo txBody scripts dat aux (toTxScriptValidity validity)) era
setValidity validity (C.Tx (C.ShelleyTxBody shelleyBasedEra txBody scripts dat aux _) era) =
C.Tx (C.ShelleyTxBody shelleyBasedEra txBody scripts dat aux (toTxScriptValidity shelleyBasedEra validity)) era
setValidity _ tx = tx -- @setValidity@ only applies in Alonzo era (and newer)

fromCardanoTxOutRefScript :: C.ReferenceScript era -> ReferenceScript
Expand Down
8 changes: 4 additions & 4 deletions plutus-contract/src/Plutus/Contract/Wallet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ instance ToJSON ExportTxRedeemer where
-- | Partial transaction that can be balanced by the wallet backend.
data ExportTx =
ExportTx
{ partialTx :: C.Tx C.AlonzoEra -- ^ The transaction itself
{ partialTx :: C.Tx C.BabbageEra -- ^ The transaction itself
, lookups :: [ExportTxInput] -- ^ The tx outputs for all inputs spent by the partial tx
, redeemers :: [ExportTxRedeemer]
}
Expand All @@ -183,7 +183,7 @@ instance FromJSON ExportTx where
parsePartialTx v =
v .: "transaction" >>= \t ->
either parseFail pure $ JSON.tryDecode t
>>= (first show . C.deserialiseFromCBOR (C.AsTx C.AsAlonzoEra))
>>= (first show . C.deserialiseFromCBOR (C.AsTx C.AsBabbageEra))

-- IMPORTANT: The JSON produced here needs to match the schema expected by
-- https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/balanceTransaction
Expand All @@ -199,7 +199,7 @@ data ExportTxInput =
ExportTxInput
{ etxiId :: C.TxId
, etxiTxIx :: C.TxIx
, etxiAddress :: C.AddressInEra C.AlonzoEra
, etxiAddress :: C.AddressInEra C.BabbageEra
, etxiLovelaceQuantity :: C.Lovelace
, etxiDatumHash :: Maybe (C.Hash C.ScriptData)
, etxiAssets :: [(C.PolicyId, C.AssetName, C.Quantity)]
Expand All @@ -218,7 +218,7 @@ instance FromJSON ExportTxInput where
where
parseAddress o = do
addressField <- o .: "address"
let deserialisedAddr = C.deserialiseAddress (C.AsAddressInEra C.AsAlonzoEra) addressField
let deserialisedAddr = C.deserialiseAddress (C.AsAddressInEra C.AsBabbageEra) addressField
maybe (parseFail "Failed to deserialise address field") pure deserialisedAddr
parseAsset :: Object -> Parser (C.PolicyId, C.AssetName, C.Quantity)
parseAsset o = do
Expand Down
2 changes: 1 addition & 1 deletion plutus-contract/src/Wallet/Rollup.hs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ annotateTransaction sequenceId tx = do
, valid = eitherTx (const False) (const True) tx
}
where
getEmulatorTx = Tx.onCardanoTx id (error "Wallet.Rollup.annotateTransaction: Expecting a mock tx, not an Alonzo tx.")
getEmulatorTx = Tx.onCardanoTx id (error "Wallet.Rollup.annotateTransaction: Expecting a mock tx, not a cardano-api tx.")

annotateChainSlot :: Monad m => Int -> Block -> StateT Rollup m [AnnotatedTx]
annotateChainSlot slotIndex =
Expand Down
6 changes: 3 additions & 3 deletions plutus-contract/test/Spec/Plutus/Contract/Wallet.hs
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ exportTxGen :: (Hedgehog.GenBase m ~ Identity, MonadFail m, MonadGen m) => m Exp
exportTxGen = do
exportTxInputs <- Gen.list (Range.linear 0 5) exportTxInputGen
ExportTx
<$> Hedgehog.fromGenT (Gen.genTx C.AlonzoEra)
<$> Hedgehog.fromGenT (Gen.genTx C.BabbageEra)
<*> pure exportTxInputs
<*> exportTxRedeemersGen exportTxInputs

exportTxInputGen :: (Hedgehog.GenBase m ~ Identity, MonadFail m, MonadGen m) => m ExportTxInput
exportTxInputGen = do
C.TxIn txId txIx <- Hedgehog.fromGenT Gen.genTxIn
C.TxOut addressInEra txOutValue txOutDatum _ <- Hedgehog.fromGenT (Gen.genTxOutTxContext C.AlonzoEra)
C.TxOut addressInEra txOutValue txOutDatum _ <- Hedgehog.fromGenT (Gen.genTxOutTxContext C.BabbageEra)
let datumToScriptDataHash C.TxOutDatumNone = Nothing
datumToScriptDataHash (C.TxOutDatumHash _ h) = Just h
datumToScriptDataHash (C.TxOutDatumInTx _ d) = Just $ C.hashScriptData d
Expand All @@ -66,7 +66,7 @@ exportTxInputGen = do
(datumToScriptDataHash txOutDatum)
(currenciesFromTxOutValue txOutValue)

currenciesFromTxOutValue :: C.TxOutValue C.AlonzoEra -> [(C.PolicyId, C.AssetName, C.Quantity)]
currenciesFromTxOutValue :: C.TxOutValue C.BabbageEra -> [(C.PolicyId, C.AssetName, C.Quantity)]
currenciesFromTxOutValue txOutValue =
mapMaybe currencyFromValue $ C.valueToList $ C.txOutValueToValue txOutValue
where
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,45 @@ Slot 00001: W[10]: InsertionSuccess: New tip is Tip(Slot 1, BlockId 226f7395cf83
Slot 00001: W[9]: InsertionSuccess: New tip is Tip(Slot 1, BlockId 226f7395cf83ccc2b595233a03d8c7f3050edcde40fb1d27565412b4653a8510, BlockNumber 0). UTxO state was added to the end.
Slot 00001: W[3]: InsertionSuccess: New tip is Tip(Slot 1, BlockId 226f7395cf83ccc2b595233a03d8c7f3050edcde40fb1d27565412b4653a8510, BlockNumber 0). UTxO state was added to the end.
Slot 00001: W[5]: InsertionSuccess: New tip is Tip(Slot 1, BlockId 226f7395cf83ccc2b595233a03d8c7f3050edcde40fb1d27565412b4653a8510, BlockNumber 0). UTxO state was added to the end.
Slot 00001: W[1]: TxSubmit: 2d1cd4a720abbab6b59fa24d74331f5cbda4c1705c8bf7788e9e699c1557e7f8
Slot 00001: TxnValidate 2d1cd4a720abbab6b59fa24d74331f5cbda4c1705c8bf7788e9e699c1557e7f8
Slot 00001: W[1]: TxSubmit: 610351dd823226aa802cbcb93ac89734ed6f420d1e70b62dceaac7c8f2b3f14f
Slot 00001: TxnValidate 610351dd823226aa802cbcb93ac89734ed6f420d1e70b62dceaac7c8f2b3f14f
Slot 00001: SlotAdd Slot 2
Slot 00002: W[7]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 0cc5b723cc59a8a4e4314c1535c1cc2fa676642950ac42b37a945b7cd8d924ec, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[8]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 0cc5b723cc59a8a4e4314c1535c1cc2fa676642950ac42b37a945b7cd8d924ec, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[6]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 0cc5b723cc59a8a4e4314c1535c1cc2fa676642950ac42b37a945b7cd8d924ec, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[4]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 0cc5b723cc59a8a4e4314c1535c1cc2fa676642950ac42b37a945b7cd8d924ec, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[2]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 0cc5b723cc59a8a4e4314c1535c1cc2fa676642950ac42b37a945b7cd8d924ec, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[1]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 0cc5b723cc59a8a4e4314c1535c1cc2fa676642950ac42b37a945b7cd8d924ec, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[10]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 0cc5b723cc59a8a4e4314c1535c1cc2fa676642950ac42b37a945b7cd8d924ec, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[9]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 0cc5b723cc59a8a4e4314c1535c1cc2fa676642950ac42b37a945b7cd8d924ec, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[3]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 0cc5b723cc59a8a4e4314c1535c1cc2fa676642950ac42b37a945b7cd8d924ec, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[5]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 0cc5b723cc59a8a4e4314c1535c1cc2fa676642950ac42b37a945b7cd8d924ec, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[2]: TxSubmit: 93118a92bdbaef8184ca9604466ee1eca4478d9a07a5add6254a6471eadf7c57
Slot 00002: TxnValidate 93118a92bdbaef8184ca9604466ee1eca4478d9a07a5add6254a6471eadf7c57
Slot 00002: W[7]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 659b01c443f845981b0b970cd2494b8f6247063b4ee3dd54ab76b0b3c7efef2a, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[8]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 659b01c443f845981b0b970cd2494b8f6247063b4ee3dd54ab76b0b3c7efef2a, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[6]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 659b01c443f845981b0b970cd2494b8f6247063b4ee3dd54ab76b0b3c7efef2a, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[4]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 659b01c443f845981b0b970cd2494b8f6247063b4ee3dd54ab76b0b3c7efef2a, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[2]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 659b01c443f845981b0b970cd2494b8f6247063b4ee3dd54ab76b0b3c7efef2a, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[1]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 659b01c443f845981b0b970cd2494b8f6247063b4ee3dd54ab76b0b3c7efef2a, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[10]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 659b01c443f845981b0b970cd2494b8f6247063b4ee3dd54ab76b0b3c7efef2a, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[9]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 659b01c443f845981b0b970cd2494b8f6247063b4ee3dd54ab76b0b3c7efef2a, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[3]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 659b01c443f845981b0b970cd2494b8f6247063b4ee3dd54ab76b0b3c7efef2a, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[5]: InsertionSuccess: New tip is Tip(Slot 2, BlockId 659b01c443f845981b0b970cd2494b8f6247063b4ee3dd54ab76b0b3c7efef2a, BlockNumber 1). UTxO state was added to the end.
Slot 00002: W[2]: TxSubmit: 00b163087f3b4135768514c09917bbc76f80bef200448d0de0b15f6d83b94c99
Slot 00002: TxnValidate 00b163087f3b4135768514c09917bbc76f80bef200448d0de0b15f6d83b94c99
Slot 00002: SlotAdd Slot 3
Slot 00003: W[7]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 720a317b142a28123f8613a83c31afb06faacf8b9a0e9a290935e9215e6bde0b, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[8]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 720a317b142a28123f8613a83c31afb06faacf8b9a0e9a290935e9215e6bde0b, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[6]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 720a317b142a28123f8613a83c31afb06faacf8b9a0e9a290935e9215e6bde0b, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[4]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 720a317b142a28123f8613a83c31afb06faacf8b9a0e9a290935e9215e6bde0b, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[2]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 720a317b142a28123f8613a83c31afb06faacf8b9a0e9a290935e9215e6bde0b, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[1]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 720a317b142a28123f8613a83c31afb06faacf8b9a0e9a290935e9215e6bde0b, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[10]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 720a317b142a28123f8613a83c31afb06faacf8b9a0e9a290935e9215e6bde0b, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[9]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 720a317b142a28123f8613a83c31afb06faacf8b9a0e9a290935e9215e6bde0b, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[3]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 720a317b142a28123f8613a83c31afb06faacf8b9a0e9a290935e9215e6bde0b, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[5]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 720a317b142a28123f8613a83c31afb06faacf8b9a0e9a290935e9215e6bde0b, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[3]: TxSubmit: 81bf50eb50a9a1841631a0ad48ff79f250a0c344bc4780b0591cb79992c18844
Slot 00003: TxnValidate 81bf50eb50a9a1841631a0ad48ff79f250a0c344bc4780b0591cb79992c18844
Slot 00003: W[7]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 2c0ac0c0b6a7085f872d92f096b184a99abfaa91d945de72a40583bbe80fdc6a, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[8]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 2c0ac0c0b6a7085f872d92f096b184a99abfaa91d945de72a40583bbe80fdc6a, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[6]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 2c0ac0c0b6a7085f872d92f096b184a99abfaa91d945de72a40583bbe80fdc6a, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[4]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 2c0ac0c0b6a7085f872d92f096b184a99abfaa91d945de72a40583bbe80fdc6a, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[2]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 2c0ac0c0b6a7085f872d92f096b184a99abfaa91d945de72a40583bbe80fdc6a, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[1]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 2c0ac0c0b6a7085f872d92f096b184a99abfaa91d945de72a40583bbe80fdc6a, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[10]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 2c0ac0c0b6a7085f872d92f096b184a99abfaa91d945de72a40583bbe80fdc6a, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[9]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 2c0ac0c0b6a7085f872d92f096b184a99abfaa91d945de72a40583bbe80fdc6a, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[3]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 2c0ac0c0b6a7085f872d92f096b184a99abfaa91d945de72a40583bbe80fdc6a, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[5]: InsertionSuccess: New tip is Tip(Slot 3, BlockId 2c0ac0c0b6a7085f872d92f096b184a99abfaa91d945de72a40583bbe80fdc6a, BlockNumber 2). UTxO state was added to the end.
Slot 00003: W[3]: TxSubmit: 919833072f506be9089ddd66c42879a19f5eb685de7a1ac2572fd698f96dae7b
Slot 00003: TxnValidate 919833072f506be9089ddd66c42879a19f5eb685de7a1ac2572fd698f96dae7b
Slot 00003: SlotAdd Slot 4
Slot 00004: W[7]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 445225a36921533239cab8919588eb7d9bc6923974854e1df509e1a41ace4daa, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[8]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 445225a36921533239cab8919588eb7d9bc6923974854e1df509e1a41ace4daa, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[6]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 445225a36921533239cab8919588eb7d9bc6923974854e1df509e1a41ace4daa, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[4]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 445225a36921533239cab8919588eb7d9bc6923974854e1df509e1a41ace4daa, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[2]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 445225a36921533239cab8919588eb7d9bc6923974854e1df509e1a41ace4daa, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[1]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 445225a36921533239cab8919588eb7d9bc6923974854e1df509e1a41ace4daa, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[10]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 445225a36921533239cab8919588eb7d9bc6923974854e1df509e1a41ace4daa, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[9]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 445225a36921533239cab8919588eb7d9bc6923974854e1df509e1a41ace4daa, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[3]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 445225a36921533239cab8919588eb7d9bc6923974854e1df509e1a41ace4daa, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[5]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 445225a36921533239cab8919588eb7d9bc6923974854e1df509e1a41ace4daa, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[7]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 738dfaf6c5834bfb87f57f4373b12045c21f49f5a6e6c1313b2bd198c240b558, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[8]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 738dfaf6c5834bfb87f57f4373b12045c21f49f5a6e6c1313b2bd198c240b558, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[6]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 738dfaf6c5834bfb87f57f4373b12045c21f49f5a6e6c1313b2bd198c240b558, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[4]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 738dfaf6c5834bfb87f57f4373b12045c21f49f5a6e6c1313b2bd198c240b558, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[2]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 738dfaf6c5834bfb87f57f4373b12045c21f49f5a6e6c1313b2bd198c240b558, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[1]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 738dfaf6c5834bfb87f57f4373b12045c21f49f5a6e6c1313b2bd198c240b558, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[10]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 738dfaf6c5834bfb87f57f4373b12045c21f49f5a6e6c1313b2bd198c240b558, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[9]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 738dfaf6c5834bfb87f57f4373b12045c21f49f5a6e6c1313b2bd198c240b558, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[3]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 738dfaf6c5834bfb87f57f4373b12045c21f49f5a6e6c1313b2bd198c240b558, BlockNumber 3). UTxO state was added to the end.
Slot 00004: W[5]: InsertionSuccess: New tip is Tip(Slot 4, BlockId 738dfaf6c5834bfb87f57f4373b12045c21f49f5a6e6c1313b2bd198c240b558, BlockNumber 3). UTxO state was added to the end.
Slot 00004: SlotAdd Slot 5
Final balances
Wallet 7:
Expand All @@ -60,14 +60,14 @@ Wallet 6:
Wallet 4:
{, ""}: 100000000
Wallet 2:
{, ""}: 99822487
{, ""}: 99822311
Wallet 1:
{, ""}: 99828427
{, ""}: 99828251
Wallet 10:
{, ""}: 100000000
Wallet 9:
{, ""}: 100000000
Wallet 3:
{, ""}: 99822487
{, ""}: 99822311
Wallet 5:
{, ""}: 100000000
Loading