Skip to content

test(events): grant pillar — claim_milestone dynamic-release math #32

Description

@0xdevcollins

Part of #25 (contract test-coverage push).

events

How to test

  • Reuse the crate's tests/common.rs harness; add tests/grant_pillar.rs + a one-line mod grant_pillar; in tests/mod.rs.
  • Template: contracts/events/src/tests/crowdfunding.rs.
  • Run cargo test -p boundless-events, then cargo test --all before the PR.

Acceptance criteria

  • New tests/grant_pillar.rs covering every function in scope.
  • Happy path + each Error variant + edge cases + auth-rejection (+ idempotency where relevant).
  • cargo test --all passes; PR links this issue.

Metadata

Metadata

Assignees

No one assigned

    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