Compare commits

..

5 Commits

Author SHA1 Message Date
zxq9 ac64e01b0f Update runner paths
Gajumaru Serialization Tests / tests (push) Successful in 47m16s
2025-02-04 15:58:21 +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
6 changed files with 27 additions and 10 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ jobs:
runs-on: linux_amd64 runs-on: linux_amd64
steps: steps:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: eunit - name: eunit
run: | run: |
. /opt/act_runner/erts/27.2/activate . /home/act_runner/.erts/27.2.1/activate
./rebar3 eunit ./rebar3 eunit
+1 -1
View File
@@ -7,7 +7,7 @@ _*
*.swp *.swp
*.swo *.swo
.erlang.cookie .erlang.cookie
ebin ebin/*.beam
log log
erl_crash.dump erl_crash.dump
.rebar .rebar
+11
View File
@@ -0,0 +1,11 @@
{application,gmserialization,
[{description,"Serialization of data for the Gajumaru"},
{vsn,"0.1.2"},
{registered,[]},
{applications,[kernel,stdlib,crypto,base58]},
{env,[]},
{modules,[gmser_api_encoder,gmser_chain_objects,
gmser_contract_code,gmser_delegation,gmser_id,
gmser_rlp,gmserialization]},
{licenses,[]},
{links,[]}]}.
+9 -3
View File
@@ -1,4 +1,10 @@
{erl_opts, [debug_info]}. {erl_opts, [debug_info]}.
{deps, [ {base58, {git, "https://git.qpq.swiss/QPQ-AG/erl-base58.git", {ref, "b6c41ff2f86f679675b95a780bfc6475e973d796"}}} {deps,
, {enacl, {git, "https://git.qpq.swiss/QPQ-AG/enacl.git", {ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}} [{base58,
]}. {git,
"https://git.qpq.swiss/QPQ-AG/erl-base58.git",
{ref, "e6aa62eeae3d4388311401f06e4b939bf4e94b9c"}}},
{enacl,
{git,
"https://git.qpq.swiss/QPQ-AG/enacl.git",
{ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}}]}.
+1 -1
View File
@@ -1,6 +1,6 @@
[{<<"base58">>, [{<<"base58">>,
{git,"https://git.qpq.swiss/QPQ-AG/erl-base58.git", {git,"https://git.qpq.swiss/QPQ-AG/erl-base58.git",
{ref,"b6c41ff2f86f679675b95a780bfc6475e973d796"}}, {ref,"e6aa62eeae3d4388311401f06e4b939bf4e94b9c"}},
0}, 0},
{<<"enacl">>, {<<"enacl">>,
{git,"https://git.qpq.swiss/QPQ-AG/enacl.git", {git,"https://git.qpq.swiss/QPQ-AG/enacl.git",
+2 -2
View File
@@ -5,11 +5,11 @@
{author,"Hans Svensson"}. {author,"Hans Svensson"}.
{desc,"Serialization helpers for the Gajumaru."}. {desc,"Serialization helpers for the Gajumaru."}.
{package_id,{"otpr","gmserialization",{0,1,2}}}. {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}. {key_name,none}.
{a_email,[]}. {a_email,[]}.
{c_email,[]}. {c_email,[]}.
{copyright,"Hans Svensson"}. {copyright,"QPQ AG"}.
{file_exts,[]}. {file_exts,[]}.
{license,skip}. {license,skip}.
{repo_url,"https://git.qpq.swiss/QPQ-AG/gmserialization"}. {repo_url,"https://git.qpq.swiss/QPQ-AG/gmserialization"}.