Compare commits

..

8 Commits

Author SHA1 Message Date
zxq9 49d1103e5d Actually fix path for real
Gajumaru Serialization Tests / tests (push) Successful in 46m7s
2025-02-04 15:56:40 +09:00
zxq9 f19f8a86ab Correct runner path
Gajumaru Serialization Tests / tests (push) Failing after 46m2s
2025-02-04 15:55:52 +09:00
zxq9 5877379b05 Update runner
Gajumaru Serialization Tests / tests (push) Failing after 46m2s
2025-02-04 15:54:45 +09:00
zxq9 cd6f7b5751 Switch to eblake2
Gajumaru Serialization Tests / tests (push) Successful in -4m15s
2025-01-29 17:59:17 +09:00
zxq9 9d2ecc00d3 Update zx dep
Gajumaru Serialization Tests / tests (push) Successful in -4m20s
2025-01-23 20:05:22 +09:00
zxq9 356d86cd72 Fix dep reference
Gajumaru Serialization Tests / tests (push) Successful in -4m21s
2025-01-23 20:01:15 +09:00
zxq9 f3da241917 zomp (#46)
Gajumaru Serialization Tests / tests (push) Failing after -4m25s
Reviewed-on: #46
Co-authored-by: Craig Everett <zxq9@zxq9.com>
Co-committed-by: Craig Everett <zxq9@zxq9.com>
2025-01-23 19:44:58 +09:00
zxq9 2db9ea6134 Package for zx (#45)
Gajumaru Serialization Tests / tests (push) Successful in -4m22s
This packages the library for deployment on zx (migrating from the old otpr-aeserialization-* line).

It also adds a native Erlang fallback to invokation of the Blake2 algorithm, picking enacl if it is present, but proceeding with eblake2 if not.

Reviewed-on: #45
Reviewed-by: dimitar.p.ivanov <dimitarivanov@qpq.swiss>
Reviewed-by: Ulf Wiger <ulfwiger@qpq.swiss>
Co-authored-by: Craig Everett <zxq9@zxq9.com>
Co-committed-by: Craig Everett <zxq9@zxq9.com>
2025-01-22 19:36:50 +09:00
5 changed files with 25 additions and 17 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ jobs:
runs-on: linux_amd64
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: eunit
run: |
. /opt/act_runner/erts/27.2/activate
. /home/act_runner/.erts/27.2.1/activate
./rebar3 eunit
+16 -3
View File
@@ -1,11 +1,24 @@
{application,gmserialization,
[{description,"Serialization of data for the Gajumaru"},
[{description,"Serialization helpers for the Gajumaru."},
{vsn,"0.1.2"},
{registered,[]},
{applications,[kernel,stdlib,crypto,base58]},
{env,[]},
{modules,[gmser_api_encoder,gmser_chain_objects,
{modules,[base58,timing,enacl_eqc,enacl_ext_eqc,enacl,enacl_ext,
enacl_nif,enacl_SUITE,pc,pc_compilation,pc_port_env,
pc_port_specs,pc_prv_clean,pc_prv_compile,pc_util,
base58,timing,enacl_eqc,enacl_ext_eqc,enacl,enacl_ext,
enacl_nif,enacl_SUITE,gmser_api_encoder,
gmser_chain_objects,gmser_contract_code,
gmser_delegation,gmser_id,gmser_rlp,gmserialization,
gmser_api_encoder_tests,gmser_chain_objects_tests,
gmser_contract_code_tests,gmser_delegation_tests,
gmser_rlp_tests,pc,pc_compilation,pc_port_env,
pc_port_specs,pc_prv_clean,pc_prv_compile,pc_util,
gmser_api_encoder,gmser_chain_objects,
gmser_contract_code,gmser_delegation,gmser_id,
gmser_rlp,gmserialization]},
gmser_rlp,gmserialization,gmser_api_encoder_tests,
gmser_chain_objects_tests,gmser_contract_code_tests,
gmser_delegation_tests,gmser_rlp_tests]},
{licenses,[]},
{links,[]}]}.
+2 -5
View File
@@ -3,8 +3,5 @@
[{base58,
{git,
"https://git.qpq.swiss/QPQ-AG/erl-base58.git",
{ref, "7290fa23664b4134d15da353061ac97aa158b332"}}},
{enacl,
{git,
"https://git.qpq.swiss/QPQ-AG/enacl.git",
{ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}}]}.
{ref, "e6aa62eeae3d4388311401f06e4b939bf4e94b9c"}}},
{eblake2, "1.0.0"}]}.
+3 -5
View File
@@ -1,8 +1,6 @@
[{<<"base58">>,
{git,"https://git.qpq.swiss/QPQ-AG/erl-base58.git",
{ref,"7290fa23664b4134d15da353061ac97aa158b332"}},
{ref,"e6aa62eeae3d4388311401f06e4b939bf4e94b9c"}},
0},
{<<"enacl">>,
{git,"https://git.qpq.swiss/QPQ-AG/enacl.git",
{ref,"4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}},
0}].
{<<"eblake2">>,
{pkg,<<"eblake2">>,<<"1.0.0">>},0}].
+2 -2
View File
@@ -5,7 +5,7 @@
{author,"Hans Svensson"}.
{desc,"Serialization helpers for the Gajumaru."}.
{package_id,{"otpr","gmserialization",{0,1,2}}}.
{deps,[{"otpr","base58",{0,1,1}},{"otpr","eblake2",{1,0,0}}]}.
{deps,[{"otpr","eblake2",{1,0,1}},{"otpr","base58",{0,1,1}}]}.
{key_name,none}.
{a_email,[]}.
{c_email,[]}.
@@ -13,5 +13,5 @@
{file_exts,[]}.
{license,skip}.
{repo_url,"https://git.qpq.swiss/QPQ-AG/gmserialization"}.
{tags,["blockchain","crypto","gm", "gajumaru"]}.
{tags,["blockchain","crypto","gm","gajumaru"]}.
{ws_url,[]}.