diff --git a/script/Marketplace.sol b/script/Marketplace.sol index a60b1249..dee04654 100644 --- a/script/Marketplace.sol +++ b/script/Marketplace.sol @@ -4,7 +4,7 @@ pragma solidity ^0.8.13; import {Script, console2} from "forge-std/Script.sol"; import {BtcMarketPlace} from "../src/swap/Btc_Marketplace.sol"; import {MarketPlace} from "../src/swap/Marketplace.sol"; -import {DummyRelay} from "../src/relay/DummyRelay.sol"; +import {TestLightRelay} from "../src/relay/TestLightRelay.sol"; contract MarketplaceScript is Script { function setUp() public {} @@ -15,7 +15,7 @@ contract MarketplaceScript is Script { address forwarder = vm.envAddress("FORWARDER_ADDRESS"); vm.startBroadcast(deployerPrivateKey); - BtcMarketPlace btcMarketplace = new BtcMarketPlace(new DummyRelay(), forwarder); + BtcMarketPlace btcMarketplace = new BtcMarketPlace(new TestLightRelay(), forwarder); MarketPlace marketplace = new MarketPlace(forwarder); vm.stopBroadcast(); diff --git a/src/faucet/Erc20Minter.sol b/src/faucet/Erc20Minter.sol index 40566617..a6fe3175 100644 --- a/src/faucet/Erc20Minter.sol +++ b/src/faucet/Erc20Minter.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity 0.8.18; +pragma solidity ^0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; diff --git a/test/swap/Btc_Marketplace.t.sol b/test/swap/Btc_Marketplace.t.sol index 09763223..5cc3308f 100644 --- a/test/swap/Btc_Marketplace.t.sol +++ b/test/swap/Btc_Marketplace.t.sol @@ -28,7 +28,7 @@ contract MarketPlaceTest is BtcMarketPlace, Test { ArbitaryErc20 token1; TestLightRelay testLightRelay; - constructor() BtcMarketPlace(testLightRelay) {} + constructor() BtcMarketPlace(testLightRelay, address(0x00)) {} function setUp() public { utils = new Utilities();