fixing library import error;

passing test by removing the getSnxAddr in mockSynthetix;
This commit is contained in:
Lecky Lao 2020-07-19 20:11:37 +10:00
parent 193b57b05c
commit 359b6adf36
2 changed files with 2 additions and 6 deletions

View File

@ -1,8 +1,8 @@
pragma solidity ^0.6.0;
pragma experimental ABIEncoderV2;
import { SafeERC20 } from "../../node_modules/@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import { IERC20 } from "../../node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/SafeERC20.sol";
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
interface LiqudityInterface {
function deposit(address, uint) external payable;

View File

@ -14,10 +14,6 @@ contract MockSynthetixStaking is ConnectSynthetixStaking{
function emitEvent(bytes32 eventCode, bytes memory eventData) override internal {}
function getSnxAddr() override internal view returns (address) {
return synthetixStakingAddr;
}
function getMappingAddr() override internal view returns (address) {
return instaMappingAddr;
}