Skip to content

Commit

Permalink
Merge pull request #4 from GenerationSoftware/gen-1293-allow-rng-retr…
Browse files Browse the repository at this point in the history
…ies-if-failed

Updated to new DrawManager
  • Loading branch information
asselstine committed Apr 11, 2024
2 parents b8f736a + 8c1f0b3 commit 28231ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/RngWitnet.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ contract RngWitnetTest is Test {
}

function testRandomNumber() public {
(uint32 requestId, uint256 lockBlock,) = requestRandomNumber();
(uint32 requestId,,) = requestRandomNumber();
vm.mockCall(address(witnetRandomness), abi.encodeWithSelector(witnetRandomness.fetchRandomnessAfter.selector, requestId), abi.encode(777));
assertEq(rngWitnet.randomNumber(requestId), 777);
}
Expand Down

0 comments on commit 28231ce

Please sign in to comment.