IntersectMBO / IntersectMBO/cardano-node-tests

`create-script-context` tool no longer usable

Open
#944 3 comments 0 reactions 1 assignee Claimed by @mkoura View on GitHub
bug node vasil hf node
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.