From 01c1de5d3dcb88abfa9c44581ed812d52031f308 Mon Sep 17 00:00:00 2001 From: Ulf Wiger Date: Fri, 21 Aug 2026 11:28:01 +0200 Subject: [PATCH 1/3] Add mint_tx and account currency store serialization tags Reserve tags 150-152 for mint_tx, account_currency_store, and account_currency_balance. These are independent of the earlier nt_* native-token tags. --- src/gmser_chain_objects.erl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gmser_chain_objects.erl b/src/gmser_chain_objects.erl index 636af6e..5a0ae55 100644 --- a/src/gmser_chain_objects.erl +++ b/src/gmser_chain_objects.erl @@ -121,6 +121,9 @@ tag(account_sig_store) -> 146; tag(auth_tx) -> 147; tag(proposal_gossip_tx) -> 148; tag(account_auth_update_tx) -> 149; +tag(mint_tx) -> 150; +tag(account_currency_store) -> 151; +tag(account_currency_balance) -> 152; tag(pof) -> 200. rev_tag(10) -> account; @@ -206,4 +209,7 @@ rev_tag(146) -> account_sig_store; rev_tag(147) -> auth_tx; rev_tag(148) -> proposal_gossip_tx; rev_tag(149) -> account_auth_update_tx; +rev_tag(150) -> mint_tx; +rev_tag(151) -> account_currency_store; +rev_tag(152) -> account_currency_balance; rev_tag(200) -> pof. -- 2.30.2 From bf9a13fd0fe1e32aecb99eae4ba40c25c476ed37 Mon Sep 17 00:00:00 2001 From: Ulf Wiger Date: Fri, 21 Aug 2026 11:51:00 +0200 Subject: [PATCH 2/3] include tags from uw-new-acs branch --- 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 5a0ae55..a9206cb 100644 --- a/src/gmser_chain_objects.erl +++ b/src/gmser_chain_objects.erl @@ -100,6 +100,8 @@ 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(ac_acct_state) -> 99; tag(key_block) -> 100; tag(micro_block) -> 101; tag(light_micro_block) -> 102; @@ -124,7 +126,9 @@ tag(account_auth_update_tx) -> 149; tag(mint_tx) -> 150; tag(account_currency_store) -> 151; tag(account_currency_balance) -> 152; -tag(pof) -> 200. +tag(pof) -> 200; +tag(ac_side_withdraw_tx) -> 300; +tag(ac_side_rollup_tx) -> 301. rev_tag(10) -> account; rev_tag(11) -> signed_tx; @@ -188,6 +192,8 @@ 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(99) -> ac_acct_state; rev_tag(100) -> key_block; rev_tag(101) -> micro_block; rev_tag(102) -> light_micro_block; @@ -212,4 +218,6 @@ rev_tag(149) -> account_auth_update_tx; rev_tag(150) -> mint_tx; rev_tag(151) -> account_currency_store; rev_tag(152) -> account_currency_balance; -rev_tag(200) -> pof. +rev_tag(200) -> pof; +rev_tag(300) -> ac_side_withdraw_tx; +rev_tag(301) -> ac_side_rollup_tx. -- 2.30.2 From 88f156a321bb49ed87398f3d5d8c81a9f3ba2f68 Mon Sep 17 00:00:00 2001 From: Ulf Wiger Date: Fri, 21 Aug 2026 14:32:11 +0200 Subject: [PATCH 3/3] Add exchange_tx chain object type --- src/gmser_chain_objects.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gmser_chain_objects.erl b/src/gmser_chain_objects.erl index a9206cb..6e8c1af 100644 --- a/src/gmser_chain_objects.erl +++ b/src/gmser_chain_objects.erl @@ -126,6 +126,7 @@ tag(account_auth_update_tx) -> 149; tag(mint_tx) -> 150; tag(account_currency_store) -> 151; tag(account_currency_balance) -> 152; +tag(exchange_tx) -> 153; tag(pof) -> 200; tag(ac_side_withdraw_tx) -> 300; tag(ac_side_rollup_tx) -> 301. @@ -218,6 +219,7 @@ rev_tag(149) -> account_auth_update_tx; rev_tag(150) -> mint_tx; rev_tag(151) -> account_currency_store; rev_tag(152) -> account_currency_balance; +rev_tag(153) -> exchange_tx; rev_tag(200) -> pof; rev_tag(300) -> ac_side_withdraw_tx; rev_tag(301) -> ac_side_rollup_tx. -- 2.30.2