`create-script-context` tool no longer usable

Aperta
#944 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@mkoura ci sta già lavorando.

Dal 18/7/2022.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug node vasil hf node

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.

Lingua principale
Python
Stelle
59
Fork
28
Merge medio
8h 27m
PR unite (30g)
88

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di IntersectMBO/cardano-node-tests

Tutte le issue di IntersectMBO/cardano-node-tests

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.