Skip to content

Add regression test for buy revert when creator is not registered #275

@Chucks1093

Description

@Chucks1093

Summary
The buy quote method is tested against a missing creator, but the actual buy execution path for an unregistered creator is not covered by a regression test. Confirming the buy reverts with the expected error prevents a silent failure mode.

Scope

  • add a regression test that calls the buy function for a creator address that has not been registered
  • assert the call reverts with the expected not-registered error variant
  • assert no state changes occur as a result of the failed call

Acceptance Criteria

  • a buy against an unregistered creator reverts with the correct error
  • no supply, balance, or fee state is modified by the failed call
  • the test is distinct from the existing buy quote missing-creator test

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Assignees

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