Skip to content

Commit

Permalink
Add test for utxo move in mempool
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouziel committed Jan 13, 2025
1 parent 7b00b54 commit 5290fb5
Showing 1 changed file with 48 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,52 @@
}
],
},
{
"title": "Attach DETACHA asset to UTXO",
"transaction": "attach",
"source": "$ADDRESS_10",
"params": {
"asset": "DETACHA",
"quantity": 1 * 10**8,
},
"set_variables": {
"ATTACH2_DETACHA_TX_HASH": "$TX_HASH",
},
"controls": [],
},
{
"title": "Move no confirmation",
"transaction": "movetoutxo",
"no_confirmation": True,
"source": "$ATTACH2_DETACHA_TX_HASH:0",
"params": {
"destination": "$ADDRESS_9",
"quantity": 1 * 10**8,
},
"controls": [
{
"url": "mempool/events?event_name=UTXO_MOVE",
"result": [
{
"event": "UTXO_MOVE",
"params": {
"asset": "DETACHA",
"block_index": 9999999,
"destination": "$TX_HASH:0",
"destination_address": "$ADDRESS_9",
"msg_index": 0,
"quantity": 100000000,
"send_type": "move",
"source": "$ATTACH2_DETACHA_TX_HASH:0",
"source_address": "$ADDRESS_10",
"status": "valid",
"tx_hash": "$TX_HASH",
"tx_index": "$TX_INDEX",
},
"tx_hash": "$TX_HASH",
}
],
}
],
},
]

0 comments on commit 5290fb5

Please sign in to comment.