You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When sending assets of one type (Asset 2), the UTXO allocations of another unrelated asset (Asset 1) are being unexpectedly merged, violating the expected allocation structure.
Context
In a test scenario involving two wallets (wlt_1 and wlt_2) and two distinct assets (contract_id_1 and contract_id_2):
After some transactions, wlt_1 holds allocations for Asset 2 (contract_id_2) as [issued_supply_2 - amount_3, amount_5] (two separate UTXOs).
A subsequent operation sends Asset 1 (contract_id_1) from wlt_1 to wlt_2.
After this send operation, the allocations for Asset 2 in wlt_1 are incorrectly merged into a single UTXO [issued_supply_2 - amount_3 + amount_5], causing an assertion failure.
Expected Behavior
Sending Asset 1 should not affect the UTXO structure of Asset 2. The allocations for Asset 2 in wlt_1 should remain as two separate entries ([issued_supply_2 - amount_3, amount_5]).
Observed Behavior
The UTXOs for Asset 2 are merged into one entry during the send operation for Asset 1, suggesting unintended interaction between asset allocations.
Reproduction Steps
Set up two wallets (wlt_1, wlt_2) and two asset contracts (contract_id_1, contract_id_2).
Perform cross-sends of assets between wallets.
After sending Asset 1, check wlt_1's allocations for Asset 2.
Description
When sending assets of one type (Asset 2), the UTXO allocations of another unrelated asset (Asset 1) are being unexpectedly merged, violating the expected allocation structure.
Context
In a test scenario involving two wallets (
wlt_1
andwlt_2
) and two distinct assets (contract_id_1
andcontract_id_2
):wlt_1
holds allocations for Asset 2 (contract_id_2
) as[issued_supply_2 - amount_3, amount_5]
(two separate UTXOs).contract_id_1
) fromwlt_1
towlt_2
.wlt_1
are incorrectly merged into a single UTXO[issued_supply_2 - amount_3 + amount_5]
, causing an assertion failure.Expected Behavior
Sending Asset 1 should not affect the UTXO structure of Asset 2. The allocations for Asset 2 in
wlt_1
should remain as two separate entries ([issued_supply_2 - amount_3, amount_5]
).Observed Behavior
The UTXOs for Asset 2 are merged into one entry during the send operation for Asset 1, suggesting unintended interaction between asset allocations.
Reproduction Steps
wlt_1
,wlt_2
) and two asset contracts (contract_id_1
,contract_id_2
).wlt_1
's allocations for Asset 2.The text was updated successfully, but these errors were encountered: