-
Notifications
You must be signed in to change notification settings - Fork 501
Open
Labels
Description
This ticket is created to track progress on PlutusV4 context that will include at least two CIPs:
Considering that CIP-112 will be required for CIP-118 it makes sense to start with it first.
- - Define
PlutusV4version inplutus-ledger-api:plutus/plutus-ledger-api/src/PlutusLedgerApi/Common/Versions.hs
Lines 89 to 92 in fa5c9e6
data PlutusLedgerLanguage = PlutusV1 -- ^ introduced in Alonzo HF | PlutusV2 -- ^ introduced in Vasil HF | PlutusV3 -- ^ introduced in Chang HF - - Create
V4inplutus-ledger-api:PlutusLedgerApithat reuses as much stuff from V1-V3 as possible - - Define
TxInfofor PlutusV4 - - Add
txInfoGuards :: [Credential]toTxInfofor PlutusV4 field and removetxInfoSignatories, since former supersedes the latter (Note that we will be using the term Guards in the implementation instead of Observers as CIP-112. CC @colll78 if you are still up to renaming the CIP to avoid confusion) - - Add
Guardingscript purpose - - Remove
PointerAddresscase for PlutusV4. See Fail PlutusV4 TxInfo translation when a Ptr is present in any of the outputs cardano-ledger#4832 for reference - - TBD: CIP-118 related parts added to TxInfo.
I'd recommend creating a child ticket for each of the bullet points, so the progress can be tracked at more granular level, but I'll leave this up to the Plutus team.