Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
moebius committed Jul 27, 2023
1 parent 2d770c9 commit 3917493
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions solidity/test/unit/Oracle.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ contract Oracle_UnitTest is Test {

bytes32[] memory _precalculatedIds = new bytes32[](_requestsAmount);

bool _useResoltionAndFinality = _requestData.length % 2 == 0;
bool _useResolutionAndFinality = _requestData.length % 2 == 0;

// Generate requests batch
for (uint256 _i = 0; _i < _requestsAmount; _i++) {
if (!_useResoltionAndFinality) {
if (!_useResolutionAndFinality) {
disputeModule = IDisputeModule(address(0));
finalityModule = IFinalityModule(address(0));
}
Expand All @@ -245,7 +245,7 @@ contract Oracle_UnitTest is Test {
_requests[_i] = _request;
_precalculatedIds[_i] = _theoricRequestId;

if (_useResoltionAndFinality) {
if (_useResolutionAndFinality) {
vm.mockCall(
address(disputeModule),
abi.encodeCall(IModule.setupRequest, (_theoricRequestId, _request.resolutionModuleData)),
Expand Down

0 comments on commit 3917493

Please sign in to comment.