Skip to content

Commit

Permalink
Fixed smartcontractkit/chainlink bullshit
Browse files Browse the repository at this point in the history
What a shitty release cycle they have.
  • Loading branch information
Neeraj Kashyap committed Jan 25, 2024
1 parent 23bfeae commit 875a4e7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions brownie-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
dependencies:
- "OpenZeppelin/[email protected]"
- "smartcontractkit/chainlink@1.13.3"
- "smartcontractkit/chainlink@2.1.1"

compiler:
solc:
remappings:
- "@openzeppelin-contracts=OpenZeppelin/[email protected]"
- "@openzeppelin/contracts=OpenZeppelin/[email protected]"
- "@chainlink=smartcontractkit/chainlink@1.13.3"
- "@chainlink=smartcontractkit/chainlink@2.1.1"
2 changes: 1 addition & 1 deletion contracts/LootboxRandomness.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

pragma solidity ^0.8.0;

import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
import "@chainlink/contracts/src/v0.8/vrf/VRFConsumerBase.sol";

abstract contract LootboxRandomness is VRFConsumerBase {
uint256 ChainlinkVRFFee;
Expand Down
4 changes: 2 additions & 2 deletions contracts/mock/MockChainlinkCoordinator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ pragma solidity ^0.8.0;

import "./MockLinkToken.sol";

import "@chainlink/contracts/src/v0.8/VRFRequestIDBase.sol";
import "@chainlink/contracts/src/v0.8/vrf/VRFRequestIDBase.sol";

import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
import "@chainlink/contracts/src/v0.8/vrf/VRFConsumerBase.sol";

/**
* @title MockChainlinkCordinator contract, to use VRF it locally
Expand Down
2 changes: 1 addition & 1 deletion contracts/mock/MockVRFUser.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";
import "@chainlink/contracts/src/v0.8/vrf/VRFConsumerBase.sol";

contract MockVRFUser is VRFConsumerBase {
uint256 ChainlinkVRFFee;
Expand Down

0 comments on commit 875a4e7

Please sign in to comment.