@hyperlane-xyz/cli 13.2.1 → 13.4.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.
@@ -0,0 +1,5 @@
1
+ swell:
2
+ transactions:
3
+ - type: file
4
+ defaultSender: '0xC11e22A31787394950B31e2DEb1d2b5546689B65'
5
+ path: ./generated/transactions/swell.json
@@ -0,0 +1,36 @@
1
+ arbitrum:
2
+ transactions:
3
+ - type: rawTransaction
4
+ transactions:
5
+ - annotation: 'Schedule tx on Timelock'
6
+ timeSkip: 604800
7
+ from: '0x03fD5BE9DF85F0017dC7F4DC3068dDF64fffF25e'
8
+ to: '0xAC98b0cD1B64EA4fe133C6D2EDaf842cE5cF4b01'
9
+ data:
10
+ type: signature
11
+ signature: 'function schedule(address target,uint256 value,bytes calldata data,bytes32 predecessor,bytes32 salt,uint256 delay) public'
12
+ args:
13
+ - '0x80Cebd56A65e46c474a1A101e89E76C4c51D179c'
14
+ - '0'
15
+ - '0xf2fde38b0000000000000000000000007379d7bb2cca68982e467632b6554fd4e72e9431'
16
+ - '0x0000000000000000000000000000000000000000000000000000000000000000'
17
+ - '0x0000000000000000000000000000000000000000000000000000000000000000'
18
+ - '604800'
19
+ - annotation: 'Execute scheduled tx on Timelock'
20
+ from: '0xa7ECcdb9Be08178f896c26b7BbD8C3D4E844d9Ba'
21
+ to: '0xAC98b0cD1B64EA4fe133C6D2EDaf842cE5cF4b01'
22
+ data:
23
+ type: signature
24
+ signature: 'function execute(address target,uint256 value,bytes calldata payload,bytes32 predecessor,bytes32 salt) public'
25
+ args:
26
+ - '0x80Cebd56A65e46c474a1A101e89E76C4c51D179c'
27
+ - '0'
28
+ - '0xf2fde38b0000000000000000000000007379d7bb2cca68982e467632b6554fd4e72e9431'
29
+ - '0x0000000000000000000000000000000000000000000000000000000000000000'
30
+ - '0x0000000000000000000000000000000000000000000000000000000000000000'
31
+ eventAssertions:
32
+ - type: topicSignature
33
+ signature: 'event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)'
34
+ args:
35
+ - '0xAC98b0cD1B64EA4fe133C6D2EDaf842cE5cF4b01'
36
+ - '0x7379D7bB2ccA68982E467632B6554fD4e72e9431'
@@ -0,0 +1,100 @@
1
+ swell:
2
+ transactions:
3
+ - type: file
4
+ defaultSender: '0xC11e22A31787394950B31e2DEb1d2b5546689B65'
5
+ path: ./generated/transactions/swell.json
6
+ overrides:
7
+ '1':
8
+ to: '0xF4eae2f139D8032b8410Fef46f6873cD71A0FD76'
9
+ annotation: 'Set remote gas for Soneium'
10
+ eventAssertions:
11
+ - type: topicSignature
12
+ annotation: 'Check gas has been set for Soneium'
13
+ signature: 'event GasSet(uint32 domain, uint256 gas)'
14
+ args:
15
+ - '1868'
16
+ - '64000'
17
+ '0':
18
+ annotation: 'Enroll Soneium'
19
+ - type: rawTransaction
20
+ transactions:
21
+ # Receive Txs
22
+ - annotation: 'Receive tokens from Soneium'
23
+ from: '0x3a464f746D23Ab22155710f44dB16dcA53e0775E'
24
+ to: '0xFA3198ecF05303a6d96E57a45E6c815055D255b1'
25
+ data:
26
+ type: signature
27
+ signature: 'function handle(uint32 _origin,bytes32 _sender,bytes calldata _message) external payable'
28
+ args:
29
+ - '1868'
30
+ - '0x00000000000000000000000061F2993a644762A345b483ADF0d6351C5EdFB3b5'
31
+ - '0x000000000000000000000000a7eccdb9be08178f896c26b7bbd8c3d4e844d9ba0000000000000000000000000000000000000000000000000000000000100000'
32
+ - annotation: 'Receive tokens from Bsquared'
33
+ from: '0x3a464f746D23Ab22155710f44dB16dcA53e0775E'
34
+ to: '0xFA3198ecF05303a6d96E57a45E6c815055D255b1'
35
+ data:
36
+ type: signature
37
+ signature: 'function handle(uint32 _origin,bytes32 _sender,bytes calldata _message) external payable'
38
+ args:
39
+ - '223'
40
+ - '0x0000000000000000000000000FC41a92F526A8CD22060A4052e156502D6B9db0'
41
+ - '0x000000000000000000000000a7eccdb9be08178f896c26b7bbd8c3d4e844d9ba0000000000000000000000000000000000000000000000000000000000100000'
42
+ - annotation: 'Receive tokens from Boba'
43
+ from: '0x3a464f746D23Ab22155710f44dB16dcA53e0775E'
44
+ to: '0xFA3198ecF05303a6d96E57a45E6c815055D255b1'
45
+ data:
46
+ type: signature
47
+ signature: 'function handle(uint32 _origin,bytes32 _sender,bytes calldata _message) external payable'
48
+ args:
49
+ - '288'
50
+ - '0x000000000000000000000000FA3198ecF05303a6d96E57a45E6c815055D255b1'
51
+ - '0x000000000000000000000000a7eccdb9be08178f896c26b7bbd8c3d4e844d9ba0000000000000000000000000000000000000000000000000000000000100000'
52
+ # Send Txs
53
+ - annotation: 'Send tokens to Boba'
54
+ from: '0xa7ECcdb9Be08178f896c26b7BbD8C3D4E844d9Ba'
55
+ to: '0xFA3198ecF05303a6d96E57a45E6c815055D255b1'
56
+ data:
57
+ type: signature
58
+ signature: function transferRemote(uint32,bytes32,uint256)
59
+ args:
60
+ - '288'
61
+ - '0x000000000000000000000000a7eccdb9be08178f896c26b7bbd8c3d4e844d9ba'
62
+ - '1'
63
+ value: '250000000000000000'
64
+ eventAssertions:
65
+ - type: rawTopic
66
+ topic: '0x65695c3748edae85a24cc2c60b299b31f463050bc259150d2e5802ec8d11720a'
67
+ - type: rawTopic
68
+ topic: '0x253a3a04cab70d47c1504809242d9350cd81627b4f1d50753e159cf8cd76ed33'
69
+ - annotation: 'Send tokens to Bsquared'
70
+ from: '0xa7ECcdb9Be08178f896c26b7BbD8C3D4E844d9Ba'
71
+ to: '0xFA3198ecF05303a6d96E57a45E6c815055D255b1'
72
+ data:
73
+ type: signature
74
+ signature: function transferRemote(uint32,bytes32,uint256)
75
+ args:
76
+ - '223'
77
+ - '0x000000000000000000000000a7eccdb9be08178f896c26b7bbd8c3d4e844d9ba'
78
+ - '1'
79
+ value: '250000000000000000'
80
+ eventAssertions:
81
+ - type: rawTopic
82
+ topic: '0x65695c3748edae85a24cc2c60b299b31f463050bc259150d2e5802ec8d11720a'
83
+ - type: rawTopic
84
+ topic: '0x253a3a04cab70d47c1504809242d9350cd81627b4f1d50753e159cf8cd76ed33'
85
+ - annotation: 'Send tokens to Soneium'
86
+ from: '0xa7ECcdb9Be08178f896c26b7BbD8C3D4E844d9Ba'
87
+ to: '0xFA3198ecF05303a6d96E57a45E6c815055D255b1'
88
+ data:
89
+ type: signature
90
+ signature: function transferRemote(uint32,bytes32,uint256)
91
+ args:
92
+ - '1868'
93
+ - '0x000000000000000000000000a7eccdb9be08178f896c26b7bbd8c3d4e844d9ba'
94
+ - '1'
95
+ value: '250000000000000000'
96
+ eventAssertions:
97
+ - type: rawTopic
98
+ topic: '0x65695c3748edae85a24cc2c60b299b31f463050bc259150d2e5802ec8d11720a'
99
+ - type: rawTopic
100
+ topic: '0x253a3a04cab70d47c1504809242d9350cd81627b4f1d50753e159cf8cd76ed33'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperlane-xyz/cli",
3
- "version": "13.2.1",
3
+ "version": "13.4.0",
4
4
  "description": "A command-line utility for common Hyperlane operations",
5
5
  "devDependencies": {
6
6
  "@aws-sdk/client-kms": "^3.577.0",
@@ -9,11 +9,11 @@
9
9
  "@eslint/js": "^9.15.0",
10
10
  "@ethersproject/abi": "*",
11
11
  "@ethersproject/providers": "*",
12
- "@hyperlane-xyz/cosmos-sdk": "13.2.1",
13
- "@hyperlane-xyz/registry": "16.0.0",
14
- "@hyperlane-xyz/sdk": "13.2.1",
12
+ "@hyperlane-xyz/cosmos-sdk": "13.4.0",
13
+ "@hyperlane-xyz/registry": "17.8.2",
14
+ "@hyperlane-xyz/sdk": "13.4.0",
15
15
  "@hyperlane-xyz/tsconfig": "workspace:^",
16
- "@hyperlane-xyz/utils": "13.2.1",
16
+ "@hyperlane-xyz/utils": "13.4.0",
17
17
  "@inquirer/core": "9.0.10",
18
18
  "@inquirer/figures": "1.0.5",
19
19
  "@inquirer/prompts": "3.3.2",
@@ -29,16 +29,18 @@
29
29
  "asn1.js": "^5.4.1",
30
30
  "bignumber.js": "^9.1.1",
31
31
  "chai": "^4.5.0",
32
- "chai-as-promised": "^8.0.0",
32
+ "chai-as-promised": "^8.0.1",
33
33
  "chalk": "^5.3.0",
34
34
  "eslint": "^9.15.0",
35
35
  "eslint-config-prettier": "^9.1.0",
36
36
  "eslint-import-resolver-typescript": "^3.6.3",
37
37
  "eslint-plugin-import": "^2.31.0",
38
38
  "ethers": "^5.8.0",
39
+ "execa": "^9.5.3",
39
40
  "latest-version": "^8.0.0",
40
- "mocha": "^10.2.0",
41
+ "mocha": "^11.5.0",
41
42
  "prettier": "^3.5.3",
43
+ "prom-client": "^14.0.1",
42
44
  "terminal-link": "^3.0.0",
43
45
  "tsx": "^4.19.1",
44
46
  "typescript": "5.3.3",