andromedaprotocol/andromeda-core

[Validator Staking] Proper Reward Handling

Closed this issue · 0 comments

Description

sherlock-audit/2024-05-andromeda-ado-judging#42

Implementation

Update execute_stake function to set withdraw address so that rewards do not get stuck on the contract itself

Dependencies

None

Acceptance Criteria

  • Staking rewards should be sent to the staker by default before claim
  • Unit test
  • Integration test