From ac793dcaf60d85db245ead14e54b63897b27c21b Mon Sep 17 00:00:00 2001 From: Ulf Wiger Date: Sun, 29 Mar 2026 23:36:25 +0200 Subject: [PATCH] Add AC-side transaction types --- src/gmser_chain_objects.erl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/gmser_chain_objects.erl b/src/gmser_chain_objects.erl index e8bf58f..4c22924 100644 --- a/src/gmser_chain_objects.erl +++ b/src/gmser_chain_objects.erl @@ -100,6 +100,7 @@ tag(ac_deposit_tx) -> 94; tag(ac_update_cops_tx) -> 95; tag(ac_rollup_tx) -> 96; tag(ac_proposal_tx) -> 97; +tag(ac_receipt) -> 98; tag(key_block) -> 100; tag(micro_block) -> 101; tag(light_micro_block) -> 102; @@ -115,7 +116,10 @@ tag(entry) -> 140; tag(entry_create_tx) -> 141; tag(entry_transfer_tx) -> 142; tag(entry_destroy_tx) -> 143; -tag(pof) -> 200. +tag(pof) -> 200; +%% Gajumaru AC side transactions +tag(ac_side_withdraw_tx) -> 300; +tag(ac_side_rollup_tx) -> 301. rev_tag(10) -> account; rev_tag(11) -> signed_tx; @@ -179,6 +183,7 @@ 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(98) -> ac_receipt; rev_tag(100) -> key_block; rev_tag(101) -> micro_block; rev_tag(102) -> light_micro_block; @@ -194,4 +199,7 @@ rev_tag(140) -> entry; rev_tag(141) -> entry_create_tx; rev_tag(142) -> entry_transfer_tx; rev_tag(143) -> entry_destroy_tx; -rev_tag(200) -> pof. +rev_tag(200) -> pof; +%% Gajumaru AC side transactions +rev_tag(300) -> ac_side_withdraw_tx; +rev_tag(301) -> ac_side_rollup_tx.