Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add datums and scripts to friendlyTxImpl #977

Merged
merged 4 commits into from
Jan 8, 2025

Move `friendlyScript` and `friendlyDatum` from `cardano-api`

ba67090
Select commit
Loading
Failed to load commit list.
Merged

Add datums and scripts to friendlyTxImpl #977

Move `friendlyScript` and `friendlyDatum` from `cardano-api`
ba67090
Select commit
Loading
Failed to load commit list.
Garnix CI / check ghc965-aarch64-unknown-linux-musl:cardano-cli:test:cardano-cli-test [x86_64-linux] failed Jan 8, 2025 in 8m 17s

Run results

Build failed

Details

Last 100 lines of logs:

           ┃     │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli conway transaction build-raw --fee 200000 --tx-in e25450233e4bedd00c8bda15c48c2d4018223bd88271e194052294c4e5be7d55#0 --tx-out addr_test1vqfxq2s8yce3tuhjq9ulu2awuk623hzvtft9z8fh6qelzts49vuqw+-1+3 --out-file /build/tmp-Test.Cli.Shelley.Transaction.Build-test-cad8b6ff8262c02d/tx.traw
           ┃     ^^^^^^^^^^^^^^
           ┃     │ ━━━ Exception (IOException) ━━━
           ┃     │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli: readCreateProcessWithExitCode: execvp: invalid argument (Exec format error)
        84 ┃       [ "conway"
        85 ┃       , "transaction"
        86 ┃       , "build-raw"
        87 ┃       , "--fee"
        88 ┃       , "200000"
        89 ┃       , "--tx-in"
        90 ┃       , "e25450233e4bedd00c8bda15c48c2d4018223bd88271e194052294c4e5be7d55#0"
        91 ┃       , "--tx-out"
        92 ┃       , "addr_test1vqfxq2s8yce3tuhjq9ulu2awuk623hzvtft9z8fh6qelzts49vuqw+-1+3" -- Negative txout (-1) summed with positive txout (+3), so total is positive
        93 ┃       , "--out-file"
        94 ┃       , outFile
        95 ┃       ]
      
        This failure can be reproduced by running:
        > recheckAt (Seed 16479603070690925170 14007887519683217285) "1:" Test.Cli.Shelley.Transaction.Build.hprop_conway_transaction_build_raw_negative_bits_positive_total_txout
      
    Use "--pattern '$NF ~ /conway transaction build raw negative bits positive total txout/' --hedgehog-replay '1: Seed 16479603070690925170 14007887519683217285'" to reproduce from the command-line.
    
    Use -p '/conway transaction build raw negative bits positive total txout/' to rerun this test only.
  verification key drep:                                                      FAIL (1.02s)
      ✗ Test.Cli.VerificationKey.hprop_verification_key_drep failed at test/cardano-cli-test/Test/Cli/VerificationKey.hs:20:44
        after 1 test.
        shrink path: 1:
      
           ┏━━ test/cardano-cli-test/Test/Cli/VerificationKey.hs ━━━
        18 ┃ hprop_verification_key_drep :: Property
        19 ┃ hprop_verification_key_drep =
        20 ┃   propertyOnce . H.moduleWorkspace "tmp" $ runOne ["drep", "key-gen"]
           ┃   │ Workspace: /build/tmp-Test.Cli.VerificationKey-test-960e42505e6e8ad5
           ┃   │ cardano-cli//build/tmp-Test.Cli.VerificationKey-test-960e42505e6e8ad5/gen.vkey
           ┃   │ cardano-cli//build/tmp-Test.Cli.VerificationKey-test-960e42505e6e8ad5/gen.skey
           ┃   │ cardano-cli//build/tmp-Test.Cli.VerificationKey-test-960e42505e6e8ad5/vkey.out
           ┃   │ ━━━━ command ━━━━
           ┃   │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli conway governance drep key-gen --verification-key-file /build/tmp-Test.Cli.VerificationKey-test-960e42505e6e8ad5/gen.vkey --signing-key-file /build/tmp-Test.Cli.VerificationKey-test-960e42505e6e8ad5/gen.skey
           ┃   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           ┃   │ ━━━ Exception (IOException) ━━━
           ┃   │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli: readCreateProcessWithExitCode: execvp: invalid argument (Exec format error)
      
        This failure can be reproduced by running:
        > recheckAt (Seed 9775372058436622689 10354864352320514273) "1:" Test.Cli.VerificationKey.hprop_verification_key_drep
      
    Use "--pattern '$NF ~ /verification key drep/' --hedgehog-replay '1: Seed 9775372058436622689 10354864352320514273'" to reproduce from the command-line.
    
    Use -p '/verification key drep/' to rerun this test only.
  verification key committee hot:                                             FAIL (0.87s)
      ✗ Test.Cli.VerificationKey.hprop_verification_key_committee_hot failed at test/cardano-cli-test/Test/Cli/VerificationKey.hs:26:44
        after 1 test.
        shrink path: 1:
      
           ┏━━ test/cardano-cli-test/Test/Cli/VerificationKey.hs ━━━
        24 ┃ hprop_verification_key_committee_hot :: Property
        25 ┃ hprop_verification_key_committee_hot =
        26 ┃   propertyOnce . H.moduleWorkspace "tmp" $ runOne ["committee", "key-gen-hot"]
           ┃   │ Workspace: /build/tmp-Test.Cli.VerificationKey-test-ed21be932957a83f
           ┃   │ cardano-cli//build/tmp-Test.Cli.VerificationKey-test-ed21be932957a83f/gen.vkey
           ┃   │ cardano-cli//build/tmp-Test.Cli.VerificationKey-test-ed21be932957a83f/gen.skey
           ┃   │ cardano-cli//build/tmp-Test.Cli.VerificationKey-test-ed21be932957a83f/vkey.out
           ┃   │ ━━━━ command ━━━━
           ┃   │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli conway governance committee key-gen-hot --verification-key-file /build/tmp-Test.Cli.VerificationKey-test-ed21be932957a83f/gen.vkey --signing-key-file /build/tmp-Test.Cli.VerificationKey-test-ed21be932957a83f/gen.skey
           ┃   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           ┃   │ ━━━ Exception (IOException) ━━━
           ┃   │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli: readCreateProcessWithExitCode: execvp: invalid argument (Exec format error)
      
        This failure can be reproduced by running:
        > recheckAt (Seed 2872833437297692491 18258679264952210507) "1:" Test.Cli.VerificationKey.hprop_verification_key_committee_hot
      
    Use "--pattern '$NF ~ /verification key committee hot/' --hedgehog-replay '1: Seed 2872833437297692491 18258679264952210507'" to reproduce from the command-line.
    
    Use -p '/verification key committee hot/' to rerun this test only.
  verification key committee cold:                                            FAIL (0.93s)
      ✗ Test.Cli.VerificationKey.hprop_verification_key_committee_cold failed at test/cardano-cli-test/Test/Cli/VerificationKey.hs:32:44
        after 1 test.
        shrink path: 1:
      
           ┏━━ test/cardano-cli-test/Test/Cli/VerificationKey.hs ━━━
        30 ┃ hprop_verification_key_committee_cold :: Property
        31 ┃ hprop_verification_key_committee_cold =
        32 ┃   propertyOnce . H.moduleWorkspace "tmp" $ runOne ["committee", "key-gen-cold"]
           ┃   │ Workspace: /build/tmp-Test.Cli.VerificationKey-test-3dd36c6f67de2e2f
           ┃   │ cardano-cli//build/tmp-Test.Cli.VerificationKey-test-3dd36c6f67de2e2f/gen.vkey
           ┃   │ cardano-cli//build/tmp-Test.Cli.VerificationKey-test-3dd36c6f67de2e2f/gen.skey
           ┃   │ cardano-cli//build/tmp-Test.Cli.VerificationKey-test-3dd36c6f67de2e2f/vkey.out
           ┃   │ ━━━━ command ━━━━
           ┃   │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli conway governance committee key-gen-cold --verification-key-file /build/tmp-Test.Cli.VerificationKey-test-3dd36c6f67de2e2f/gen.vkey --signing-key-file /build/tmp-Test.Cli.VerificationKey-test-3dd36c6f67de2e2f/gen.skey
           ┃   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           ┃   │ ━━━ Exception (IOException) ━━━
           ┃   │ /nix/store/7lln30rwgrp93jr3h1v6yvzy26j35f9z-cardano-cli-exe-cardano-cli-aarch64-unknown-linux-musl-10.2.0.0/bin/cardano-cli: readCreateProcessWithExitCode: execvp: invalid argument (Exec format error)
      
        This failure can be reproduced by running:
        > recheckAt (Seed 538729527003520724 3182779875834478427) "1:" Test.Cli.VerificationKey.hprop_verification_key_committee_cold
      
    Use "--pattern '$NF ~ /verification key committee cold/' --hedgehog-replay '1: Seed 538729527003520724 3182779875834478427'" to reproduce from the command-line.
    
    Use -p '/verification key committee cold/' to rerun this test only.

40 out of 61 tests failed (66.42s)