Merge core and app packages (#1169)
* Merge core and app packages * Fix test * Fix test * Dockerfile * Fix testpull/1174/head
parent
03b2e4c5b7
commit
6bb358a0e3
@ -0,0 +1,3 @@ |
||||
module.exports = { |
||||
skipFiles: ['test'], |
||||
}; |
@ -1,3 +0,0 @@ |
||||
module.exports = { |
||||
skipFiles: ["test"], |
||||
}; |
@ -1,34 +0,0 @@ |
||||
import '@nomiclabs/hardhat-waffle'; |
||||
import '@typechain/hardhat'; |
||||
import 'hardhat-gas-reporter'; |
||||
import 'solidity-coverage'; |
||||
|
||||
/** |
||||
* @type import('hardhat/config').HardhatUserConfig |
||||
*/ |
||||
module.exports = { |
||||
solidity: { |
||||
compilers: [ |
||||
{ |
||||
version: '0.8.16', |
||||
}, |
||||
{ |
||||
version: '0.7.6', |
||||
settings: { |
||||
optimizer: { |
||||
enabled: true, |
||||
runs: 999999, |
||||
}, |
||||
}, |
||||
}, |
||||
], |
||||
}, |
||||
gasReporter: { |
||||
currency: 'USD', |
||||
}, |
||||
typechain: { |
||||
outDir: './types', |
||||
target: 'ethers-v5', |
||||
alwaysGenerateOverloads: false, |
||||
}, |
||||
}; |
@ -1,54 +0,0 @@ |
||||
{ |
||||
"name": "@hyperlane-xyz/app", |
||||
"description": "Solidity contracts for Hyperlane apps", |
||||
"version": "0.5.1", |
||||
"dependencies": { |
||||
"@hyperlane-xyz/core": "0.5.1", |
||||
"@hyperlane-xyz/utils": "0.5.1", |
||||
"@openzeppelin/contracts-upgradeable": "^4.5.0" |
||||
}, |
||||
"devDependencies": { |
||||
"@nomiclabs/hardhat-ethers": "^2.0.5", |
||||
"@nomiclabs/hardhat-waffle": "^2.0.2", |
||||
"@typechain/ethers-v5": "10.0.0", |
||||
"@typechain/hardhat": "^6.0.0", |
||||
"@types/mocha": "^9.1.0", |
||||
"chai": "^4.3.0", |
||||
"ethereum-waffle": "^3.4.4", |
||||
"ethers": "^5.6.8", |
||||
"hardhat": "^2.8.4", |
||||
"hardhat-gas-reporter": "^1.0.7", |
||||
"prettier": "^2.4.1", |
||||
"prettier-plugin-solidity": "^1.0.0-beta.5", |
||||
"solhint": "^3.3.2", |
||||
"solhint-plugin-prettier": "^0.0.5", |
||||
"solidity-coverage": "^0.7.14", |
||||
"ts-node": "^10.8.0", |
||||
"typechain": "8.0.0", |
||||
"typescript": "^4.7.2" |
||||
}, |
||||
"directories": { |
||||
"test": "test" |
||||
}, |
||||
"files": [ |
||||
"/dist", |
||||
"/contracts", |
||||
"/interfaces" |
||||
], |
||||
"homepage": "https://www.hyperlane.xyz", |
||||
"keywords": [ |
||||
"Hyperlane", |
||||
"Solidity" |
||||
], |
||||
"license": "Apache-2.0", |
||||
"main": "dist/index.js", |
||||
"repository": "https://github.com/hyperlane-xyz/hyperlane-monorepo", |
||||
"scripts": { |
||||
"build": "hardhat compile && tsc", |
||||
"clean": "hardhat clean && rm -rf ./dist ./cache", |
||||
"coverage": "hardhat coverage", |
||||
"prettier": "prettier --write ./contracts ./test", |
||||
"test": "hardhat test" |
||||
}, |
||||
"types": "dist/index.d.ts" |
||||
} |
@ -1,9 +0,0 @@ |
||||
{ |
||||
"compilerOptions": { |
||||
"outDir": "./dist/", |
||||
"rootDir": "./types/" |
||||
}, |
||||
"exclude": ["./node_modules/", "./dist/", "./types/hardhat.d.ts"], |
||||
"extends": "../../tsconfig.json", |
||||
"include": ["./types/**/*.ts"] |
||||
} |
@ -1,6 +1,6 @@ |
||||
// SPDX-License-Identifier: MIT OR Apache-2.0 |
||||
pragma solidity >=0.6.11; |
||||
import {IOutbox} from "@hyperlane-xyz/core/interfaces/IOutbox.sol"; |
||||
import {IOutbox} from "../../interfaces/IOutbox.sol"; |
||||
|
||||
import "../AbacusConnectionClient.sol"; |
||||
|
@ -1,8 +0,0 @@ |
||||
node_modules/ |
||||
cache/ |
||||
artifacts/ |
||||
types/ |
||||
dist/ |
||||
coverage/ |
||||
coverage.json |
||||
.env |
@ -1,3 +0,0 @@ |
||||
module.exports = { |
||||
skipFiles: ["test"], |
||||
}; |
@ -1,10 +0,0 @@ |
||||
{ |
||||
"extends": "solhint:recommended", |
||||
"rules": { |
||||
"compiler-version": ["error", "^0.6.11"], |
||||
"func-visibility": ["warn", {"ignoreConstructors":true}], |
||||
"not-rely-on-time": "off", |
||||
"avoid-low-level-calls": "off", |
||||
"no-inline-assembly": "off" |
||||
} |
||||
} |
@ -1,9 +0,0 @@ |
||||
{ |
||||
"compilerOptions": { |
||||
"outDir": "./dist/", |
||||
"rootDir": "./types/" |
||||
}, |
||||
"exclude": ["./node_modules/", "./dist/", "./types/hardhat.d.ts"], |
||||
"extends": "../../tsconfig.json", |
||||
"include": ["./types/**/*.ts"] |
||||
} |
@ -1,7 +1,7 @@ |
||||
import { expect } from 'chai'; |
||||
import { ethers } from 'hardhat'; |
||||
|
||||
import merkleTestCases from '../../../vectors/merkle.json'; |
||||
import merkleTestCases from '../../vectors/merkle.json'; |
||||
import { TestMerkle, TestMerkle__factory } from '../types'; |
||||
|
||||
describe('Merkle', async () => { |
@ -1,3 +1,9 @@ |
||||
{ |
||||
"extends": "../tsconfig.json" |
||||
"compilerOptions": { |
||||
"outDir": "./dist/", |
||||
"rootDir": "./types/" |
||||
}, |
||||
"exclude": ["./node_modules/", "./dist/", "./types/hardhat.d.ts"], |
||||
"extends": "../tsconfig.json", |
||||
"include": ["./types/**/*.ts"] |
||||
} |
||||
|
Loading…
Reference in new issue