IntersectMBO / cardano-addresses

Addresses and mnemonic manipulation & derivations
Apache License 2.0
145 stars 46 forks source link

Test failures in test vectors #229

Closed jonathanknowles closed 3 months ago

jonathanknowles commented 1 year ago

Test failure

Various "test vectors" tests fail on master (44d5a9eb3505b6bfbf281d40fa88531c3253b771).

Reproduction steps

$ git clone git@github.com:input-output-hk/cardano-addresses.git
$ cd cardano-addresses
$ cabal build all --enable-tests
$ cabal test all --test-options '--match "/Cardano.Address.Style.Shelley/Test vectors" --seed 214236778'

Expected behaviour

All tests pass.

Actual behaviour

Some tests fail:

Failures:

  lib/Cardano/Address/Style/Shelley.hs:1175:25:
  1) Cardano.Address.Style.Shelley, Test vectors, ["test","child","burst","immense","armed","parrot","company","walk","dog"], should generate correct addresses
       uncaught exception: AssertionFailed
       Assertion failed
       CallStack (from HasCallStack):
         assert, called at lib/Cardano/Address/Style/Shelley.hs:1175:25 in cardano-addresses-3.12.0-inplace:Cardano.Address.Style.Shelley

  To rerun use: --match "/Cardano.Address.Style.Shelley/Test vectors/[\"test\",\"child\",\"burst\",\"immense\",\"armed\",\"parrot\",\"company\",\"walk\",\"dog\"]/should generate correct addresses/"

  lib/Cardano/Address/Style/Shelley.hs:1175:25:
  2) Cardano.Address.Style.Shelley, Test vectors, ["test","child","burst","immense","armed","parrot","company","walk","dog"], should inspect correctly
       uncaught exception: AssertionFailed
       Assertion failed
       CallStack (from HasCallStack):
         assert, called at lib/Cardano/Address/Style/Shelley.hs:1175:25 in cardano-addresses-3.12.0-inplace:Cardano.Address.Style.Shelley

  To rerun use: --match "/Cardano.Address.Style.Shelley/Test vectors/[\"test\",\"child\",\"burst\",\"immense\",\"armed\",\"parrot\",\"company\",\"walk\",\"dog\"]/should inspect correctly/"

Randomized with seed 214236778
paweljakubas commented 3 months ago

cannot replicate - hence closing