Summary
A valid wallet address that has never bought keys for a creator should return a zero balance rather than an error or null. A regression test for this state confirms the balance read handles uninitialized holders gracefully.
Scope
- add a regression test that reads the key balance for a wallet address that has never purchased keys
- assert the returned balance is zero
- assert no error is produced for the uninitialized address
Acceptance Criteria
- a key balance read for an address with no buys returns zero
- no error is produced for the uninitialized address
- the test uses a distinct address that has not interacted with the contract
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg
Summary
A valid wallet address that has never bought keys for a creator should return a zero balance rather than an error or null. A regression test for this state confirms the balance read handles uninitialized holders gracefully.
Scope
Acceptance Criteria
Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg