@hyperlane-xyz/cli 27.0.0 → 28.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.
@@ -1,8 +1,8 @@
1
- export const id = 732;
2
- export const ids = [732];
1
+ export const id = 566;
2
+ export const ids = [566];
3
3
  export const modules = {
4
4
 
5
- /***/ 34732:
5
+ /***/ 7566:
6
6
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
7
7
 
8
8
 
@@ -2137,6 +2137,7 @@ class SvmHookArtifactManager {
2137
2137
  }
2138
2138
  // The only other supported hook on SVM is the merkle tree hook, which IS
2139
2139
  // the mailbox program. Validate the address matches before assuming.
2140
+ (0,validation/* assert */.v)(this.mailboxAddress, 'Mailbox address is required to detect merkle tree hooks on SVM');
2140
2141
  (0,validation/* assert */.v)(addr === this.mailboxAddress, `Unknown hook address ${address}: not an IGP program; expected the configured mailbox (${this.mailboxAddress}) for Merkle detection`);
2141
2142
  return this.createReader('merkleTreeHook').read(address);
2142
2143
  }
@@ -2771,62 +2772,6 @@ class SvmIsmArtifactManager {
2771
2772
  }
2772
2773
  }
2773
2774
  //# sourceMappingURL=ism-artifact-manager.js.map
2774
- ;// CONCATENATED MODULE: ../svm-sdk/dist/generated/core-addresses.js
2775
- /**
2776
- * Auto-generated SVM core deployment addresses from rust/sealevel/environments/mainnet3.
2777
- * DO NOT EDIT — regenerate with: node scripts/generate-core-addresses.mjs
2778
- */
2779
- const SVM_CORE_ADDRESSES = {
2780
- eclipsemainnet: {
2781
- mailbox: 'EitxJuv2iBjsg2d7jVy2LDC1e2zBrx4GB5Y9h2Ko3A9Y',
2782
- validatorAnnounce: 'Hqnn593pqDZWLy6bKZ4NbY767wFhUNBShDrLktuQa3Q2',
2783
- multisigIsmMessageId: 'ByNa6hu4Wuc3ytqnZdnoyacUuZGDiZpT2CujdjE2Hpth',
2784
- igpProgramId: 'Hs7KVBU67nBnWhDPZkEFwWqrFMUfJbmY2DQ4gmCZfaZp',
2785
- overheadIgpAccount: '3Wp4qKkgf4tjXz1soGyTSndCgBPLZFSrZkiDZ8Qp9EEj',
2786
- igpAccount: 'ABb3i11z7wKoGCfeRQNQbVYWjAm7jG7HzZnDLV4RKRbK',
2787
- },
2788
- solanamainnet: {
2789
- mailbox: 'E588QtVUvresuXq2KoNEwAmoifCzYGpRBdHByN9KQMbi',
2790
- validatorAnnounce: 'pRgs5vN4Pj7WvFbxf6QDHizo2njq2uksqEUbaSghVA8',
2791
- multisigIsmMessageId: 'LwNfVYMDzAe5dCJgA5CipTZcT34Eyf74zLr81K91jxk',
2792
- igpProgramId: 'BhNcatUDC2D5JTyeaqrdSukiVFsEHK7e3hVmKMztwefv',
2793
- overheadIgpAccount: 'AkeHBbE5JkwVppujCQQ6WuxsVsJtruBAjUo6fDCFp6fF',
2794
- igpAccount: 'JAvHW21tYXE9dtdG83DReqU2b4LUexFuCbtJT5tF8X6M',
2795
- },
2796
- solaxy: {
2797
- mailbox: '6VdnmP8MfYkPNMwyU2ZY9S3ickYyewF58LPC38y9FAVU',
2798
- validatorAnnounce: '28S9ToSehVxdE7rTGEAA3vAX3AchHJh1MXcq9AeM1rL8',
2799
- multisigIsmMessageId: 'BMyTd7BBTw6ewENKkvzQsmPXPBHsTDW4oLHSYkv78spP',
2800
- igpProgramId: 'VG7YDF5Am2hrgyydE2ufdusdtw5DjgzXJLFxn9p8ehU',
2801
- overheadIgpAccount: '7z1QjgLLxowA9RA9QBuiC72Tc6aC1XjtA5zdH9LJHm1a',
2802
- igpAccount: '3SDcBbfZUF9ykR3yudYN198ja3KJSq17Q3rKw7JKfJR6',
2803
- },
2804
- sonicsvm: {
2805
- mailbox: '4MaM9GQZ753NhUcXH1pPsQwof1Mf3ZnjeNF4yx6S3p3N',
2806
- validatorAnnounce: '4LxdrQjqUzueko4MEn3cYCniEtcAZ6AxuHot2Fp3jskH',
2807
- multisigIsmMessageId: '2sCw3FozxoNinZV923Q6XNvaMjRsmPSFAKnNYYnWsqD3',
2808
- igpProgramId: '3kd3K1yymsfYoqzNnktLwpKXKeB9Y2PRf9rfb31k4o13',
2809
- overheadIgpAccount: '7VResHbw6jRVUa8qfD6e1cbzGmErcLGwgx4o7mLhZief',
2810
- igpAccount: 'Bxof4ZpgLtoHoxBq6AGDCJUtVxUoE9LXkx8iizkDGQPz',
2811
- },
2812
- soon: {
2813
- mailbox: 'Mj7GE6LZiJUZFTgabmNkFoY2o6JCEwCMKopSUUC3kqj',
2814
- validatorAnnounce: 'GFqF38mSacfvbJRKkhmjJvSkzTEKemSNVoWi4Q94ZPvz',
2815
- multisigIsmMessageId: '4fPoa26ayqY1cwY3AcqUPvdLLNHpjJGdDQevtnTLAAnH',
2816
- igpProgramId: '5AAMBemjUrAprKJzi22Si9pyYhK8vTr7Jpti7LEXo6d8',
2817
- overheadIgpAccount: 'GctmRsKQM5VLPrUPpsQ7Kc7RaVKNC2Fev31n1KtLkj8A',
2818
- igpAccount: 'Dsem8R6mkrpNoNb6CRUEjEZRP2hKRC24thyCkVr8cNYZ',
2819
- },
2820
- svmbnb: {
2821
- mailbox: 'GzwNZJ2EXUWQCEoV6zoBGLxkdsnjkLvm6zHReMEC2JSA',
2822
- validatorAnnounce: 'Gh4LUk91bj4QGYWsBY4QyDGhs68n8Maf8oeTRZoQZAEf',
2823
- multisigIsmMessageId: '3aD11eiNt2ZjmgiQayNRyZfp7hXBRS9hbeyPbk7cmTyv',
2824
- igpProgramId: 'ALUFQNqrKA9FgxvzkDvp2K5M94P3bvJYzPvrB8LSe6Ee',
2825
- overheadIgpAccount: 'FcXbqeqf23ToXfFXKJisQvCnRu3GjCEunNtkqvxAcNWF',
2826
- igpAccount: '76JNRGvHbER5CL7X4Mw6qpzvvKDW3syyfZ5LNXfY53sC',
2827
- },
2828
- };
2829
- //# sourceMappingURL=core-addresses.js.map
2830
2775
  ;// CONCATENATED MODULE: ../svm-sdk/dist/hyperlane/program-bytes.js
2831
2776
  /**
2832
2777
  * Auto-generated program bytes from compiled .so binaries.
@@ -84641,7 +84586,6 @@ class SvmWarpArtifactManager {
84641
84586
 
84642
84587
 
84643
84588
 
84644
-
84645
84589
  class SvmProtocolProvider {
84646
84590
  createProvider(chainMetadata) {
84647
84591
  const rpcUrls = this.getRpcUrls(chainMetadata);
@@ -84659,15 +84603,24 @@ class SvmProtocolProvider {
84659
84603
  return new SvmIsmArtifactManager(rpc);
84660
84604
  }
84661
84605
  createHookArtifactManager(chainMetadata, context) {
84662
- const mailbox = context?.mailbox ?? SVM_CORE_ADDRESSES[chainMetadata.name]?.mailbox;
84663
- (0,validation/* assert */.v)(mailbox, 'Mailbox address is required for SVM hook artifact manager');
84664
84606
  const rpc = createRpc(this.getRpcUrls(chainMetadata)[0]);
84665
- return new SvmHookArtifactManager(rpc, (0,index_node/* address */.hl)(mailbox));
84607
+ const mailbox = context?.mailbox
84608
+ ? (0,index_node/* address */.hl)(context.mailbox)
84609
+ : undefined;
84610
+ return new SvmHookArtifactManager(rpc, mailbox);
84666
84611
  }
84667
84612
  createWarpArtifactManager(chainMetadata, _context) {
84668
84613
  const rpc = createRpc(this.getRpcUrls(chainMetadata)[0]);
84669
84614
  return new SvmWarpArtifactManager(rpc);
84670
84615
  }
84616
+ createMailboxArtifactManager(_chainMetadata) {
84617
+ // @TODO Implement in a follow up PR
84618
+ throw Error('Not implemented');
84619
+ }
84620
+ createValidatorAnnounceArtifactManager(_chainMetadata) {
84621
+ // @TODO Implement in a follow up PR
84622
+ throw Error('Not implemented');
84623
+ }
84671
84624
  getMinGas() {
84672
84625
  return {
84673
84626
  CORE_DEPLOY_GAS: 0n,