Skip to content

#88: Integration test — merchant payout address change mid-settlement #279

Description

Description

Combine treasury-local #32 with a real cross-contract scenario: merchant calls update_merchant_payout_address between propose_settlement and execute_settlement, confirm funds go to the address current at execution time, and that this is the deliberately intended behavior (not a bug).

Requirements and context

If funds should instead be locked to the payout address at proposal time, that's a different (larger) issue — first confirm current behavior and document/test whichever is correct.

Suggested execution

git checkout -b test/e2e-payout-address-change-mid-settlement
  • Files: tests/invoice_treasury/mod.rs

Test and commit

  • Test: payout address change between proposal and execution behaves per confirmed/documented design
  • cargo test --all passes

Example commit message

test: cover merchant payout address change during settlement lifecycle

Closes #88

Guidelines

Timeframe: 48 hours. Depends on #32.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions