Skip to content

Add unit tests for key transfer sender balance decremented correctly #419

Description

@Chucks1093

Summary

The peer-to-peer transfer function must decrement the sender's key balance by exactly the transferred amount. This needs explicit unit test coverage.

Scope

  • Register a creator, give a test wallet a balance via buy
  • Call transfer_keys and assert the sender balance is reduced by the exact transfer amount
  • Assert the recipient balance is increased by the same amount

Acceptance Criteria

  • Sender balance decremented by transfer amount
  • Recipient balance incremented by transfer amount
  • Total supply unchanged after transfer

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions