Skip to content

Commit

Permalink
fix: changeStakeOverlay in mock staking contract
Browse files Browse the repository at this point in the history
  • Loading branch information
nugaon committed Jul 9, 2024
1 parent a5cec0a commit 32d6a2a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/storageincentives/staking/mock/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ func (s *stakingContractMock) DepositStake(ctx context.Context, stakedAmount *bi
return s.depositStake(ctx, stakedAmount)
}

func (s *stakingContractMock) ChangeStakeOverlay(_ context.Context, h common.Hash) (common.Hash, error) {
return h, nil
}

func (s *stakingContractMock) GetStake(ctx context.Context) (*big.Int, error) {
return s.getStake(ctx)
}
Expand Down

0 comments on commit 32d6a2a

Please sign in to comment.