@hyperlane-xyz/cli 31.2.1 → 32.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 = 514;
2
- export const ids = [514];
1
+ export const id = 79;
2
+ export const ids = [79];
3
3
  export const modules = {
4
4
 
5
- /***/ 13514:
5
+ /***/ 13079:
6
6
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
7
7
 
8
8
 
@@ -11,7 +11,7 @@ __webpack_require__.d(__webpack_exports__, {
11
11
  SealevelProtocolProvider: () => (/* reexport */ SvmProtocolProvider)
12
12
  });
13
13
 
14
- // UNUSED EXPORTS: DeployStageKind, HYPERLANE_SVM_PROGRAM_BYTES, SealevelHookArtifactManager, SealevelIgpHookReader, SealevelIgpHookWriter, SealevelIsmArtifactManager, SealevelMailboxArtifactManager, SealevelMailboxReader, SealevelMailboxWriter, SealevelMerkleTreeHookReader, SealevelMerkleTreeHookWriter, SealevelMessageIdMultisigIsmReader, SealevelMessageIdMultisigIsmWriter, SealevelProvider, SealevelSigner, SealevelTestIsmReader, SealevelTestIsmWriter, SealevelValidatorAnnounceArtifactManager, SealevelValidatorAnnounceReader, SealevelValidatorAnnounceWriter, SvmCrossCollateralTokenReader, SvmCrossCollateralTokenWriter, buildSetDefaultIsmInstruction, buildTransactionMessage, createDeployProgramPlan, createRpc, createUpgradeProgramPlan, decodeCrossCollateralStateAccount, decodeHyperlaneTokenAccount, decodeIgpAccount, decodeIgpProgramDataAccount, decodeMailboxInboxAccount, decodeMailboxOutboxAccount, decodeMultisigIsmAccessControlAccount, decodeMultisigIsmDomainDataAccount, decodeOverheadIgpAccount, decodeTestIsmStorageAccount, decodeValidatorAnnounceAccount, decodeValidatorStorageLocationsAccount, deriveAtaPayerPda, deriveCrossCollateralDispatchAuthorityPda, deriveCrossCollateralStatePda, deriveHyperlaneTokenPda, deriveIgpAccountPda, deriveIgpProgramDataPda, deriveMailboxInboxPda, deriveMailboxOutboxPda, deriveMultisigIsmAccessControlPda, deriveMultisigIsmDomainDataPda, deriveOverheadIgpAccountPda, deriveReplayProtectionPda, deriveTestIsmStoragePda, deriveValidatorAnnouncePda, deriveValidatorStorageLocationsPda, executeDeployPlan, fetchMailboxInboxAccount, fetchMultisigIsmAccessControl, getComputeBudgetInstructions, getMultisigIsmTransferOwnershipInstruction, getProgramUpgradeAuthority, getSetUpgradeAuthorityInstruction, resolveProgram, serializeUnsignedTransaction
14
+ // UNUSED EXPORTS: DeployStageKind, HYPERLANE_SVM_PROGRAM_BYTES, SealevelHookArtifactManager, SealevelIgpHookReader, SealevelIgpHookWriter, SealevelIsmArtifactManager, SealevelMailboxArtifactManager, SealevelMailboxReader, SealevelMailboxWriter, SealevelMerkleTreeHookReader, SealevelMerkleTreeHookWriter, SealevelMessageIdMultisigIsmReader, SealevelMessageIdMultisigIsmWriter, SealevelProvider, SealevelSigner, SealevelTestIsmReader, SealevelTestIsmWriter, SealevelValidatorAnnounceArtifactManager, SealevelValidatorAnnounceReader, SealevelValidatorAnnounceWriter, SvmCrossCollateralTokenReader, SvmCrossCollateralTokenWriter, buildSetDefaultIsmInstruction, buildTransactionMessage, convertLegacySolanaTransaction, createDeployProgramPlan, createRpc, createUpgradeProgramPlan, decodeCrossCollateralStateAccount, decodeHyperlaneTokenAccount, decodeIgpAccount, decodeIgpProgramDataAccount, decodeMailboxInboxAccount, decodeMailboxOutboxAccount, decodeMultisigIsmAccessControlAccount, decodeMultisigIsmDomainDataAccount, decodeOverheadIgpAccount, decodeTestIsmStorageAccount, decodeValidatorAnnounceAccount, decodeValidatorStorageLocationsAccount, deriveAtaPayerPda, deriveCrossCollateralDispatchAuthorityPda, deriveCrossCollateralStatePda, deriveHyperlaneTokenPda, deriveIgpAccountPda, deriveIgpProgramDataPda, deriveMailboxInboxPda, deriveMailboxOutboxPda, deriveMultisigIsmAccessControlPda, deriveMultisigIsmDomainDataPda, deriveOverheadIgpAccountPda, deriveReplayProtectionPda, deriveTestIsmStoragePda, deriveValidatorAnnouncePda, deriveValidatorStorageLocationsPda, executeDeployPlan, fetchMailboxInboxAccount, fetchMultisigIsmAccessControl, getComputeBudgetInstructions, getMultisigIsmTransferOwnershipInstruction, getProgramUpgradeAuthority, getSetUpgradeAuthorityInstruction, isLegacySolanaTransaction, resolveProgram, serializeUnsignedTransaction
15
15
 
16
16
  // EXTERNAL MODULE: ../../node_modules/.pnpm/@solana+addresses@6.1.0_fastestsmallesttextencoderdecoder@1.0.22_typescript@6.0.2/node_modules/@solana/addresses/dist/index.node.mjs
17
17
  var index_node = __webpack_require__(89735);
@@ -24,6 +24,7 @@ var validation = __webpack_require__(21387);
24
24
  // EXTERNAL MODULE: ../utils/dist/logging.js
25
25
  var logging = __webpack_require__(94523);
26
26
  ;// CONCATENATED MODULE: ../svm-sdk/dist/constants.js
27
+
27
28
  const PROGRAM_INSTRUCTION_DISCRIMINATOR = new Uint8Array([
28
29
  1, 1, 1, 1, 1, 1, 1, 1,
29
30
  ]);
@@ -44,6 +45,8 @@ const SPL_TOKEN_PROGRAM_ADDRESS = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA';
44
45
  const TOKEN_2022_PROGRAM_ADDRESS = 'TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb';
45
46
  // https://github.com/metaplex-foundation/mpl-token-metadata/blob/c314930196b6b16e1ba8fefdf206e9af7b0e4c37/programs/token-metadata/program/src/lib.rs#L25
46
47
  const METAPLEX_METADATA_PROGRAM_ADDRESS = 'metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s';
48
+ // Hand-rolled to avoid adding @solana-program/compute-budget as a dependency.
49
+ const COMPUTE_BUDGET_PROGRAM_ID = (0,index_node/* address */.hl)('ComputeBudget111111111111111111111111111111');
47
50
  // Default compute unit budget for SVM deployment transactions.
48
51
  const constants_DEFAULT_COMPUTE_UNITS = 400_000;
49
52
  //# sourceMappingURL=constants.js.map
@@ -165,40 +168,8 @@ class SvmProvider {
165
168
  }
166
169
  return LAMPORTS_PER_SIGNATURE;
167
170
  }
168
- // ### QUERY CORE ###
169
- async getMailbox(_req) {
170
- throw new Error('getMailbox not supported on Sealevel');
171
- }
172
171
  async isMessageDelivered(_req) {
173
- throw new Error('isMessageDelivered not supported on Sealevel');
174
- }
175
- async getIsmType(_req) {
176
- throw new Error('getIsmType not supported on Sealevel');
177
- }
178
- async getMessageIdMultisigIsm(_req) {
179
- throw new Error('getMessageIdMultisigIsm not supported on Sealevel');
180
- }
181
- async getMerkleRootMultisigIsm(_req) {
182
- throw new Error('getMerkleRootMultisigIsm not supported on Sealevel');
183
- }
184
- async getRoutingIsm(_req) {
185
- throw new Error('getRoutingIsm not supported on Sealevel');
186
- }
187
- async getNoopIsm(_req) {
188
- throw new Error('getNoopIsm not supported on Sealevel');
189
- }
190
- // ### QUERY HOOK ###
191
- async getHookType(_req) {
192
- throw new Error('getHookType not supported on Sealevel');
193
- }
194
- async getInterchainGasPaymasterHook(_req) {
195
- throw new Error('getInterchainGasPaymasterHook not supported on Sealevel');
196
- }
197
- async getMerkleTreeHook(_req) {
198
- throw new Error('getMerkleTreeHook not supported on Sealevel');
199
- }
200
- async getNoopHook(_req) {
201
- throw new Error('getNoopHook not supported on Sealevel');
172
+ throw new Error('isMessageDelivered not supported on Sealevel, use the Artifact API instead');
202
173
  }
203
174
  // ### QUERY WARP ###
204
175
  async getToken(_req) {
@@ -213,101 +184,6 @@ class SvmProvider {
213
184
  async quoteRemoteTransfer(_req) {
214
185
  throw new Error('quoteRemoteTransfer not supported on Sealevel, use the Artifact API instead');
215
186
  }
216
- // ### GET CORE TXS ###
217
- async getCreateMailboxTransaction(_req) {
218
- throw new Error('getCreateMailboxTransaction not supported on Sealevel');
219
- }
220
- async getSetDefaultIsmTransaction(_req) {
221
- throw new Error('getSetDefaultIsmTransaction not supported on Sealevel');
222
- }
223
- async getSetDefaultHookTransaction(_req) {
224
- throw new Error('getSetDefaultHookTransaction not supported on Sealevel');
225
- }
226
- async getSetRequiredHookTransaction(_req) {
227
- throw new Error('getSetRequiredHookTransaction not supported on Sealevel');
228
- }
229
- async getSetMailboxOwnerTransaction(_req) {
230
- throw new Error('getSetMailboxOwnerTransaction not supported on Sealevel');
231
- }
232
- async getCreateMerkleRootMultisigIsmTransaction(_req) {
233
- throw new Error('getCreateMerkleRootMultisigIsmTransaction not supported on Sealevel');
234
- }
235
- async getCreateMessageIdMultisigIsmTransaction(_req) {
236
- throw new Error('getCreateMessageIdMultisigIsmTransaction not supported on Sealevel');
237
- }
238
- async getCreateRoutingIsmTransaction(_req) {
239
- throw new Error('getCreateRoutingIsmTransaction not supported on Sealevel');
240
- }
241
- async getSetRoutingIsmRouteTransaction(_req) {
242
- throw new Error('getSetRoutingIsmRouteTransaction not supported on Sealevel');
243
- }
244
- async getRemoveRoutingIsmRouteTransaction(_req) {
245
- throw new Error('getRemoveRoutingIsmRouteTransaction not supported on Sealevel');
246
- }
247
- async getSetRoutingIsmOwnerTransaction(_req) {
248
- throw new Error('getSetRoutingIsmOwnerTransaction not supported on Sealevel');
249
- }
250
- async getCreateNoopIsmTransaction(_req) {
251
- throw new Error('getCreateNoopIsmTransaction not supported on Sealevel');
252
- }
253
- async getCreateMerkleTreeHookTransaction(_req) {
254
- throw new Error('getCreateMerkleTreeHookTransaction not supported on Sealevel');
255
- }
256
- async getCreateInterchainGasPaymasterHookTransaction(_req) {
257
- throw new Error('getCreateInterchainGasPaymasterHookTransaction not supported on Sealevel');
258
- }
259
- async getSetInterchainGasPaymasterHookOwnerTransaction(_req) {
260
- throw new Error('getSetInterchainGasPaymasterHookOwnerTransaction not supported on Sealevel');
261
- }
262
- async getSetDestinationGasConfigTransaction(_req) {
263
- throw new Error('getSetDestinationGasConfigTransaction not supported on Sealevel');
264
- }
265
- async getRemoveDestinationGasConfigTransaction(_req) {
266
- throw new Error('getRemoveDestinationGasConfigTransaction not supported on Sealevel');
267
- }
268
- async getCreateNoopHookTransaction(_req) {
269
- throw new Error('getCreateNoopHookTransaction not supported on Sealevel');
270
- }
271
- async getCreateValidatorAnnounceTransaction(_req) {
272
- throw new Error('getCreateValidatorAnnounceTransaction not supported on Sealevel');
273
- }
274
- async getCreateProxyAdminTransaction(_req) {
275
- throw new Error('getCreateProxyAdminTransaction not supported on Sealevel');
276
- }
277
- async getSetProxyAdminOwnerTransaction(_req) {
278
- throw new Error('getSetProxyAdminOwnerTransaction not supported on Sealevel');
279
- }
280
- // ### GET WARP TXS ###
281
- async getCreateNativeTokenTransaction(_req) {
282
- throw new Error('getCreateNativeTokenTransaction not supported on Sealevel, use the Artifact API instead');
283
- }
284
- async getCreateCollateralTokenTransaction(_req) {
285
- throw new Error('getCreateCollateralTokenTransaction not supported on Sealevel, use the Artifact API instead');
286
- }
287
- async getCreateSyntheticTokenTransaction(_req) {
288
- throw new Error('getCreateSyntheticTokenTransaction not supported on Sealevel, use the Artifact API instead');
289
- }
290
- async getSetTokenOwnerTransaction(_req) {
291
- throw new Error('getSetTokenOwnerTransaction not supported on Sealevel, use the Artifact API instead');
292
- }
293
- async getSetTokenIsmTransaction(_req) {
294
- throw new Error('getSetTokenIsmTransaction not supported on Sealevel, use the Artifact API instead');
295
- }
296
- async getSetTokenHookTransaction(_req) {
297
- throw new Error('getSetTokenHookTransaction not supported on Sealevel, use the Artifact API instead');
298
- }
299
- async getEnrollRemoteRouterTransaction(_req) {
300
- throw new Error('getEnrollRemoteRouterTransaction not supported on Sealevel, use the Artifact API instead');
301
- }
302
- async getUnenrollRemoteRouterTransaction(_req) {
303
- throw new Error('getUnenrollRemoteRouterTransaction not supported on Sealevel, use the Artifact API instead');
304
- }
305
- async getTransferTransaction(_req) {
306
- throw new Error('getTransferTransaction not supported on Sealevel, use the Artifact API instead');
307
- }
308
- async getRemoteTransferTransaction(_req) {
309
- throw new Error('getRemoteTransferTransaction not supported on Sealevel, use the Artifact API instead');
310
- }
311
187
  }
312
188
  //# sourceMappingURL=provider.js.map
313
189
  // EXTERNAL MODULE: ../../node_modules/.pnpm/@solana+codecs-strings@6.1.0_fastestsmallesttextencoderdecoder@1.0.22_typescript@6.0.2/node_modules/@solana/codecs-strings/dist/index.node.mjs
@@ -316,12 +192,96 @@ var codecs_strings_dist_index_node = __webpack_require__(98915);
316
192
  var signers_dist_index_node = __webpack_require__(26285);
317
193
  // EXTERNAL MODULE: ../../node_modules/.pnpm/@solana+transactions@6.1.0_fastestsmallesttextencoderdecoder@1.0.22_typescript@6.0.2/node_modules/@solana/transactions/dist/index.node.mjs
318
194
  var transactions_dist_index_node = __webpack_require__(89331);
195
+ // EXTERNAL MODULE: ../../node_modules/.pnpm/@solana+keys@6.1.0_fastestsmallesttextencoderdecoder@1.0.22_typescript@6.0.2/node_modules/@solana/keys/dist/index.node.mjs
196
+ var keys_dist_index_node = __webpack_require__(27303);
319
197
  // EXTERNAL MODULE: ../../node_modules/.pnpm/@solana+errors@6.1.0_typescript@6.0.2/node_modules/@solana/errors/dist/index.node.mjs
320
198
  var errors_dist_index_node = __webpack_require__(13197);
321
199
  // EXTERNAL MODULE: ../utils/dist/addresses.js
322
200
  var addresses = __webpack_require__(93142);
323
201
  // EXTERNAL MODULE: ../utils/dist/async.js
324
202
  var dist_async = __webpack_require__(14918);
203
+ ;// CONCATENATED MODULE: ../svm-sdk/dist/legacy-compat.js
204
+ /**
205
+ * Converts legacy @solana/web3.js Transaction objects to @solana/kit SvmTransaction format.
206
+ * Used when SDK adapters return legacy Transactions but the SvmSigner expects kit-format instructions.
207
+ */
208
+
209
+
210
+ const SET_COMPUTE_UNIT_LIMIT_DISCRIMINATOR = 2;
211
+ function convertAccountMeta(meta) {
212
+ const address = (0,index_node/* address */.hl)(meta.pubkey.toBase58());
213
+ const role = meta.isSigner
214
+ ? meta.isWritable
215
+ ? dist_index_node/* AccountRole */.Uv.WRITABLE_SIGNER
216
+ : dist_index_node/* AccountRole */.Uv.READONLY_SIGNER
217
+ : meta.isWritable
218
+ ? dist_index_node/* AccountRole */.Uv.WRITABLE
219
+ : dist_index_node/* AccountRole */.Uv.READONLY;
220
+ return { address, role };
221
+ }
222
+ function convertInstruction(ix) {
223
+ return {
224
+ programAddress: (0,index_node/* address */.hl)(ix.programId.toBase58()),
225
+ accounts: ix.keys.map(convertAccountMeta),
226
+ data: new Uint8Array(ix.data),
227
+ };
228
+ }
229
+ /**
230
+ * Converts a legacy @solana/web3.js Transaction to the SvmTransaction format
231
+ * expected by SvmSigner. The SetComputeUnitLimit instruction is extracted into
232
+ * `computeUnits` (the signer recreates it). All other instructions — including
233
+ * SetComputeUnitPrice — are preserved as-is.
234
+ *
235
+ * @param legacyTx Legacy Transaction returned by SDK adapters.
236
+ * @param extraSigners Keypairs that partial-signed the legacy tx (e.g. random
237
+ * wallet for message storage PDAs). Converted to @solana/kit TransactionSigners.
238
+ */
239
+ async function convertLegacySolanaTransaction(legacyTx, extraSigners) {
240
+ let computeUnits;
241
+ const instructions = [];
242
+ for (const ix of legacyTx.instructions) {
243
+ const isComputeBudget = ix.programId.toBase58() === COMPUTE_BUDGET_PROGRAM_ID;
244
+ if (isComputeBudget &&
245
+ ix.data[0] === SET_COMPUTE_UNIT_LIMIT_DISCRIMINATOR &&
246
+ ix.data.length >= 5) {
247
+ // Extract compute unit limit — SvmSigner recreates this instruction
248
+ // from the `computeUnits` field via buildTransactionMessage.
249
+ const dataArr = new Uint8Array(ix.data);
250
+ computeUnits = new DataView(dataArr.buffer, dataArr.byteOffset).getUint32(1, true);
251
+ continue;
252
+ }
253
+ // Preserve all other instructions including SetComputeUnitPrice.
254
+ instructions.push(convertInstruction(ix));
255
+ }
256
+ let additionalSigners;
257
+ if (extraSigners?.length) {
258
+ additionalSigners = await Promise.all(extraSigners.map((kp) => (0,signers_dist_index_node/* createKeyPairSignerFromBytes */.Lt)(kp.secretKey)));
259
+ }
260
+ return {
261
+ instructions,
262
+ computeUnits,
263
+ additionalSigners,
264
+ };
265
+ }
266
+ /**
267
+ * Detects whether an object is a legacy @solana/web3.js Transaction
268
+ * by checking for the `programId` property on its first instruction.
269
+ */
270
+ function isLegacySolanaTransaction(tx) {
271
+ if (typeof tx !== 'object' || tx === null)
272
+ return false;
273
+ // CAST: tx is narrowed to non-null object above; Partial<LegacyTransaction> ensures
274
+ // property access stays in sync with the interface.
275
+ const maybeIx = tx.instructions;
276
+ if (!Array.isArray(maybeIx) || maybeIx.length === 0)
277
+ return false;
278
+ const first = maybeIx[0];
279
+ return (typeof first === 'object' &&
280
+ first !== null &&
281
+ 'programId' in first &&
282
+ !('programAddress' in first));
283
+ }
284
+ //# sourceMappingURL=legacy-compat.js.map
325
285
  // EXTERNAL MODULE: ../../node_modules/.pnpm/@solana+codecs-numbers@6.1.0_typescript@6.0.2/node_modules/@solana/codecs-numbers/dist/index.node.mjs
326
286
  var codecs_numbers_dist_index_node = __webpack_require__(17991);
327
287
  // EXTERNAL MODULE: ../../node_modules/.pnpm/@solana+rpc-types@6.1.0_fastestsmallesttextencoderdecoder@1.0.22_typescript@6.0.2/node_modules/@solana/rpc-types/dist/index.node.mjs
@@ -334,9 +294,6 @@ var rpc_types_dist_index_node = __webpack_require__(81133);
334
294
  // giving ~877 bytes max. Use 850 to leave margin for all signer configs.
335
295
  const tx_DEFAULT_WRITE_CHUNK_SIZE = 850;
336
296
  const DEFAULT_PRIORITY_FEE_MICRO_LAMPORTS = 1;
337
- // Hand-rolled to avoid adding @solana-program/compute-budget as a dependency
338
- // for two trivial instruction encoders.
339
- const COMPUTE_BUDGET_PROGRAM_ID = 'ComputeBudget111111111111111111111111111111';
340
297
  function createSetComputeUnitLimitInstruction(units) {
341
298
  const data = new Uint8Array(5);
342
299
  data[0] = 2;
@@ -427,6 +384,7 @@ function serializeUnsignedTransaction(instructions, feePayer) {
427
384
 
428
385
 
429
386
 
387
+
430
388
  class SvmTransactionError extends Error {
431
389
  constructor(signature, cause) {
432
390
  super(`Transaction failed: ${signature}, err: ${JSON.stringify(cause, (_k, v) => (typeof v === 'bigint' ? v.toString() : v))}`);
@@ -704,106 +662,52 @@ class SvmSigner extends SvmProvider {
704
662
  throw new Error(`Poll timeout exceeded for ${signature}, aborting to prevent potential double-execution`);
705
663
  }
706
664
  async sendAndConfirmTransaction(transaction) {
707
- return this.send(transaction);
665
+ const tx = isLegacySolanaTransaction(transaction)
666
+ ? await convertLegacySolanaTransaction(transaction, transaction.extraSigners)
667
+ : transaction;
668
+ const receipt = await this.send(tx);
669
+ return this.fetchTransactionMeta(receipt);
670
+ }
671
+ /**
672
+ * Fetches full transaction to populate meta (including logs) on the receipt.
673
+ * Retries with backoff since RPC indexing can lag behind confirmation.
674
+ * // TODO: make meta-fetch opt-in once the legacy compat layer is removed
675
+ */
676
+ async fetchTransactionMeta(receipt, maxRetries = 5) {
677
+ (0,keys_dist_index_node/* assertIsSignature */.P)(receipt.signature);
678
+ for (let attempt = 0; attempt < maxRetries; attempt++) {
679
+ try {
680
+ const fullTx = await this.rpc
681
+ .getTransaction(receipt.signature, {
682
+ commitment: RPC_COMMITMENT_LEVEL,
683
+ maxSupportedTransactionVersion: 0,
684
+ encoding: 'jsonParsed',
685
+ })
686
+ .send();
687
+ if (fullTx?.meta?.logMessages) {
688
+ return {
689
+ ...receipt,
690
+ meta: { logMessages: fullTx.meta.logMessages },
691
+ };
692
+ }
693
+ }
694
+ catch (error) {
695
+ this.logger.debug(`Attempt ${attempt + 1} failed to fetch tx meta`, {
696
+ error,
697
+ });
698
+ }
699
+ if (attempt < maxRetries - 1) {
700
+ await (0,dist_async/* sleep */.yy)(1000 * (attempt + 1));
701
+ }
702
+ }
703
+ this.logger.warn('Transaction meta unavailable after retries', {
704
+ signature: receipt.signature,
705
+ });
706
+ return receipt;
708
707
  }
709
708
  async sendAndConfirmBatchTransactions(_transactions) {
710
709
  throw new Error('Sealevel does not support transaction batching');
711
710
  }
712
- // ### TX CORE ###
713
- async createMailbox(_req) {
714
- throw new Error('createMailbox not supported on Sealevel');
715
- }
716
- async setDefaultIsm(_req) {
717
- throw new Error('setDefaultIsm not supported on Sealevel');
718
- }
719
- async setDefaultHook(_req) {
720
- throw new Error('setDefaultHook not supported on Sealevel');
721
- }
722
- async setRequiredHook(_req) {
723
- throw new Error('setRequiredHook not supported on Sealevel');
724
- }
725
- async setMailboxOwner(_req) {
726
- throw new Error('setMailboxOwner not supported on Sealevel');
727
- }
728
- async createMerkleRootMultisigIsm(_req) {
729
- throw new Error('createMerkleRootMultisigIsm not supported on Sealevel');
730
- }
731
- async createMessageIdMultisigIsm(_req) {
732
- throw new Error('createMessageIdMultisigIsm not supported on Sealevel');
733
- }
734
- async createRoutingIsm(_req) {
735
- throw new Error('createRoutingIsm not supported on Sealevel');
736
- }
737
- async setRoutingIsmRoute(_req) {
738
- throw new Error('setRoutingIsmRoute not supported on Sealevel');
739
- }
740
- async removeRoutingIsmRoute(_req) {
741
- throw new Error('removeRoutingIsmRoute not supported on Sealevel');
742
- }
743
- async setRoutingIsmOwner(_req) {
744
- throw new Error('setRoutingIsmOwner not supported on Sealevel');
745
- }
746
- async createNoopIsm(_req) {
747
- throw new Error('createNoopIsm not supported on Sealevel');
748
- }
749
- async createMerkleTreeHook(_req) {
750
- throw new Error('createMerkleTreeHook not supported on Sealevel');
751
- }
752
- async createInterchainGasPaymasterHook(_req) {
753
- throw new Error('createInterchainGasPaymasterHook not supported on Sealevel');
754
- }
755
- async setInterchainGasPaymasterHookOwner(_req) {
756
- throw new Error('setInterchainGasPaymasterHookOwner not supported on Sealevel');
757
- }
758
- async setDestinationGasConfig(_req) {
759
- throw new Error('setDestinationGasConfig not supported on Sealevel');
760
- }
761
- async removeDestinationGasConfig(_req) {
762
- throw new Error('removeDestinationGasConfig not supported on Sealevel');
763
- }
764
- async createNoopHook(_req) {
765
- throw new Error('createNoopHook not supported on Sealevel');
766
- }
767
- async createValidatorAnnounce(_req) {
768
- throw new Error('createValidatorAnnounce not supported on Sealevel');
769
- }
770
- async createProxyAdmin(_req) {
771
- throw new Error('createProxyAdmin not supported on Sealevel');
772
- }
773
- async setProxyAdminOwner(_req) {
774
- throw new Error('setProxyAdminOwner not supported on Sealevel');
775
- }
776
- // ### TX WARP ###
777
- async createNativeToken(_req) {
778
- throw new Error('createNativeToken not supported on Sealevel, use the Artifact API instead');
779
- }
780
- async createCollateralToken(_req) {
781
- throw new Error('createCollateralToken not supported on Sealevel, use the Artifact API instead');
782
- }
783
- async createSyntheticToken(_req) {
784
- throw new Error('createSyntheticToken not supported on Sealevel, use the Artifact API instead');
785
- }
786
- async setTokenOwner(_req) {
787
- throw new Error('setTokenOwner not supported on Sealevel, use the Artifact API instead');
788
- }
789
- async setTokenIsm(_req) {
790
- throw new Error('setTokenIsm not supported on Sealevel, use the Artifact API instead');
791
- }
792
- async setTokenHook(_req) {
793
- throw new Error('setTokenHook not supported on Sealevel, use the Artifact API instead');
794
- }
795
- async enrollRemoteRouter(_req) {
796
- throw new Error('enrollRemoteRouter not supported on Sealevel, use the Artifact API instead');
797
- }
798
- async unenrollRemoteRouter(_req) {
799
- throw new Error('unenrollRemoteRouter not supported on Sealevel, use the Artifact API instead');
800
- }
801
- async transfer(_req) {
802
- throw new Error('transfer not supported on Sealevel, use the Artifact API instead');
803
- }
804
- async remoteTransfer(_req) {
805
- throw new Error('remoteTransfer not supported on Sealevel, use the Artifact API instead');
806
- }
807
711
  }
808
712
  //# sourceMappingURL=signer.js.map
809
713
  ;// CONCATENATED MODULE: ../svm-sdk/dist/hyperlane/program-bytes.js
@@ -107815,6 +107719,8 @@ class SvmMessageIdMultisigIsmWriter extends SvmMessageIdMultisigIsmReader {
107815
107719
 
107816
107720
  // Transaction utilities
107817
107721
 
107722
+ // Legacy @solana/web3.js compatibility
107723
+
107818
107724
  // PDA derivation
107819
107725
 
107820
107726
  // Account decoders
Binary file
Binary file