Skip to content

Commit

Permalink
use ISamWitchVRF
Browse files Browse the repository at this point in the history
  • Loading branch information
doublesharp committed Feb 24, 2024
1 parent 06ae4fd commit 29ec761
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/test/TestVRFConsumer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
pragma solidity ^0.8.24;

import {ISamWitchVRFConsumer} from "../interfaces/ISamWitchVRFConsumer.sol";
import {SamWitchVRF} from "../SamWitchVRF.sol";
import {ISamWitchVRF} from "../interfaces/ISamWitchVRF.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";

contract TestVRFConsumer is ISamWitchVRFConsumer, Ownable {
error ShouldRevertTrue();
error OnlySamWitchVRF();

SamWitchVRF public samWitchVRF;
ISamWitchVRF public samWitchVRF;
mapping(bytes32 requestId => uint256[] randomWords) public allRandomWords;
bool private shouldRevert;

Expand All @@ -20,7 +20,7 @@ contract TestVRFConsumer is ISamWitchVRFConsumer, Ownable {
_;
}

constructor(SamWitchVRF _samWitchVRF) Ownable(msg.sender) {
constructor(ISamWitchVRF _samWitchVRF) Ownable(msg.sender) {
samWitchVRF = _samWitchVRF;
}

Expand Down

0 comments on commit 29ec761

Please sign in to comment.