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/package.json

88 lines
3.0 KiB

{
"name": "@hyperlane-xyz/core",
"description": "Core solidity contracts for Hyperlane",
Version Packages (#4103) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @hyperlane-xyz/cli@5.0.0 ### Major Changes - f1d70a5e8: refactor: select chain now become 2 step, select mainnet/testnet type first, then select chain ### Minor Changes - 388d25517: Added HyperlaneRelayer for relaying messages from the CLI - d0f7f21fd: Fix logging for hyperlane core apply - d00f2ffc0: Displays formatted deployment plan to confirm warp deploy. - 40255575c: Adds blockExplorers option on registry init. - 708999433: Adds hyperlane warp apply - 0e1a80e6e: Improve chain metadata and address fetching from github registries - 5529d98d0: Add hyperlane core apply with update ownership - 62d71fad3: Add hyperlane warp update to extend a warp config - 49986aa92: Add collateralAddressOrDenom for collateralVault - ded5718a0: Update hyperlane core read to log the config terminal "preview", only if the number of lines is &lt; 250 - 5125b798d: Prompt for chain testnet/mainnet during chain definition flow - bb470aec2: Add 'submit' command to CLI. ### Patch Changes - 80ac5d28e: Display token symbol when balance is insufficient for command - 6341edf2a: fix: use merkle tree hook address from registry for self relay hook derivations - c539775d7: Default to mailbox address in registry - c2a2897d7: Update CLI verbiage to ask for vault and not token when initiating collateralVault warp route. - Updated dependencies [2c0ae3cf3] - Updated dependencies [0dedbf5a0] - Updated dependencies [388d25517] - Updated dependencies [69a39da1c] - Updated dependencies [4907b510c] - Updated dependencies [488f949ef] - Updated dependencies [c7f5a35e8] - Updated dependencies [7265a4087] - Updated dependencies [0a40dcb8b] - Updated dependencies [f83b492de] - Updated dependencies [79740755b] - Updated dependencies [8533f9e66] - Updated dependencies [ed65556aa] - Updated dependencies [ab827a3fa] - Updated dependencies [dfa908796] - Updated dependencies [ed63e04c4] - Updated dependencies [dfa908796] - Updated dependencies [5aa24611b] - Updated dependencies [cfb890dc6] - Updated dependencies [708999433] - Updated dependencies [5529d98d0] - Updated dependencies [62d71fad3] - Updated dependencies [49986aa92] - Updated dependencies [7fdd3958d] - Updated dependencies [8e942d3c6] - Updated dependencies [fef629673] - Updated dependencies [be4617b18] - Updated dependencies [1474865ae] - @hyperlane-xyz/sdk@5.0.0 - @hyperlane-xyz/utils@5.0.0 ## @hyperlane-xyz/sdk@5.0.0 ### Major Changes - 488f949ef: Upgrade CosmJS libs to 0.32.4 ### Minor Changes - 2c0ae3cf3: Deploy to connextsepolia + superpositiontestnet - 0dedbf5a0: Deploy to endurance, fusemainnet, zoramainnet - 388d25517: Added HyperlaneRelayer for relaying messages from the CLI - 4907b510c: Add logic to parse SmartProvider errors to handle ethers and smart provider errors - c7f5a35e8: Add hyperlane core apply with update default Ism - f83b492de: - Enable updating of hooks through the `EvmHookModule`, including IGP and gas oracles. - Drive-by fixes to ISM module and tests. - 79740755b: Add enroll remote router to WarpModule - 8533f9e66: Adds transferOwnership to warp update to allow ownership to be transferred if the onchain owner differ - ed65556aa: Improve WarpCore validation error message for IGP fee checks - cfb890dc6: Remove outdated logos in SDK (now in registry) - 708999433: Adds hyperlane warp apply - 5529d98d0: Add hyperlane core apply with update ownership - 62d71fad3: Add hyperlane warp update to extend a warp config - 49986aa92: Add collateralAddressOrDenom for collateralVault - 8e942d3c6: Deploy to cheesechain, worldchain, xlayer ### Patch Changes - 69a39da1c: Fix issue with cosmos tx estimation - 7265a4087: Add rpcUrl, chainId, and method(params) to smart provider logging. - 0a40dcb8b: Update cosmos chain schema - ab827a3fa: Removes innacurate contract verification check, resulting in proxy contracts not being marked as proxies during contract verification. - dfa908796: add error message for all calls to assert util - ed63e04c4: Creates HyperlaneReader to re-use dyn provider log level & silences provider logs in deriveIsmConfig like deriveHookConfig. - 5aa24611b: Add 'isInitialized' check before initializing implementation contract (for contracts that disableInitializers in constructors). - 7fdd3958d: Adds logic to prune and minify build artifacts to address 'entity size too large' error thrown from explorers. Note that the only identified instance of this issue is on BSC mainnet. - fef629673: ContractVerifier now adjusts timeouts based on explorer family, which helps with many rate-limiting related contract verification issues. In addition, the ContractVerifier verify logic has been greatly simplified to allowing for a predictable callstack + easy debugging. - be4617b18: Handle subdirectories for the folder in S3Validator class - Updated dependencies [388d25517] - Updated dependencies [488f949ef] - Updated dependencies [dfa908796] - Updated dependencies [90598ad44] - Updated dependencies [1474865ae] - @hyperlane-xyz/utils@5.0.0 - @hyperlane-xyz/core@5.0.0 ## @hyperlane-xyz/utils@5.0.0 ### Major Changes - 488f949ef: Upgrade CosmJS libs to 0.32.4 ### Minor Changes - 388d25517: Added HyperlaneRelayer for relaying messages from the CLI - dfa908796: set the errorMessage argument as required for assert util function ### Patch Changes - 1474865ae: Replace `configDeepEquals` with improve `deepEquals` ## @hyperlane-xyz/widgets@5.0.0 ### Minor Changes - 98eb680ad: Migrate hyperlane widgets lib to monorepo ### Patch Changes - Updated dependencies [2c0ae3cf3] - Updated dependencies [0dedbf5a0] - Updated dependencies [388d25517] - Updated dependencies [69a39da1c] - Updated dependencies [4907b510c] - Updated dependencies [488f949ef] - Updated dependencies [c7f5a35e8] - Updated dependencies [7265a4087] - Updated dependencies [0a40dcb8b] - Updated dependencies [f83b492de] - Updated dependencies [79740755b] - Updated dependencies [8533f9e66] - Updated dependencies [ed65556aa] - Updated dependencies [ab827a3fa] - Updated dependencies [dfa908796] - Updated dependencies [ed63e04c4] - Updated dependencies [5aa24611b] - Updated dependencies [cfb890dc6] - Updated dependencies [708999433] - Updated dependencies [5529d98d0] - Updated dependencies [62d71fad3] - Updated dependencies [49986aa92] - Updated dependencies [7fdd3958d] - Updated dependencies [8e942d3c6] - Updated dependencies [fef629673] - Updated dependencies [be4617b18] - @hyperlane-xyz/sdk@5.0.0 ## @hyperlane-xyz/core@5.0.0 ### Patch Changes - 90598ad44: Removed outbox as param for ArbL2ToL1Ism - Updated dependencies [388d25517] - Updated dependencies [488f949ef] - Updated dependencies [dfa908796] - Updated dependencies [1474865ae] - @hyperlane-xyz/utils@5.0.0 ## @hyperlane-xyz/helloworld@5.0.0 ### Patch Changes - Updated dependencies [2c0ae3cf3] - Updated dependencies [0dedbf5a0] - Updated dependencies [388d25517] - Updated dependencies [69a39da1c] - Updated dependencies [4907b510c] - Updated dependencies [488f949ef] - Updated dependencies [c7f5a35e8] - Updated dependencies [7265a4087] - Updated dependencies [0a40dcb8b] - Updated dependencies [f83b492de] - Updated dependencies [79740755b] - Updated dependencies [8533f9e66] - Updated dependencies [ed65556aa] - Updated dependencies [ab827a3fa] - Updated dependencies [dfa908796] - Updated dependencies [ed63e04c4] - Updated dependencies [5aa24611b] - Updated dependencies [cfb890dc6] - Updated dependencies [708999433] - Updated dependencies [5529d98d0] - Updated dependencies [62d71fad3] - Updated dependencies [49986aa92] - Updated dependencies [7fdd3958d] - Updated dependencies [8e942d3c6] - Updated dependencies [fef629673] - Updated dependencies [90598ad44] - Updated dependencies [be4617b18] - @hyperlane-xyz/sdk@5.0.0 - @hyperlane-xyz/core@5.0.0 ## @hyperlane-xyz/infra@5.0.0 ### Minor Changes - 388d25517: Added HyperlaneRelayer for relaying messages from the CLI ### Patch Changes - Updated dependencies [2c0ae3cf3] - Updated dependencies [0dedbf5a0] - Updated dependencies [388d25517] - Updated dependencies [69a39da1c] - Updated dependencies [4907b510c] - Updated dependencies [488f949ef] - Updated dependencies [c7f5a35e8] - Updated dependencies [7265a4087] - Updated dependencies [0a40dcb8b] - Updated dependencies [f83b492de] - Updated dependencies [79740755b] - Updated dependencies [8533f9e66] - Updated dependencies [ed65556aa] - Updated dependencies [ab827a3fa] - Updated dependencies [dfa908796] - Updated dependencies [ed63e04c4] - Updated dependencies [dfa908796] - Updated dependencies [5aa24611b] - Updated dependencies [cfb890dc6] - Updated dependencies [708999433] - Updated dependencies [5529d98d0] - Updated dependencies [62d71fad3] - Updated dependencies [49986aa92] - Updated dependencies [7fdd3958d] - Updated dependencies [8e942d3c6] - Updated dependencies [fef629673] - Updated dependencies [be4617b18] - Updated dependencies [1474865ae] - @hyperlane-xyz/sdk@5.0.0 - @hyperlane-xyz/utils@5.0.0 - @hyperlane-xyz/helloworld@5.0.0 ## @hyperlane-xyz/ccip-server@5.0.0 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4 months ago
"version": "5.0.0",
"dependencies": {
"@arbitrum/nitro-contracts": "^1.2.1",
"@eth-optimism/contracts": "^0.6.0",
Version Packages (#4103) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @hyperlane-xyz/cli@5.0.0 ### Major Changes - f1d70a5e8: refactor: select chain now become 2 step, select mainnet/testnet type first, then select chain ### Minor Changes - 388d25517: Added HyperlaneRelayer for relaying messages from the CLI - d0f7f21fd: Fix logging for hyperlane core apply - d00f2ffc0: Displays formatted deployment plan to confirm warp deploy. - 40255575c: Adds blockExplorers option on registry init. - 708999433: Adds hyperlane warp apply - 0e1a80e6e: Improve chain metadata and address fetching from github registries - 5529d98d0: Add hyperlane core apply with update ownership - 62d71fad3: Add hyperlane warp update to extend a warp config - 49986aa92: Add collateralAddressOrDenom for collateralVault - ded5718a0: Update hyperlane core read to log the config terminal "preview", only if the number of lines is &lt; 250 - 5125b798d: Prompt for chain testnet/mainnet during chain definition flow - bb470aec2: Add 'submit' command to CLI. ### Patch Changes - 80ac5d28e: Display token symbol when balance is insufficient for command - 6341edf2a: fix: use merkle tree hook address from registry for self relay hook derivations - c539775d7: Default to mailbox address in registry - c2a2897d7: Update CLI verbiage to ask for vault and not token when initiating collateralVault warp route. - Updated dependencies [2c0ae3cf3] - Updated dependencies [0dedbf5a0] - Updated dependencies [388d25517] - Updated dependencies [69a39da1c] - Updated dependencies [4907b510c] - Updated dependencies [488f949ef] - Updated dependencies [c7f5a35e8] - Updated dependencies [7265a4087] - Updated dependencies [0a40dcb8b] - Updated dependencies [f83b492de] - Updated dependencies [79740755b] - Updated dependencies [8533f9e66] - Updated dependencies [ed65556aa] - Updated dependencies [ab827a3fa] - Updated dependencies [dfa908796] - Updated dependencies [ed63e04c4] - Updated dependencies [dfa908796] - Updated dependencies [5aa24611b] - Updated dependencies [cfb890dc6] - Updated dependencies [708999433] - Updated dependencies [5529d98d0] - Updated dependencies [62d71fad3] - Updated dependencies [49986aa92] - Updated dependencies [7fdd3958d] - Updated dependencies [8e942d3c6] - Updated dependencies [fef629673] - Updated dependencies [be4617b18] - Updated dependencies [1474865ae] - @hyperlane-xyz/sdk@5.0.0 - @hyperlane-xyz/utils@5.0.0 ## @hyperlane-xyz/sdk@5.0.0 ### Major Changes - 488f949ef: Upgrade CosmJS libs to 0.32.4 ### Minor Changes - 2c0ae3cf3: Deploy to connextsepolia + superpositiontestnet - 0dedbf5a0: Deploy to endurance, fusemainnet, zoramainnet - 388d25517: Added HyperlaneRelayer for relaying messages from the CLI - 4907b510c: Add logic to parse SmartProvider errors to handle ethers and smart provider errors - c7f5a35e8: Add hyperlane core apply with update default Ism - f83b492de: - Enable updating of hooks through the `EvmHookModule`, including IGP and gas oracles. - Drive-by fixes to ISM module and tests. - 79740755b: Add enroll remote router to WarpModule - 8533f9e66: Adds transferOwnership to warp update to allow ownership to be transferred if the onchain owner differ - ed65556aa: Improve WarpCore validation error message for IGP fee checks - cfb890dc6: Remove outdated logos in SDK (now in registry) - 708999433: Adds hyperlane warp apply - 5529d98d0: Add hyperlane core apply with update ownership - 62d71fad3: Add hyperlane warp update to extend a warp config - 49986aa92: Add collateralAddressOrDenom for collateralVault - 8e942d3c6: Deploy to cheesechain, worldchain, xlayer ### Patch Changes - 69a39da1c: Fix issue with cosmos tx estimation - 7265a4087: Add rpcUrl, chainId, and method(params) to smart provider logging. - 0a40dcb8b: Update cosmos chain schema - ab827a3fa: Removes innacurate contract verification check, resulting in proxy contracts not being marked as proxies during contract verification. - dfa908796: add error message for all calls to assert util - ed63e04c4: Creates HyperlaneReader to re-use dyn provider log level & silences provider logs in deriveIsmConfig like deriveHookConfig. - 5aa24611b: Add 'isInitialized' check before initializing implementation contract (for contracts that disableInitializers in constructors). - 7fdd3958d: Adds logic to prune and minify build artifacts to address 'entity size too large' error thrown from explorers. Note that the only identified instance of this issue is on BSC mainnet. - fef629673: ContractVerifier now adjusts timeouts based on explorer family, which helps with many rate-limiting related contract verification issues. In addition, the ContractVerifier verify logic has been greatly simplified to allowing for a predictable callstack + easy debugging. - be4617b18: Handle subdirectories for the folder in S3Validator class - Updated dependencies [388d25517] - Updated dependencies [488f949ef] - Updated dependencies [dfa908796] - Updated dependencies [90598ad44] - Updated dependencies [1474865ae] - @hyperlane-xyz/utils@5.0.0 - @hyperlane-xyz/core@5.0.0 ## @hyperlane-xyz/utils@5.0.0 ### Major Changes - 488f949ef: Upgrade CosmJS libs to 0.32.4 ### Minor Changes - 388d25517: Added HyperlaneRelayer for relaying messages from the CLI - dfa908796: set the errorMessage argument as required for assert util function ### Patch Changes - 1474865ae: Replace `configDeepEquals` with improve `deepEquals` ## @hyperlane-xyz/widgets@5.0.0 ### Minor Changes - 98eb680ad: Migrate hyperlane widgets lib to monorepo ### Patch Changes - Updated dependencies [2c0ae3cf3] - Updated dependencies [0dedbf5a0] - Updated dependencies [388d25517] - Updated dependencies [69a39da1c] - Updated dependencies [4907b510c] - Updated dependencies [488f949ef] - Updated dependencies [c7f5a35e8] - Updated dependencies [7265a4087] - Updated dependencies [0a40dcb8b] - Updated dependencies [f83b492de] - Updated dependencies [79740755b] - Updated dependencies [8533f9e66] - Updated dependencies [ed65556aa] - Updated dependencies [ab827a3fa] - Updated dependencies [dfa908796] - Updated dependencies [ed63e04c4] - Updated dependencies [5aa24611b] - Updated dependencies [cfb890dc6] - Updated dependencies [708999433] - Updated dependencies [5529d98d0] - Updated dependencies [62d71fad3] - Updated dependencies [49986aa92] - Updated dependencies [7fdd3958d] - Updated dependencies [8e942d3c6] - Updated dependencies [fef629673] - Updated dependencies [be4617b18] - @hyperlane-xyz/sdk@5.0.0 ## @hyperlane-xyz/core@5.0.0 ### Patch Changes - 90598ad44: Removed outbox as param for ArbL2ToL1Ism - Updated dependencies [388d25517] - Updated dependencies [488f949ef] - Updated dependencies [dfa908796] - Updated dependencies [1474865ae] - @hyperlane-xyz/utils@5.0.0 ## @hyperlane-xyz/helloworld@5.0.0 ### Patch Changes - Updated dependencies [2c0ae3cf3] - Updated dependencies [0dedbf5a0] - Updated dependencies [388d25517] - Updated dependencies [69a39da1c] - Updated dependencies [4907b510c] - Updated dependencies [488f949ef] - Updated dependencies [c7f5a35e8] - Updated dependencies [7265a4087] - Updated dependencies [0a40dcb8b] - Updated dependencies [f83b492de] - Updated dependencies [79740755b] - Updated dependencies [8533f9e66] - Updated dependencies [ed65556aa] - Updated dependencies [ab827a3fa] - Updated dependencies [dfa908796] - Updated dependencies [ed63e04c4] - Updated dependencies [5aa24611b] - Updated dependencies [cfb890dc6] - Updated dependencies [708999433] - Updated dependencies [5529d98d0] - Updated dependencies [62d71fad3] - Updated dependencies [49986aa92] - Updated dependencies [7fdd3958d] - Updated dependencies [8e942d3c6] - Updated dependencies [fef629673] - Updated dependencies [90598ad44] - Updated dependencies [be4617b18] - @hyperlane-xyz/sdk@5.0.0 - @hyperlane-xyz/core@5.0.0 ## @hyperlane-xyz/infra@5.0.0 ### Minor Changes - 388d25517: Added HyperlaneRelayer for relaying messages from the CLI ### Patch Changes - Updated dependencies [2c0ae3cf3] - Updated dependencies [0dedbf5a0] - Updated dependencies [388d25517] - Updated dependencies [69a39da1c] - Updated dependencies [4907b510c] - Updated dependencies [488f949ef] - Updated dependencies [c7f5a35e8] - Updated dependencies [7265a4087] - Updated dependencies [0a40dcb8b] - Updated dependencies [f83b492de] - Updated dependencies [79740755b] - Updated dependencies [8533f9e66] - Updated dependencies [ed65556aa] - Updated dependencies [ab827a3fa] - Updated dependencies [dfa908796] - Updated dependencies [ed63e04c4] - Updated dependencies [dfa908796] - Updated dependencies [5aa24611b] - Updated dependencies [cfb890dc6] - Updated dependencies [708999433] - Updated dependencies [5529d98d0] - Updated dependencies [62d71fad3] - Updated dependencies [49986aa92] - Updated dependencies [7fdd3958d] - Updated dependencies [8e942d3c6] - Updated dependencies [fef629673] - Updated dependencies [be4617b18] - Updated dependencies [1474865ae] - @hyperlane-xyz/sdk@5.0.0 - @hyperlane-xyz/utils@5.0.0 - @hyperlane-xyz/helloworld@5.0.0 ## @hyperlane-xyz/ccip-server@5.0.0 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4 months ago
"@hyperlane-xyz/utils": "5.0.0",
"@layerzerolabs/lz-evm-oapp-v2": "2.0.2",
"@openzeppelin/contracts": "^4.9.3",
"@openzeppelin/contracts-upgradeable": "^v4.9.3",
"fx-portal": "^1.0.3"
},
"devDependencies": {
"@layerzerolabs/solidity-examples": "^1.1.0",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-waffle": "^2.0.6",
"@typechain/ethers-v5": "^11.1.2",
"@typechain/ethers-v6": "^0.5.1",
"@typechain/hardhat": "^9.1.0",
"@types/node": "^18.14.5",
"chai": "^4.3.6",
"ethereum-waffle": "^4.0.10",
"ethers": "^5.7.2",
"hardhat": "^2.22.2",
"hardhat-gas-reporter": "^1.0.9",
"hardhat-ignore-warnings": "^0.2.11",
"prettier": "^2.8.8",
"prettier-plugin-solidity": "^1.1.3",
"solhint": "^4.5.4",
"solhint-plugin-prettier": "^0.0.5",
"solidity-bytes-utils": "^0.8.0",
"solidity-coverage": "^0.8.3",
"ts-generator": "^0.1.1",
"ts-node": "^10.8.0",
"typechain": "patch:typechain@npm%3A8.3.2#~/.yarn/patches/typechain-npm-8.3.2-b02e27439e.patch",
"typescript": "5.3.3"
},
"directories": {
"test": "test"
},
"type": "module",
"exports": {
".": "./dist/index.js",
"./mailbox": "./dist/contracts/Mailbox.js",
"./buildArtifact.js": "./dist/buildArtifact.js",
"./buildArtifact.json": "./dist/buildArtifact.json",
"./contracts": "./contracts"
},
"types": "./dist/index.d.ts",
"files": [
"/dist",
"/contracts"
],
"engines": {
"node": ">=16"
},
"homepage": "https://www.hyperlane.xyz",
"repository": "https://github.com/hyperlane-xyz/hyperlane-monorepo",
"keywords": [
"Hyperlane",
"Solidity"
],
"license": "Apache-2.0",
"scripts": {
"build": "yarn hardhat-esm compile && tsc && ./exportBuildArtifact.sh",
"lint": "solhint contracts/**/*.sol",
"clean": "yarn hardhat-esm clean && rm -rf ./dist ./cache ./types ./coverage ./out ./forge-cache ./fixtures",
"coverage": "./coverage.sh",
"docs": "forge doc",
"hardhat-esm": "NODE_OPTIONS='--experimental-loader ts-node/esm/transpile-only --no-warnings=ExperimentalWarning' hardhat --config hardhat.config.cts",
"prettier": "prettier --write ./contracts ./test",
"test": "yarn hardhat-esm test && yarn test:forge",
"test:hardhat": "yarn hardhat-esm test",
"test:forge": "mkdir -p ./fixtures/aggregation ./fixtures/multisig && forge test -vvv",
"test:ci": "yarn test:hardhat && yarn test:forge --no-match-test testFork",
"gas": "forge snapshot",
"gas-ci": "yarn gas --check --tolerance 2 || (echo 'Manually update gas snapshot' && exit 1)",
"slither": "slither .",
"storage": "./storage.sh"
},
"peerDependencies": {
"@ethersproject/abi": "*",
"@ethersproject/providers": "*",
"@types/sinon-chai": "*"
}
}