Skip to content

Commit

Permalink
chore: rm dup
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-something committed Nov 26, 2024
1 parent dab5f34 commit c0ffee2
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/invariants/handlers/BaseHandler.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,6 @@ contract BaseHandler is Setup, Actors {
mapping(address _pledger => mapping(bytes32 _disputeId => uint256 _pledgedAmount)) internal _ghost_pledgesFor;
mapping(address _pledger => mapping(bytes32 _disputeId => uint256 _pledgedAmount)) internal _ghost_pledgesAgainst;

function _stakeGRT(uint256 _amount) internal {
GRT.transfer(msg.sender, _amount);

vm.prank(msg.sender);
GRT.approve(address(horizonStaking), _amount);

vm.prank(msg.sender);
horizonStaking.stake(_amount);
}

// Helper functions
function _getRandomChainId(uint256 _seed) internal view returns (string memory) {
bytes32[] memory chainIds = eboRequestCreator.getAllowedChainIds();
Expand Down

0 comments on commit c0ffee2

Please sign in to comment.