Skip to content

Add regression test for protocol config state after re-initialization attempt #269

@Chucks1093

Description

@Chucks1093

Summary
If initialize is called a second time after the protocol is already configured, the contract should reject it cleanly. A regression test for this path confirms the guard holds and the existing config is not overwritten.

Scope

  • add a test that calls initialize on an already-initialized contract
  • assert the call is rejected with the expected error variant
  • assert the existing protocol config fields are unchanged after the rejected call

Acceptance Criteria

  • a second initialize call is rejected with the correct error
  • the existing protocol config is intact after the rejected call
  • the test uses the standard contract test setup helper

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