IntersectMBO / IntersectMBO/cardano-node-tests
`create-script-context` tool no longer usable
- Dominant language
- Python
- Stars
- 59
- Forks
- 28
- Avg merge
- 2h 30m
- Merged PRs (30d)
- 62
Description
We depend on `create-script-context` for several plutus context equivalence tests. This tool used to be present in cardano-node repo, but it is no longer buildable from there. Therefore we used version of the tool built from 1.33.0 node version.
The 1.33.0 version seem to no longer work with current master (https://github.com/input-output-hk/cardano-node/commit/88e30118c6884a06a46e5978bffc1c75e5768cd1):
> ['create-script-context', '--generate-tx', 'test_minting_context_equivalance_ci0_vkp_dummy_tx.signed', '--out-file', 'test_minting_context_equivalance_ci0_vkp_script_context.redeemer', '--cardano-mode', '--testnet-magic', '42']`: create-script-context: DecoderFailure (LocalStateQuery HardForkBlock (': * ByronBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Allegra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Mary StandardCrypto)) (': * (ShelleyBlock (AlonzoEra StandardCrypto)) ('[] *)))))) Query (BlockQuery (HardForkBlock (': * ByronBlock (': * (ShelleyBlock (ShelleyEra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Allegra StandardCrypto)) (': * (ShelleyBlock (ShelleyMAEra 'Mary StandardCrypto)) (': * (ShelleyBlock (AlonzoEra StandardCrypto)) ('[] *))))))))) ServerAgency TokQuerying BlockQuery (QueryIfCurrent (QS (QS (QS (QS (QZ GetUTxOWhole))))))) (DeserialiseFailure 574 "Canonicity violation while decoding Map")
The tool is being moved to https://github.com/input-output-hk/plutus-apps, but the move is not finished yet. ATM we don't have usable tool and our testing of plutus context equivalence is blocked.
Contributor guide
Assessment
This issue has not been assessed yet.