diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 0000000..59303ec --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,14 @@ +name: Gajumaru Serialization Tests +run-name: ${{ gitea.actor }} testing Gajumaru Serialization +on: [push, workflow_dispatch] + +jobs: + tests: + runs-on: linux_amd64 + steps: + - name: Check out repository code + uses: actions/checkout@v3 + - name: eunit + run: | + . /opt/act_runner/erts/27.2/activate + ./rebar3 eunit diff --git a/rebar.config b/rebar.config index 4f2836d..b6688ee 100644 --- a/rebar.config +++ b/rebar.config @@ -1,4 +1,4 @@ {erl_opts, [debug_info]}. -{deps, [ {base58, {git, "ssh://gitea@git.qpq.swiss:21203/QPQ-AG/erl-base58.git", {ref, "becd654c8bae9f2a78585fafb9f9bce2506df9ca"}}} - , {enacl, {git, "ssh://gitea@git.qpq.swiss:21203/QPQ-AG/enacl.git", {ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}} +{deps, [ {base58, {git, "https://git.qpq.swiss/QPQ-AG/erl-base58.git", {ref, "b6c41ff2f86f679675b95a780bfc6475e973d796"}}} + , {enacl, {git, "https://git.qpq.swiss/QPQ-AG/enacl.git", {ref, "4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}} ]}. diff --git a/rebar.lock b/rebar.lock index 14490aa..e238325 100644 --- a/rebar.lock +++ b/rebar.lock @@ -1,8 +1,8 @@ [{<<"base58">>, - {git,"ssh://gitea@git.qpq.swiss:21203/QPQ-AG/erl-base58.git", - {ref,"becd654c8bae9f2a78585fafb9f9bce2506df9ca"}}, + {git,"https://git.qpq.swiss/QPQ-AG/erl-base58.git", + {ref,"b6c41ff2f86f679675b95a780bfc6475e973d796"}}, 0}, {<<"enacl">>, - {git,"ssh://gitea@git.qpq.swiss:21203/QPQ-AG/enacl.git", + {git,"https://git.qpq.swiss/QPQ-AG/enacl.git", {ref,"4eb7ec70084ba7c87b1af8797c4c4e90c84f95a2"}}, 0}]. diff --git a/rebar3 b/rebar3 new file mode 100755 index 0000000..1955cd7 Binary files /dev/null and b/rebar3 differ diff --git a/src/gmser_chain_objects.erl b/src/gmser_chain_objects.erl index 0c3da66..d93eaa5 100644 --- a/src/gmser_chain_objects.erl +++ b/src/gmser_chain_objects.erl @@ -98,6 +98,7 @@ tag(ac_create_tx) -> 93; tag(ac_deposit_tx) -> 94; tag(ac_update_cops_tx) -> 95; tag(ac_rollup_tx) -> 96; +tag(ac_proposal_tx) -> 97; tag(key_block) -> 100; tag(micro_block) -> 101; tag(light_micro_block) -> 102; @@ -176,6 +177,7 @@ rev_tag(93) -> ac_create_tx; rev_tag(94) -> ac_deposit_tx; rev_tag(95) -> ac_update_cops_tx; rev_tag(96) -> ac_rollup_tx; +rev_tag(97) -> ac_proposal_tx; rev_tag(100) -> key_block; rev_tag(101) -> micro_block; rev_tag(102) -> light_micro_block;