Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
jinhoonbang committed Jul 11, 2023
1 parent c903707 commit d6c3682
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions contracts/src/v0.8/vrf/testhelpers/VRFV2PlusConsumerExample.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ contract VRFV2PlusConsumerExample is ConfirmedOwner, VRFConsumerBaseV2Plus {
}
mapping(uint256 /* request id */ => Response /* response */) public s_requests;

constructor(
address vrfCoordinator,
address link
) ConfirmedOwner(msg.sender) VRFConsumerBaseV2Plus(vrfCoordinator) {
constructor(address vrfCoordinator, address link) ConfirmedOwner(msg.sender) VRFConsumerBaseV2Plus(vrfCoordinator) {
s_vrfCoordinator = IVRFCoordinatorV2Plus(vrfCoordinator);
s_linkToken = LinkTokenInterface(link);
}
Expand Down Expand Up @@ -67,12 +64,13 @@ contract VRFV2PlusConsumerExample is ConfirmedOwner, VRFConsumerBaseV2Plus {
bool nativePayment
) external {
uint256 requestId = s_vrfCoordinator.requestRandomWords(
keyHash,
s_subId,
requestConfirmations,
callbackGasLimit,
numWords,
nativePayment);
keyHash,
s_subId,
requestConfirmations,
callbackGasLimit,
numWords,
nativePayment
);
Response memory resp = Response({
requestId: requestId,
randomWords: new uint256[](0),
Expand Down

0 comments on commit d6c3682

Please sign in to comment.