Updating sha3 dep (but dialyzer still can't find it?)
Some checks failed
EC Utils Tests / tests (push) Failing after -4m8s

This commit is contained in:
Craig Everett 2025-01-23 15:27:13 +09:00
parent 4c1af8bbf3
commit eebfedd810
3 changed files with 11 additions and 3 deletions

View File

@ -6,7 +6,7 @@
[{sha3,
{git,
"https://git.qpq.swiss/QPQ-AG/erlang-sha3.git",
{ref, "77c4e048aea75bd0bc2b5ca6cb02b7230d081c71"}}}]}.
{ref, "12587a70ca17e2f365abb7c184e666e830821989"}}}]}.
{profiles,
[{test,
@ -15,6 +15,10 @@
{git,
"https://git.qpq.swiss/QPQ-AG/enacl.git",
{ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}},
{sha3,
{git,
"https://git.qpq.swiss/QPQ-AG/erlang-sha3.git",
{ref, "12587a70ca17e2f365abb7c184e666e830821989"}}},
{ecrecover,
{git,
"https://git.qpq.swiss/QPQ-AG/ecrecover.git",
@ -25,6 +29,10 @@
{git,
"https://git.qpq.swiss/QPQ-AG/enacl.git",
{ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}},
{sha3,
{git,
"https://git.qpq.swiss/QPQ-AG/erlang-sha3.git",
{ref, "12587a70ca17e2f365abb7c184e666e830821989"}}},
{ecrecover,
{git,
"https://git.qpq.swiss/QPQ-AG/ecrecover.git",

View File

@ -3,7 +3,7 @@
{<<"sha3">>,
{git,
"https://git.qpq.swiss/QPQ-AG/erlang-sha3.git",
{ref,"77c4e048aea75bd0bc2b5ca6cb02b7230d081c71"}},
{ref, "12587a70ca17e2f365abb7c184e666e830821989"}},
0}]}.
[
{pkg_hash,[

View File

@ -12,7 +12,7 @@
keccak256/1]).
private_to_short(bitcoin, PrivateKey) ->
public_to_short(bitcoin, aeu_ecdsa:private_to_public(secp256k1, PrivateKey));
public_to_short(bitcoin, ecu_ecdsa:private_to_public(secp256k1, PrivateKey));
private_to_short(ethereum, <<PrivateKey:256>>) ->
public_to_short(ethereum, ecu_secp256k1:scalar_mul_base(PrivateKey)).