Skip to content

Commit

Permalink
test: add omnichain contracts test (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukema95 authored Jun 3, 2024
1 parent ebcd0c1 commit cb04b9b
Show file tree
Hide file tree
Showing 38 changed files with 31,337 additions and 3,519 deletions.
6 changes: 6 additions & 0 deletions omnichain/multioutput/contracts/shared/MockContract.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

import "@zetachain/toolkit/contracts/shared/MockSystemContract.sol";
import "@zetachain/toolkit/contracts/shared/MockZRC20.sol";
import "@zetachain/toolkit/contracts/shared/WZETA.sol";
4 changes: 4 additions & 0 deletions omnichain/multioutput/contracts/shared/TestUniswapCore.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.5.16;

import "@zetachain/toolkit/contracts/shared/TestUniswapCore.sol";
4 changes: 4 additions & 0 deletions omnichain/multioutput/contracts/shared/TestUniswapRouter.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

import "@zetachain/toolkit/contracts/shared/TestUniswapRouter.sol";
7 changes: 6 additions & 1 deletion omnichain/multioutput/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ const config: HardhatUserConfig = {
networks: {
...getHardhatConfigNetworks(),
},
solidity: "0.8.7",
solidity: {
compilers: [
{ version: "0.5.16" /** For uniswap v2 core*/ },
{ version: "0.8.7" },
],
},
};

export default config;
Loading

0 comments on commit cb04b9b

Please sign in to comment.