generated from defi-wonderland/solidity-foundry-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(medusa): propose related tests (#60)
# 🤖 Linear Closes GRT-XXX --------- Co-authored-by: drgorillamd <[email protected]>
- Loading branch information
1 parent
4e57e08
commit d4207cf
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.26; | ||
|
||
import {IEBORequestModule, IOracle} from '../Setup.t.sol'; | ||
import {HandlerParent} from '../handlers/HandlerParent.t.sol'; | ||
|
||
contract PropertyPropose is HandlerParent { | ||
/// @custom:property-id | ||
/// @custom:property | ||
function property_proposeBeforeDeadlineAndNoAnswer(uint256 _requestIdSeed, uint256 _responseIdSeed) public { | ||
// Pick random Response | ||
bytes32 _requestId = _getRandomRequestId(_requestIdSeed); | ||
IOracle.Request memory _requestData = _ghost_requestData[_requestId]; | ||
|
||
// Stake some GRT in Horizon | ||
_stakeGRT(DISPUTE_BOND_SIZE); | ||
} | ||
} |