-
Notifications
You must be signed in to change notification settings - Fork 721
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
All Babbage related Plutus testing #3766
Comments
For reference, here is everything that can end up in the context in the Babbage era for both PV1 and PV2: Most of the types are the same between PV1 and PV2, but most notably |
This unmerged PR modifies @hamishmack is looking in to some nix/ghcjs issues with
|
@Jimbo4350 some points to consider: CIP-0031 Reference Inputs
CIP-0032 Inline datums (quotes are from cip spec)
CIP-0033 Reference Scripts
Return Collateral
Redeemers in TxInfo
|
No, should only do it once. |
3924: Update deps for Ledger, Consensus, et al r=Jimbo4350 a=nfrisby This PR does two things. - It updates many dependencies. - The necessary integration is just trivial refactoring. Beyond that, this PR also updates the log representation of some tracer events; typo fixes and a new shape for ChainSync server events. ``` cardano-ledger f31c29add - Merge pull request #2819 from input-output-hk/andre/babbage (6 days ago) <Alexey Kuleshevich> iohk-monitoring-framework 066f700 - Merge #627 (5 days ago) <iohk-bors[bot]> io-sim f4183f2 - Merge pull request #2 from input-output-hk/coot/check-stylish-script (12 days ago) <Marcin Szamotulski> ouroboros-network c254d02b9 - Merge #3766 (5 hours ago) <iohk-bors[bot]> plutus d24a7540e - Backport: PLT-250: mkEvaluationContext now lives in MonadError CostModelApplyError (#4641) (9 days ago) <Nikolaos Bezirgiannis> typed-protocols 181601b - Merge pull request #4 from input-output-hk/coot/check-stylish (12 days ago) <Marcin Szamotulski> ``` Co-authored-by: Nicolas Frisby <[email protected]> Co-authored-by: Alexander Esgen <[email protected]> Co-authored-by: Jordan Millar <[email protected]>
3924: Update deps for Ledger, Consensus, et al r=Jimbo4350 a=nfrisby This PR does two things. - It updates many dependencies. - The necessary integration is just trivial refactoring. Beyond that, this PR also updates the log representation of some tracer events; typo fixes and a new shape for ChainSync server events. ``` cardano-ledger f31c29add - Merge pull request #2819 from input-output-hk/andre/babbage (6 days ago) <Alexey Kuleshevich> iohk-monitoring-framework 066f700 - Merge #627 (5 days ago) <iohk-bors[bot]> io-sim f4183f2 - Merge pull request #2 from input-output-hk/coot/check-stylish-script (12 days ago) <Marcin Szamotulski> ouroboros-network c254d02b9 - Merge #3766 (5 hours ago) <iohk-bors[bot]> plutus d24a7540e - Backport: PLT-250: mkEvaluationContext now lives in MonadError CostModelApplyError (#4641) (9 days ago) <Nikolaos Bezirgiannis> typed-protocols 181601b - Merge pull request #4 from input-output-hk/coot/check-stylish (12 days ago) <Marcin Szamotulski> ``` Co-authored-by: Nicolas Frisby <[email protected]> Co-authored-by: Alexander Esgen <[email protected]> Co-authored-by: Jordan Millar <[email protected]>
3924: Update deps for Ledger, Consensus, et al r=Jimbo4350 a=nfrisby This PR does two things. - It updates many dependencies. - The necessary integration is just trivial refactoring. Beyond that, this PR also updates the log representation of some tracer events; typo fixes and a new shape for ChainSync server events. ``` cardano-ledger f31c29add - Merge pull request #2819 from input-output-hk/andre/babbage (6 days ago) <Alexey Kuleshevich> iohk-monitoring-framework 066f700 - Merge #627 (5 days ago) <iohk-bors[bot]> io-sim f4183f2 - Merge pull request #2 from input-output-hk/coot/check-stylish-script (12 days ago) <Marcin Szamotulski> ouroboros-network c254d02b9 - Merge #3766 (5 hours ago) <iohk-bors[bot]> plutus d24a7540e - Backport: PLT-250: mkEvaluationContext now lives in MonadError CostModelApplyError (#4641) (9 days ago) <Nikolaos Bezirgiannis> typed-protocols 181601b - Merge pull request #4 from input-output-hk/coot/check-stylish (12 days ago) <Marcin Szamotulski> ``` Co-authored-by: Nicolas Frisby <[email protected]> Co-authored-by: Alexander Esgen <[email protected]> Co-authored-by: Jordan Millar <[email protected]>
3924: Update deps for Ledger, Consensus, et al r=Jimbo4350 a=nfrisby This PR does two things. - It updates many dependencies. - The necessary integration is just trivial refactoring. Beyond that, this PR also updates the log representation of some tracer events; typo fixes and a new shape for ChainSync server events. ``` cardano-ledger f31c29add - Merge pull request #2819 from input-output-hk/andre/babbage (6 days ago) <Alexey Kuleshevich> iohk-monitoring-framework 066f700 - Merge #627 (5 days ago) <iohk-bors[bot]> io-sim f4183f2 - Merge pull request #2 from input-output-hk/coot/check-stylish-script (12 days ago) <Marcin Szamotulski> ouroboros-network c254d02b9 - Merge #3766 (5 hours ago) <iohk-bors[bot]> plutus d24a7540e - Backport: PLT-250: mkEvaluationContext now lives in MonadError CostModelApplyError (#4641) (9 days ago) <Nikolaos Bezirgiannis> typed-protocols 181601b - Merge pull request #4 from input-output-hk/coot/check-stylish (12 days ago) <Marcin Szamotulski> ``` Co-authored-by: Nicolas Frisby <[email protected]> Co-authored-by: Alexander Esgen <[email protected]> Co-authored-by: Jordan Millar <[email protected]>
@CarlosLopezDeLara should we close this ticket now? |
I'm closing this because:
|
ScriptContext equivalence testing
In order to be sure that the "correct"
ScriptContext
is available to the plutus validator we devised a test as follows:ScriptContext
Test Cases for PlutusV1 in Babbage era
Test Cases for PlutusV2 in Babbage era
UnequalCollateralReturn
error when the return collateral and total collateral are not equal. We should prevent this in the cli but first make sure we get this error.serialiseBuiltinData
to confirm it worksThe text was updated successfully, but these errors were encountered: