Add mailbox version const to SDK (#3125)

pull/3128/head
J M Rossy 11 months ago committed by GitHub
parent 80f1a5688e
commit 612d4163ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .changeset/healthy-waves-cheat.md
  2. 2
      typescript/sdk/src/consts/mailbox.ts
  3. 1
      typescript/sdk/src/index.ts

@ -0,0 +1,5 @@
---
'@hyperlane-xyz/sdk': patch
---
Add mailbox version const to SDK

@ -0,0 +1,2 @@
// Pairs well with /utils/src/messages.ts#formatMessage
export const MAILBOX_VERSION = 3;

@ -29,6 +29,7 @@ export {
hyperlaneContractAddresses, hyperlaneContractAddresses,
hyperlaneEnvironments, hyperlaneEnvironments,
} from './consts/environments'; } from './consts/environments';
export { MAILBOX_VERSION } from './consts/mailbox';
export { defaultMultisigConfigs } from './consts/multisigIsm'; export { defaultMultisigConfigs } from './consts/multisigIsm';
export { SEALEVEL_SPL_NOOP_ADDRESS } from './consts/sealevel'; export { SEALEVEL_SPL_NOOP_ADDRESS } from './consts/sealevel';
export { export {

Loading…
Cancel
Save