Summary
submit_attestation is the entire trust boundary of this project: only a
provider's registered operator may post for it. That guarantee should be pinned
by a test that proves require_auth() is genuinely enforced, not merely
present in the source.
A test running with all auths mocked cannot demonstrate this — it passes
whether or not the check is there.
Acceptance Criteria
Tech Stack
Rust, soroban-sdk test utilities
Summary
submit_attestationis the entire trust boundary of this project: only aprovider's registered operator may post for it. That guarantee should be pinned
by a test that proves
require_auth()is genuinely enforced, not merelypresent in the source.
A test running with all auths mocked cannot demonstrate this — it passes
whether or not the check is there.
Acceptance Criteria
submit_attestationwithout mocking auth, and assert it fails
register_providerif it has an auth requirementmocked here, so a future contributor doesn't "fix" it by adding mocks
Tech Stack
Rust, soroban-sdk test utilities