Skip to content

Explicit zero-amount and zero-address input guards across entry points #1020

Description

@joelpeace48-cell

Epic: Contract Safety & Hardening

Summary

Reject zero amounts and zero/invalid addresses early with typed errors.

Background & Problem

Missing zero-checks cause wasted fees, confusing no-ops, and can mask bugs.

Acceptance Criteria

  • All entry points reject invalid zero inputs.
  • Typed errors returned.
  • Covered by tests.

Filed as part of the mainnet-readiness & world-class roadmap. Scope is intentionally small enough for one focused PR; comment to claim.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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