You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try referencing an output that is also a regular input of the same transaction (is there conflict and does cli option order affect the outcome). I expect no conflict and TxInfo should have the txo as both both a regular and reference input.
Confirm that the spending conditions on referenced outputs are not checked
Confirm that reference input cannot be at Byron address - error is ByronTxOutInContext
Byron addresses are not allowed to be in PlutusV2 ScriptContext
Large number of reference inputs can be seen in script context
cli includes fee in calculation for additional reference inputs
(AC) Two different transactions can fetch the same reference input in the same block.
CIP-0032 Inline datums (quotes are from cip spec)
Can spend output with inline datum attached and this removes it from ledger state
Is invalid to include datum as both witness and input (ledger error is NonOutputSupplimentaryDatums)
Also try as embedded/optional datum (shouldn't be invalid to combine with inline datum)
Try attaching datum that is not valid or well-formed script data
Try referencing two outputs that both hold the exact same datum (TxInfo should behave correctly)
Is there a way to break CLI displaying large attached datum (try multiple utxos with large or deeply nested json) - Doesn't seem to break but things start looking funky!
Confirm that attached BS datum and datum hash are distinctly different enough to not fool a cli output parser
Prove that "Scripts with old versions cannot be spent in transactions that include inline datums, attempting to do so will be a phase 1 transaction validation failure."
Datum witnessing requirements cannot be satisfied with reference inputs. Outputs with hashes must have datum included in transaction body as witness. We should prove that:
"when an output with an inline datum is spent, the spending transaction does not need to provide the datum itself."
a reference input with datum requires no witness, and so it should only be visible in TxOut and not txInfoData map.
Plutus can see regular inline datum in txInfoInputs
Plutus can see referenced inline datum in txInfoReferenceInputs
Large inline datums - cli correctly complains if exceeding tx size limit but it hangs on submit if the datum is overly large
Can be spent from vkey address
When no scripts are being executed
When some script is being executed (e.g. minting policy)
transaction view shows correct inline datum details
Plutus can see regular input script hash txInfoInputs
Plutus can see reference input script hash txInfoReferenceInputs
Reference and execute multiple of the same spending script in the same transaction - (AC) uses multiple inline datums
Reference and execute multiple different spending script in the same transaction
Reference wrong spending script when spending from script address - Correctly fails, error is RdmrPtr Spend 1 points to a Plutus script that does not exist.
Reference scripts are not run when not needed (e.g. referenced but transaction is not spending from its script address)
When spending a key-locked output and also referencing a script that doesn't need to run (don't provide collateral or pparams)
PlutusV1 script (V1 should work is not being executed)
PlutusV2 spending script
PlutusV2 minting script
Simple script
When running a spending script and also referencing a script that doesn't need to run
PlutusV1 script (V1 should work is not being executed)
PlutusV2 spending script
PlutusV2 minting script
Simple script
When minting and also referencing a script that doesn't need to run
Minting with attached PlutusV2 script
Minting with reference PlutusV2 script
Minting with attached simple script
Minting with reference simple script
Inspect or read a script stored onchain using node-cli - used query cmd to produce output file
Produce a valid transaction with both a reference script and datum at same utxo input
Prove that calculated fee and collateral are cheaper when using a reference script
Collateral is correctly taken for failing reference script
Mix of attached and reference scripts in a single valid transaction
Try attaching the same script that is being referenced - Correctly errors ExtraneousScriptWitnessesUTXOW
PlutusV2 spending script
PlutusV2 minting script
Try referencing and attaching different scripts in a single transaction and prove correct output if only one fails or if both pass
Try attaching and referencing a pre-Vasil (V1) script - should fail phase1 validation only when script executes - Command failed: transaction build Error: Error translating the transaction context: ReferenceInputsNotSupported
Try attaching and referencing something that is not a script or is not well-formed
Simple script
PlutusV1 script
PlutusV2 script
Change type from Simple to Plutus before attaching and referencing, and vice versa
Change type from PlutusV1 to PlutusV2 before attaching and referencing,, and vice versa
Ensure redeemers for a mix of script purposes in transaction are visible in txInfoRedeemers (proved with multiple spending and a minting script in single transaction)
In combination with reference spending PlutusV2 script
In combination with reference minting PlutusV2 script
SECP256k1
Work with MLabs to test the 2 builtin functions - MLabs have demonstrated successful verification of both on vasil-testnet
Work with MLabs to automate the 2 builtin functions
The text was updated successfully, but these errors were encountered:
This is a checklist for testing for Vasil HF with a focus on Plutus V2 functionality. We can break these points out to automate regression tests.
Acceptance Criteria
Out of scope
serialiseData
covered by Hydra TeamCIP-0031 Reference Inputs
ByronTxOutInContext
transaction view
shows correct reference input detailsCIP-0032 Inline datums (quotes are from cip spec)
NonOutputSupplimentaryDatums
)txInfoInputs
txInfoReferenceInputs
transaction view
shows correct inline datum detailsCIP-0033 Reference Scripts
ReferenceInputsNotSupported
Error: Negative quantity (-1) in transaction output
txInfoInputs
txInfoReferenceInputs
RdmrPtr Spend 1 points to a Plutus script that does not exist.
query
cmd to produce output fileExtraneousScriptWitnessesUTXOW
Command failed: transaction build Error: Error translating the transaction context: ReferenceInputsNotSupported
transaction view
shows correct reference script detailsReturn Collateral
--tx-total-collateral
--tx-out-return-collateral
don't prevent a successful non-plutus transactionRedeemers in TxInfo
txInfoRedeemers
(proved with multiple spending and a minting script in single transaction)SECP256k1
The text was updated successfully, but these errors were encountered: