@layerzerolabs/lz-contract-addresses 4.0.2 → 4.0.4

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/README.md CHANGED
@@ -5,4 +5,4 @@
5
5
  CI does not check it against the registry yet: that gate is step 3 of `apps/projects/deploy-wire-protocol-project-app/docs/cutover.md` (`export-address-snapshot --check` per environment). Until then, these tests guard it:
6
6
 
7
7
  - `tests/deploymentInfo.test.ts` compares the snapshot to the deploymentInfo files still committed under `deployments/layerzero/<env>` (the published Canton mainnet and testnet packages).
8
- - `tests/addressResolutionParity.test.ts` checks that every address main resolved still resolves the same, which covers the rest (EVM, Starknet, Stellar and the other VMs). It allows only the DVN corrections, `ON_CHAIN_CORRECTIONS`, and `UNSEEDED_SANDBOX_LOOKUPS`: the 7 sandbox Tron lookups that only the dropped lz-evm-sdk-v1/v2 fallbacks answered. Sandbox is not seeded.
8
+ - `tests/addressResolutionParity.test.ts` checks that every address main resolved still resolves the same, which covers the rest (EVM, Starknet, Stellar and the other VMs). It allows only the DVN corrections, `ON_CHAIN_CORRECTIONS`, and `UNSEEDED_SANDBOX_LOOKUPS`: the 7 sandbox Tron lookups that only the dropped lz-evm-sdk-v1/v2 fallbacks answered. Sandbox is not seeded. It does not check sandbox localnet chains (every sandbox chain outside `SANDBOX_CHAINS_OUTSIDE_LOCALNET`): each snapshot set redeploys them, and `export-address-snapshot --check --from-image` checks them against the pinned image.
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ import type { NormalizedHexString } from '@layerzerolabs/common-chain-model';
2
2
  import type { ChainName } from '@layerzerolabs/layerzero-definitions';
3
3
  import { Environment } from '@layerzerolabs/layerzero-definitions';
4
4
  import { ProtocolContracts } from '@layerzerolabs/lz-v2-protocol-model';
5
+ export declare const SANDBOX_CHAINS_OUTSIDE_LOCALNET: readonly string[];
5
6
  export type ProtocolSnapshotContract = ProtocolContracts.ENDPOINT_V2 | ProtocolContracts.ULN_V302_SEND | ProtocolContracts.ULN_V302_RECEIVE | ProtocolContracts.DVN | ProtocolContracts.EXECUTOR | ProtocolContracts.PRICE_FEED | ProtocolContracts.TREASURY | ProtocolContracts.EXECUTOR_FEELIB | ProtocolContracts.DVN_FEELIB | ProtocolContracts.BLOCKED_MESSAGE_LIB | ProtocolContracts.SIMPLE_MESSAGE_LIB | ProtocolContracts.OMNI_COUNTER;
6
7
  export declare const PROTOCOL_CONTRACT_SNAPSHOT_NAMES: Record<ProtocolSnapshotContract, string>;
7
8
  export declare const getProtocolSnapshotAddress: (contractName: string, chainName: ChainName, environment: Environment) => NormalizedHexString;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAE7E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAuBxE,MAAM,MAAM,wBAAwB,GAC9B,iBAAiB,CAAC,WAAW,GAC7B,iBAAiB,CAAC,aAAa,GAC/B,iBAAiB,CAAC,gBAAgB,GAClC,iBAAiB,CAAC,GAAG,GACrB,iBAAiB,CAAC,QAAQ,GAC1B,iBAAiB,CAAC,UAAU,GAC5B,iBAAiB,CAAC,QAAQ,GAC1B,iBAAiB,CAAC,eAAe,GACjC,iBAAiB,CAAC,UAAU,GAC5B,iBAAiB,CAAC,mBAAmB,GACrC,iBAAiB,CAAC,kBAAkB,GACpC,iBAAiB,CAAC,YAAY,CAAC;AAErC,eAAO,MAAM,gCAAgC,EAAE,MAAM,CAAC,wBAAwB,EAAE,MAAM,CAarF,CAAC;AAEF,eAAO,MAAM,0BAA0B,iBACrB,MAAM,aACT,SAAS,eACP,WAAW,KACzB,mBAQF,CAAC;AAEF,eAAO,MAAM,mBAAm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wEAAwE;AACxE,eAAO,MAAM,8BAA8B,iBACzB,MAAM,aACT,SAAS,eACP,WAAW,KACzB,mBAAmB,GAAG,SAKxB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,6BAA6B,iBACxB,MAAM,6BACO,CACvB,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,WAAW,KACvB,mBAAmB,iBAEL,SAAS,eAAe,WAAW,wBAgBzD,CAAC"}
package/dist/index.js CHANGED
@@ -3717,18 +3717,14 @@ var mainnet_default = {
3717
3717
  UltraLightNodeV2: "0x38de71124f7a447a01d67945a51edce9ff491251"
3718
3718
  },
3719
3719
  sepolia: {
3720
- DVN: "0x8eebf8b423b73bfca51a1db4b7354aa0bfca9193",
3721
3720
  DeadDVN: "0xf53857dbc0d2c59d5666006ec200cba2936b8c35",
3722
3721
  Endpoint: "0x7cacbe439ead55fa1c22790330b12835c6884a91",
3723
- EndpointV2: "0x6edce65403992e310a62460808c4b910d972f10f",
3724
- Executor: "0x718b92b5cb0a5552039b593faf724d182a881eda",
3725
3722
  FPValidator: "0xcce466a522984415bc91338c232d98869193d46e",
3726
3723
  MPTValidator01: "0x4208d6e27538189bb48e603d6123a94b8abe0a0b",
3727
3724
  MultiSigOracle: "0x725073ffb054d1c4b9df65a725a4b7146923f839",
3728
3725
  NonceContract: "0xc097ab8cd7b053326dfe9fb3e3a31a0cce3b526f",
3729
3726
  PriceFeed: "0xd1654c656455e40e2905e96b6b91088ac2b362a2",
3730
3727
  RelayerV2: "0x306b9a8953b9462f8b826e6768a93c8ea7454965",
3731
- SendUln302: "0xcc1ae8cf5d3904cef3360a9532b477529b177cce",
3732
3728
  TreasuryV2: "0x2bf2f59d2e318bb03c8956e7bc4c3e6c28bd0fc2",
3733
3729
  UltraLightNodeV2: "0x41bdb4aa4a63a5b2efc531858d3118392b1a1c3d"
3734
3730
  },
@@ -10775,6 +10771,13 @@ var testnet_default2 = {
10775
10771
  };
10776
10772
 
10777
10773
  // src/index.ts
10774
+ var SANDBOX_CHAINS_OUTSIDE_LOCALNET = [
10775
+ "canton",
10776
+ "solana",
10777
+ "ton",
10778
+ "tron",
10779
+ "zksync"
10780
+ ];
10778
10781
  var snapshots = {
10779
10782
  [Environment.MAINNET]: mainnet_default,
10780
10783
  [Environment.TESTNET]: testnet_default,
@@ -10839,6 +10842,6 @@ var createLZContractAddressGetter = /* @__PURE__ */ __name((contractName, altern
10839
10842
  };
10840
10843
  }, "createLZContractAddressGetter");
10841
10844
 
10842
- export { PROTOCOL_CONTRACT_SNAPSHOT_NAMES, createLZContractAddressGetter, getLZContractAddressFromConfig, getProtocolSnapshotAddress, listLZContractNames };
10845
+ export { PROTOCOL_CONTRACT_SNAPSHOT_NAMES, SANDBOX_CHAINS_OUTSIDE_LOCALNET, createLZContractAddressGetter, getLZContractAddressFromConfig, getProtocolSnapshotAddress, listLZContractNames };
10843
10846
  //# sourceMappingURL=index.js.map
10844
10847
  //# sourceMappingURL=index.js.map