@@ -133,16 +133,16 @@ def run_contract(contract_setup, scripts)
133133 expect ( burn [ :tx_balanced ] . parsed_response ) . to eq burn [ :tx_signed ] . parsed_response
134134
135135 # verify decoded unbalanced transaction includes assets minted and burned
136- expect ( mint [ :tx_unbalanced ] [ 'assets_minted' ] ) . to eq assets
137- expect ( mint [ :tx_unbalanced ] [ 'assets_burned' ] ) . to eq [ ]
138- expect ( burn [ :tx_unbalanced ] [ 'assets_minted' ] ) . to eq [ ]
139- expect ( burn [ :tx_unbalanced ] [ 'assets_burned' ] ) . to eq assets
136+ expect ( mint [ :tx_unbalanced ] [ 'assets_minted' ] [ 'token_map' ] ) . to eq assets
137+ expect ( mint [ :tx_unbalanced ] [ 'assets_burned' ] [ 'token_map' ] ) . to eq [ ]
138+ expect ( burn [ :tx_unbalanced ] [ 'assets_minted' ] [ 'token_map' ] ) . to eq [ ]
139+ expect ( burn [ :tx_unbalanced ] [ 'assets_burned' ] [ 'token_map' ] ) . to eq assets
140140
141141 # verify decoded balanced transaction includes assets minted and burned
142- expect ( mint [ :tx_balanced ] [ 'assets_minted' ] ) . to eq assets
143- expect ( mint [ :tx_balanced ] [ 'assets_burned' ] ) . to eq [ ]
144- expect ( burn [ :tx_balanced ] [ 'assets_minted' ] ) . to eq [ ]
145- expect ( burn [ :tx_balanced ] [ 'assets_burned' ] ) . to eq assets
142+ expect ( mint [ :tx_balanced ] [ 'assets_minted' ] [ 'token_map' ] ) . to eq assets
143+ expect ( mint [ :tx_balanced ] [ 'assets_burned' ] [ 'token_map' ] ) . to eq [ ]
144+ expect ( burn [ :tx_balanced ] [ 'assets_minted' ] [ 'token_map' ] ) . to eq [ ]
145+ expect ( burn [ :tx_balanced ] [ 'assets_burned' ] [ 'token_map' ] ) . to eq assets
146146 end
147147
148148 it "withdrawal" do
@@ -241,8 +241,8 @@ def run_contract(contract_setup, scripts)
241241 "quantity" => 1 }
242242
243243 # verify decoded transactions show that currency will be minted
244- expect ( r [ :tx_unbalanced ] [ 'assets_minted' ] ) . to eq [ apfel , banana ]
245- expect ( r [ :tx_balanced ] [ 'assets_minted' ] ) . to eq [ apfel , banana ]
244+ expect ( r [ :tx_unbalanced ] [ 'assets_minted' ] [ 'token_map' ] ) . to eq [ apfel , banana ]
245+ expect ( r [ :tx_balanced ] [ 'assets_minted' ] [ 'token_map' ] ) . to eq [ apfel , banana ]
246246
247247 # make sure currency is minted as expected
248248 src_balance = get_shelley_balances ( @wid )
0 commit comments