From 2110f2c20485772282802d761b11444dee30f01b Mon Sep 17 00:00:00 2001 From: Jorropo Date: Mon, 5 Dec 2022 18:57:29 +0100 Subject: [PATCH] Partial Revert "Revert "fix: ensure hasher is registered when using a hashing function"" I was too much trigger happy and caught #9297's regression test in the workaround revert. --- test/sharness/t0042-add-skip.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/sharness/t0042-add-skip.sh b/test/sharness/t0042-add-skip.sh index 9da78163c..64d8e1a7c 100755 --- a/test/sharness/t0042-add-skip.sh +++ b/test/sharness/t0042-add-skip.sh @@ -93,6 +93,10 @@ EOF test_cmp expected actual ' + test_expect_failure "'ipfs add' with an unregistered hash and wrapped leaves fails without crashing" ' + ipfs add --hash poseidon-bls12_381-a2-fc1 --raw-leaves=false -r mountdir/planets + ' + } # should work offline