Skip to content

itests: Add assertions to testCustomChannels to increase test coverage #867

@dstadulis

Description

@dstadulis

Gijs and Roas can enumerate additional test cases from their conversation:
testCustomChannels can have additiona assertions added to increase test coverage

Preliminary testing ideas to inspire ideas:

  • Assert that asset inputs meet stipulations in Limit number of HTLCs in custom channel taproot-assets#1132
  • HTLC errors: forwarding etc
  • Partial shard fulfillment
  • RFQ violations: client side creates a violation, Inconsistency between rate during quote and forwarding (Edge node updates their rate after issuing quote)
  • RFQ tolerance passes within amount or outside of amount
  • very small or large amounts payment amounts, attempts to drain sats balance of channel after asset-channel created
  • Explore any non standard amount / behavior
  • Lost HTLCs due to node dying mid routing process

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions