@hyperlane-xyz/cli 14.4.0 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli-bundle/798.index.js +0 -432
- package/cli-bundle/index.js +225602 -199821
- package/cli-bundle/prebuilds/linux-x64/node.napi.node +0 -0
- package/cli-bundle/prebuilds/linux-x64/node.napi1.node +0 -0
- package/examples/cosmosnative/core-config.yaml +20 -0
- package/examples/submit/strategy/file-strategy.yaml +8 -0
- package/examples/submit/strategy/ica-timelock-strategy.yaml +15 -0
- package/examples/submit/strategy/json-rpc-timelock-strategy.yaml +17 -0
- package/examples/submit/transactions/anvil-transactions.yaml +1 -1
- package/package.json +13 -11
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
defaultHook:
|
|
2
|
+
beneficiary: hyp1jq304cthpx0lwhpqzrdjrcza559ukyy3sc4dw5
|
|
3
|
+
oracleConfig:
|
|
4
|
+
hyp:
|
|
5
|
+
gasPrice: '1'
|
|
6
|
+
tokenDecimals: 6
|
|
7
|
+
tokenExchangeRate: '10000000000'
|
|
8
|
+
oracleKey: hyp1jq304cthpx0lwhpqzrdjrcza559ukyy3sc4dw5
|
|
9
|
+
overhead:
|
|
10
|
+
hyp: 200000
|
|
11
|
+
owner: hyp1jq304cthpx0lwhpqzrdjrcza559ukyy3sc4dw5
|
|
12
|
+
type: interchainGasPaymaster
|
|
13
|
+
defaultIsm:
|
|
14
|
+
threshold: 1
|
|
15
|
+
type: merkleRootMultisigIsm
|
|
16
|
+
validators:
|
|
17
|
+
- '0x0c60e7eCd06429052223C78452F791AAb5C5CAc6'
|
|
18
|
+
owner: hyp1jq304cthpx0lwhpqzrdjrcza559ukyy3sc4dw5
|
|
19
|
+
requiredHook:
|
|
20
|
+
type: merkleTreeHook
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
basefork:
|
|
2
|
+
submitter:
|
|
3
|
+
type: file
|
|
4
|
+
filepath: './generated/transactions/base_arbitrum_combined.json' # filepath to combined transactions array
|
|
5
|
+
arbitrumfork:
|
|
6
|
+
submitter:
|
|
7
|
+
type: file
|
|
8
|
+
filepath: './generated/transactions/base_arbitrum_combined.json' # filepath to combined transactions array
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
arbitrumsepolia:
|
|
2
|
+
submitter:
|
|
3
|
+
type: timelockController
|
|
4
|
+
chain: arbitrumsepolia
|
|
5
|
+
address: '0x7fd32493Ca3A38cDf78A4cb74F32f6292f822aBe'
|
|
6
|
+
# The transaction will be proposed by an ICA with a
|
|
7
|
+
# transaction originating from sepolia
|
|
8
|
+
proposerSubmitter:
|
|
9
|
+
type: interchainAccount
|
|
10
|
+
chain: sepolia
|
|
11
|
+
destinationChain: arbitrumsepolia
|
|
12
|
+
internalSubmitter:
|
|
13
|
+
# The safe is on sepolia because that is the origin chain for the ICA
|
|
14
|
+
type: gnosisSafeTxBuilder
|
|
15
|
+
safeAddress: '0x32e02dDB233958834fcB5E93b11E254F8D1EAd1b'
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
anvil3:
|
|
2
|
+
submitter:
|
|
3
|
+
type: timelockController
|
|
4
|
+
chain: anvil3
|
|
5
|
+
# Address of the deployed timelock
|
|
6
|
+
timelockAddress: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266'
|
|
7
|
+
# Optional, the salt to be used for computing the operation id
|
|
8
|
+
salt: '0x0000000000000000000000000000000000000000000000000000000000000000'
|
|
9
|
+
# Optional, minimum amount of time to wait for executing the operation
|
|
10
|
+
# after it has been proposed. By default it will use the minDelay configured on the timelock
|
|
11
|
+
delay: 0
|
|
12
|
+
# Optional, the id of the operation that should be executed before this one
|
|
13
|
+
predecessor: '0x0000000000000000000000000000000000000000000000000000000000000000'
|
|
14
|
+
# Optional, if not defined default to jsonRpc.
|
|
15
|
+
# Strategy to be used for proposing the transaction on the timelock.
|
|
16
|
+
proposerSubmitter:
|
|
17
|
+
type: jsonRpc
|
package/package.json
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperlane-xyz/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.0",
|
|
4
4
|
"description": "A command-line utility for common Hyperlane operations",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@aws-sdk/client-kms": "^3.577.0",
|
|
7
7
|
"@aws-sdk/client-s3": "^3.577.0",
|
|
8
8
|
"@cosmjs/stargate": "^0.32.4",
|
|
9
|
-
"@eslint/js": "^9.
|
|
9
|
+
"@eslint/js": "^9.31.0",
|
|
10
10
|
"@ethersproject/abi": "*",
|
|
11
11
|
"@ethersproject/providers": "*",
|
|
12
|
-
"@hyperlane-xyz/cosmos-sdk": "
|
|
13
|
-
"@hyperlane-xyz/registry": "
|
|
14
|
-
"@hyperlane-xyz/
|
|
12
|
+
"@hyperlane-xyz/cosmos-sdk": "16.0.0",
|
|
13
|
+
"@hyperlane-xyz/http-registry-server": "16.0.0",
|
|
14
|
+
"@hyperlane-xyz/registry": "20.0.0",
|
|
15
|
+
"@hyperlane-xyz/sdk": "16.0.0",
|
|
15
16
|
"@hyperlane-xyz/tsconfig": "workspace:^",
|
|
16
|
-
"@hyperlane-xyz/utils": "
|
|
17
|
+
"@hyperlane-xyz/utils": "16.0.0",
|
|
17
18
|
"@inquirer/core": "9.0.10",
|
|
18
19
|
"@inquirer/figures": "1.0.5",
|
|
19
20
|
"@inquirer/prompts": "3.3.2",
|
|
@@ -31,10 +32,10 @@
|
|
|
31
32
|
"chai": "^4.5.0",
|
|
32
33
|
"chai-as-promised": "^8.0.1",
|
|
33
34
|
"chalk": "^5.3.0",
|
|
34
|
-
"eslint": "^9.
|
|
35
|
-
"eslint-config-prettier": "^
|
|
36
|
-
"eslint-import-resolver-typescript": "^
|
|
37
|
-
"eslint-plugin-import": "^2.
|
|
35
|
+
"eslint": "^9.31.0",
|
|
36
|
+
"eslint-config-prettier": "^10.1.8",
|
|
37
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
38
|
+
"eslint-plugin-import": "^2.32.0",
|
|
38
39
|
"ethers": "^5.8.0",
|
|
39
40
|
"execa": "^9.5.3",
|
|
40
41
|
"latest-version": "^8.0.0",
|
|
@@ -60,7 +61,8 @@
|
|
|
60
61
|
"lint": "eslint -c ./eslint.config.mjs",
|
|
61
62
|
"prettier": "prettier --write ./src ./examples",
|
|
62
63
|
"test:ci": "yarn mocha --config .mocharc.json",
|
|
63
|
-
"test:e2e": "./
|
|
64
|
+
"test:ethereum:e2e": "./src/tests/ethereum/run-e2e-test.sh",
|
|
65
|
+
"test:cosmosnative:e2e": "./src/tests/cosmosnative/run-e2e-test.sh",
|
|
64
66
|
"version:update": "echo \"export const VERSION = '$npm_package_version';\" > src/version.ts",
|
|
65
67
|
"prepack": "yarn bundle"
|
|
66
68
|
},
|