Skip to content

Emit an event when a verifier stake is returned #2364

Description

@RUKAYAT-CODER

Background

Verifier stake deposits and slashes emit events (verifier_stake_deposited, verifier_stake_slashed), but return_verifier_stake does not emit anything, so off-chain consumers cannot observe a returned stake. Add and emit a verifier_stake_returned event.

Files to modify (2)

  • contracts/earn-quest/src/events.rs
  • contracts/earn-quest/src/escrow.rs

Acceptance Criteria

  • Implemented across the listed files
  • Unit/integration tests added or updated and passing
  • No regression; follows project coding standards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions