mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
cmd/loop: update static loop-in replay fixtures
Refresh static loop-in replay sessions for the low-confirmation warning and payment-timeout prompts. Add replay coverage for the warning prompt and update fee and payment-timeout variants for the new interaction sequence.
This commit is contained in:
parent
64187c9502
commit
f32669c70f
5 changed files with 155 additions and 0 deletions
|
|
@ -91,6 +91,37 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 65,
|
||||
"kind": "grpc",
|
||||
"data": {
|
||||
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
|
||||
"event": "request",
|
||||
"message_type": "looprpc.StaticAddressSummaryRequest",
|
||||
"payload": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 65,
|
||||
"kind": "grpc",
|
||||
"data": {
|
||||
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
|
||||
"event": "response",
|
||||
"message_type": "looprpc.StaticAddressSummaryResponse",
|
||||
"payload": {
|
||||
"static_address": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw",
|
||||
"relative_expiry_blocks": "14400",
|
||||
"total_num_deposits": 1,
|
||||
"value_unconfirmed_satoshis": "0",
|
||||
"value_deposited_satoshis": "2500000",
|
||||
"value_expired_satoshis": "0",
|
||||
"value_withdrawn_satoshis": "0",
|
||||
"value_looped_in_satoshis": "0",
|
||||
"value_htlc_timeout_sweeps_satoshis": "0",
|
||||
"value_channels_opened": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 65,
|
||||
"kind": "stdout",
|
||||
|
|
|
|||
|
|
@ -94,6 +94,37 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 500,
|
||||
"kind": "grpc",
|
||||
"data": {
|
||||
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
|
||||
"event": "request",
|
||||
"message_type": "looprpc.StaticAddressSummaryRequest",
|
||||
"payload": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 500,
|
||||
"kind": "grpc",
|
||||
"data": {
|
||||
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
|
||||
"event": "response",
|
||||
"message_type": "looprpc.StaticAddressSummaryResponse",
|
||||
"payload": {
|
||||
"static_address": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw",
|
||||
"relative_expiry_blocks": "14400",
|
||||
"total_num_deposits": 1,
|
||||
"value_unconfirmed_satoshis": "0",
|
||||
"value_deposited_satoshis": "500000",
|
||||
"value_expired_satoshis": "0",
|
||||
"value_withdrawn_satoshis": "0",
|
||||
"value_looped_in_satoshis": "0",
|
||||
"value_htlc_timeout_sweeps_satoshis": "0",
|
||||
"value_channels_opened": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 500,
|
||||
"kind": "grpc",
|
||||
|
|
|
|||
|
|
@ -99,6 +99,37 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 446,
|
||||
"kind": "grpc",
|
||||
"data": {
|
||||
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
|
||||
"event": "request",
|
||||
"message_type": "looprpc.StaticAddressSummaryRequest",
|
||||
"payload": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 446,
|
||||
"kind": "grpc",
|
||||
"data": {
|
||||
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
|
||||
"event": "response",
|
||||
"message_type": "looprpc.StaticAddressSummaryResponse",
|
||||
"payload": {
|
||||
"static_address": "bcrt1pfu9g59aqtxd39653f76y4c8z7r3t9tmcvrvhl57a3dgj3epdwxdqcd9fpw",
|
||||
"relative_expiry_blocks": "14400",
|
||||
"total_num_deposits": 1,
|
||||
"value_unconfirmed_satoshis": "0",
|
||||
"value_deposited_satoshis": "500000",
|
||||
"value_expired_satoshis": "0",
|
||||
"value_withdrawn_satoshis": "0",
|
||||
"value_looped_in_satoshis": "0",
|
||||
"value_htlc_timeout_sweeps_satoshis": "0",
|
||||
"value_channels_opened": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 446,
|
||||
"kind": "stdout",
|
||||
|
|
|
|||
|
|
@ -127,6 +127,37 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 50,
|
||||
"kind": "grpc",
|
||||
"data": {
|
||||
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
|
||||
"event": "request",
|
||||
"message_type": "looprpc.StaticAddressSummaryRequest",
|
||||
"payload": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 50,
|
||||
"kind": "grpc",
|
||||
"data": {
|
||||
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
|
||||
"event": "response",
|
||||
"message_type": "looprpc.StaticAddressSummaryResponse",
|
||||
"payload": {
|
||||
"static_address": "bcrt1p604kzzh28764kkw45yps48weergwljggamhhe7tqfglzjzang6cs43f2m2",
|
||||
"relative_expiry_blocks": "14400",
|
||||
"total_num_deposits": 4,
|
||||
"value_unconfirmed_satoshis": "0",
|
||||
"value_deposited_satoshis": "2546150",
|
||||
"value_expired_satoshis": "0",
|
||||
"value_withdrawn_satoshis": "0",
|
||||
"value_looped_in_satoshis": "0",
|
||||
"value_htlc_timeout_sweeps_satoshis": "0",
|
||||
"value_channels_opened": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 50,
|
||||
"kind": "grpc",
|
||||
|
|
|
|||
|
|
@ -118,6 +118,37 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 45,
|
||||
"kind": "grpc",
|
||||
"data": {
|
||||
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
|
||||
"event": "request",
|
||||
"message_type": "looprpc.StaticAddressSummaryRequest",
|
||||
"payload": {}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 45,
|
||||
"kind": "grpc",
|
||||
"data": {
|
||||
"method": "/looprpc.SwapClient/GetStaticAddressSummary",
|
||||
"event": "response",
|
||||
"message_type": "looprpc.StaticAddressSummaryResponse",
|
||||
"payload": {
|
||||
"static_address": "bcrt1p604kzzh28764kkw45yps48weergwljggamhhe7tqfglzjzang6cs43f2m2",
|
||||
"relative_expiry_blocks": "14400",
|
||||
"total_num_deposits": 3,
|
||||
"value_unconfirmed_satoshis": "0",
|
||||
"value_deposited_satoshis": "2046150",
|
||||
"value_expired_satoshis": "0",
|
||||
"value_withdrawn_satoshis": "0",
|
||||
"value_looped_in_satoshis": "0",
|
||||
"value_htlc_timeout_sweeps_satoshis": "0",
|
||||
"value_channels_opened": "0"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"time_ms": 45,
|
||||
"kind": "grpc",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue