`create-script-context` tool no longer usable

Đang mở
#944 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@mkoura đang làm issue này rồi.

Từ ngày 18/7/2022.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
Python
Star
59
Fork
28
Merge trung bình
8 giờ 27 phút
Pull request đã merge (30 ngày)
88

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của IntersectMBO/cardano-node-tests

Tất cả issue của IntersectMBO/cardano-node-tests

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.