The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperlane-monorepo/solidity/core/package.json

45 lines
1.3 KiB

{
"name": "@abacus-network/core",
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.1",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@typechain/ethers-v5": "~7.0.0",
"@typechain/hardhat": "^2.0.1",
"chai": "^4.3.0",
"eslint": "^7.20.0",
"ethereum-waffle": "^3.2.2",
"ethers": "^5.4.4",
"hardhat": "^2.8.3",
"hardhat-gas-reporter": "^1.0.7",
"prettier": "^2.2.1",
"prettier-plugin-solidity": "^1.0.0-beta.5",
"solhint": "^3.3.2",
"solhint-plugin-prettier": "^0.0.5",
"solidity-coverage": "^0.7.14",
test: migrate tests and deploy process to ts (#400) * refactor: migrate js lib to ts * refactor: rewrite extendEnvironment in ts * add: sample tests * add: extend hre * refactor: ts deploy and signer type * refactor: devDeploy for tests * document: isTestDeploy param, add common.test.ts * add: common tests * fix: common tests * clean: remove sample script * refactor: remove Signer type and use ethers.Signer * refactor: typescript directory * build: generate typechain * refactor: typescript code (#399) * refactor: optics-tests/optics-deploy * fix: install typechain * fix * fix: ts errors * add: merkle tests (#417) * add: merkle tests * clean: remove commented code * fix: merkle tests * test: add queue tests (#422) * Add queue tests * fix: add await to fix nonce bug * test: home ts (#401) * add: home tests * add: home tests * add: deploy home (broken) * refactor: add num confirmations to config * refactor: clean up around ts tests (#424) - add testChain.ts with utility functions for making test Chain and Deploy - refactor the Optics hardhat extension - improve typing of enums in Optics lib - remove most references to waffle (prefer ethers) - remove isTestDeploy from deployment args in favor of a test? on Deploys * refactor: clean test deploy, home tests passing * refactor: deployOptics * fix: white space * lint: fix white space * refactor: testCase vectors and imports * fix: rust test vector generation * fix: missing await Co-authored-by: James Prestwich <10149425+prestwich@users.noreply.github.com> * test: add message test (#423) * test: add message test * fix: replace require with import * fix: import for queue.test.ts * enhance: add type check * fix: import conflicts * test: add upgrade tests (#443) * test: add upgrade tests * fix: missing arg * refactor: clean up code * remove: unused code * refactor: deploy proxy * fix: unsaved code * fix: ts conflicts * add: utils ts (#453) * draft * refactor: remove waffle from home tests * fix: types, remove waffle Co-authored-by: yoduyodu <wang7ong@gmail.com> * test: add XAppConnectionManager tests (#456) * test: add XAppConnectionManager tests * test: initial setup for XAppConnectionManager tests * test: most XAppConnectionManager tests passing * fix: failing test * test: SimpleMessage ts (#468) * test: add cross-chain test utils * test: simpleMessage, mostly passing * fix: prove and process test * test: add initial state test, clean up * test: recoverymanager ts (#473) * test: add recoveryManager initial tests * fix: set recoveryManager in ts deploy * fix: set governor * test: replica ts (#483) * test: add replica tests * debug: fix failing tests * WIP: test: governance router/upgrade ts (#470) * test: add governance router tests * debug: some tests * debug: Gov Router tests * refactor: upgradeUtils * fix: missing await * test: clean up ts tests (#484) * clean: imports * refactor: utils * refactor: remove logs during testing * fix: weird bug, ethers.getSigners messes up describe blocks * delete: solidity/optics-core/js * update: pre-commit script for ts * update: pre-commit and scripts * fix: test, update with main * clean: types * fix: bad recipient handle * add: todo for gov router test * add: add back verify deploy stuff in js for now * bug: fix the governance upgrade test (#490) * fix: gov router upgrade test * feature: use TS in both solidity packages * bug: install deps in typescript dir in tests * feature: enhanced github action install * chore: disable automerge, and move lint before test Co-authored-by: Tong Wang <wang7ong@gmail.com> Co-authored-by: James Prestwich <10149425+prestwich@users.noreply.github.com> Co-authored-by: James Prestwich <james@prestwi.ch>
3 years ago
"ts-node": "^10.1.0",
"typechain": "^5.0.0",
"typescript": "^4.3.5"
},
"version": "0.1.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"directories": {
"test": "test"
},
"scripts": {
"prettier": "prettier --write ./contracts ./libs ./test",
SDK overhaul (#343) * Improve deploy ergonomics * Prettier * It works for the app template * Fix scripts * Fix build and tests * Update typescript/deploy/src/utils.ts Co-authored-by: Yorke Rhodes <yorke@useabacus.network> * Use stricter generics in sdk * Adapt deploy tooling to use generics * Fix infra types * Fix contract-metrics types * Fix contract-metrics types * Update RouterConfig generic * Update infra types * Remove diff file * Simplify contracts abstraction * Stash sdk changes for review * Refactor governance with new types * Fix AbacusApp and AbacusContract interfaces * Complete sdk refactor * Update deploy package * Stash infra changes * Fix infra build * Address some pr comments * Address more pr comments * Fix infra build * Fix sdk tests * Restore contract-metrics to main * Stash for nam * Fix hardhat provider bug * Use deep equal for array comparison * Fix tests * Move infra test networks to actual test (#371) * Fix lint * Fix utils exports * Remove prettier from solidity build * Fix build after merge * Remove excessive deploy logging * Type dev/core/config * Use inboxes over mailboxes * Use AllChains over Object.values(ChainName) * Cleanup owners in governance infra tests * Revert sdk mocha changes * Capitalize type names * More pr comments * Revert utils package changes * Apply prettier formatting * Make deploy dep on utils explicit * Revert hre.ethers.getSigners changes * Fetch multiprovider from environment (#380) Co-authored-by: yorhodes <yorke@useabacus.network> * Address pr comments * Fix infra build * Fix lint * Update infra scripts * Standardize Checker interface and abstract owners * Comment to explain governance checker ownership * Make it clear what the MailboxAddresses type represents * Type RustConfig with Networks and remove casts * Infra updates * Fix * Remove test log * Fix lint * Remove test addresses from SDK * Address sdk comments * PR review * Change MultiGeneric type order * Remove utils access * Elaborate in comments * fix lint * lint * PR Review Co-authored-by: Asa Oines <asaoines@Asas-MacBook-Pro.local> Co-authored-by: Asa Oines <asaoines@gmail.com> Co-authored-by: Nam Chu Hoai <nambrot@googlemail.com>
3 years ago
"build": "hardhat compile && hardhat typechain && tsc && npm run copy-types",
"copy-types": "cp types/*.d.ts dist/",
"coverage": "hardhat coverage",
"test": "hardhat test"
},
"license": "MIT OR Apache-2.0",
"dependencies": {
"@abacus-network/utils": "^0.1.1",
"@openzeppelin/contracts": "^4.6.0",
"@openzeppelin/contracts-upgradeable": "^4.6.0",
"@summa-tx/memview-sol": "^2.0.0",
"ts-generator": "^0.1.1"
}
}