Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/fiber.yml
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ jobs:
if: failure()
uses: actions/upload-artifact@v4
with:
name: jfoa-fiber_test_send_payment_debug_mixed-reports-${{ runner.os }}
name: jfoa-fiber_test_trampoline_routing_one_way-reports-${{ runner.os }}
path: ./report

fiber_test_compatibility:
Expand Down Expand Up @@ -612,6 +612,6 @@ jobs:
if: failure()
uses: actions/upload-artifact@v4
with:
name: jfoa-fiber_test_send_payment_debug_mixed-reports-${{ runner.os }}
name: jfoa-fiber_test_compatibility-reports-${{ runner.os }}
path: ./report

8 changes: 8 additions & 0 deletions framework/basic_fiber.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,8 @@ def send_invoice_payment(
"invoice": invoice["invoice_address"],
"allow_self_payment": True,
"max_parts": hex(12),
# Extremely high max_fee_rate to avoid test failures due to fees
# Production code should use reasonable values (default is 5 = 0.5%)
"max_fee_rate": hex(1000000000000000),
}
if "allow_atomic_mpp" in invoice_params:
Expand All @@ -457,6 +459,8 @@ def send_invoice_payment(
"invoice": invoice["invoice_address"],
"allow_self_payment": True,
"max_parts": hex(12),
# Extremely high max_fee_rate to avoid test failures due to fees
# Production code should use reasonable values (default is 5 = 0.5%)
"max_fee_rate": hex(1000000000000000),
}
if "allow_atomic_mpp" in invoice_params:
Expand All @@ -476,6 +480,8 @@ def send_payment(self, fiber1, fiber2, amount, wait=True, udt=None, try_count=5)
"keysend": True,
"allow_self_payment": True,
"udt_type_script": udt,
# Extremely high max_fee_rate to avoid test failures due to fees
# Production code should use reasonable values (default is 5 = 0.5%)
"max_fee_rate": hex(1000000000000000),
# "final_tlc_expiry_delta": hex(120960000),
}
Expand All @@ -495,6 +501,8 @@ def send_payment(self, fiber1, fiber2, amount, wait=True, udt=None, try_count=5)
"keysend": True,
"allow_self_payment": True,
"udt_type_script": udt,
# Extremely high max_fee_rate to avoid test failures due to fees
# Production code should use reasonable values (default is 5 = 0.5%)
"max_fee_rate": hex(1000000000000000),
}
)
Expand Down
Empty file.
Loading