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.
Jorropo committed
Dec 5, 2022 at 18:57 UTC
2110f2c20485772282802d761b11444dee30f01b
1 file changed
+4
test/sharness/t0042-add-skip.sh
+4
@@ -93,6 +93,10 @@ EOF
93
test_cmp expected actual
94
'
95
96
+ test_expect_failure "'ipfs add' with an unregistered hash and wrapped leaves fails without crashing" '
97
+ ipfs add --hash poseidon-bls12_381-a2-fc1 --raw-leaves=false -r mountdir/planets
98
+ '
99
+
100
}
101
102
# should work offline