Add missing BurnTx type to Auth.tx fcode table
Sophia Tests / tests (push) Failing after 48m33s

init_type_env/0 listed five new Chain.base_tx constructors in
con_env and arities but omitted BurnTx from the variant type,
so compiling switches on Chain.BurnTx crashed in split_vars/2.
This commit is contained in:
Ulf Wiger
2026-08-23 07:26:10 +02:00
parent 8a635c2e73
commit 80c369b4d0
+2 -1
View File
@@ -335,7 +335,8 @@ init_type_env() ->
[address, integer],
[integer],
[{list, {tuple, [{variant, [[], [address]]}, address, address, integer]}}],
[address, integer, string, {list, {tuple, [address, integer]}}]
[address, integer, string, {list, {tuple, [address, integer]}}],
[integer]
]},
#{ ["int"] => ?type(integer),
["bool"] => ?type(boolean),