Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PlutusV3 support for the tx-generator is exercised via a testcase. The fallback script in LoopV3.plutus is for ghc versions before 9.x; more recent ones generate it via TH from LoopV3.hs. This commit is a fair amount of the way there. Invoking it via cabal run tx-generator-apitest -- \ --nix-json ./bench/tx-generator/data/run-script.json \ --run ./run/current/generator/ \ --param data/protocol-parameters-conway.json gets far enough for Plutus to error with PlutusV3 not being supported: * Did I manage to extract a genesis fund? --> Conway: fund check failed * Can I pre-execute a plutus script? --> Read plutus script: LoopV3 --> read redeemer: /home/nyc/src/cardano-node/bench/tx-generator/./data/loop.redeemer.json --> execution failed: ProtocolError (LedgerLanguageNotAvailableError {sdeAffectedLang = PlutusV3, sdeIntroPv = 9, sdeThisPv = 8}) * What does the redeemer look like when the loop counter is maxed out? --> Left ProtocolError (LedgerLanguageNotAvailableError {sdeAffectedLang = PlutusV3, sdeIntroPv = 9, sdeThisPv = 8}) --> summaries for block budget fits: ProtocolError (LedgerLanguageNotAvailableError {sdeAffectedLang = PlutusV3, sdeIntroPv = 9, sdeThisPv = 8}) ProtocolError (LedgerLanguageNotAvailableError {sdeAffectedLang = PlutusV3, sdeIntroPv = 9, sdeThisPv = 8}) ProtocolError (LedgerLanguageNotAvailableError {sdeAffectedLang = PlutusV3, sdeIntroPv = 9, sdeThisPv = 8}) It seems that I had been fooled earlier by execution as PlutusV2. Hopefully it's not too much to advance this the last mile.
- Loading branch information