@layerzerolabs/lz-contract-addresses 4.0.2 → 4.0.3

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
@@ -10775,6 +10775,13 @@ var testnet_default2 = {
10775
10775
  };
10776
10776
 
10777
10777
  // src/index.ts
10778
+ var SANDBOX_CHAINS_OUTSIDE_LOCALNET = [
10779
+ "canton",
10780
+ "solana",
10781
+ "ton",
10782
+ "tron",
10783
+ "zksync"
10784
+ ];
10778
10785
  var snapshots = {
10779
10786
  [Environment.MAINNET]: mainnet_default,
10780
10787
  [Environment.TESTNET]: testnet_default,
@@ -10839,6 +10846,6 @@ var createLZContractAddressGetter = /* @__PURE__ */ __name((contractName, altern
10839
10846
  };
10840
10847
  }, "createLZContractAddressGetter");
10841
10848
 
10842
- export { PROTOCOL_CONTRACT_SNAPSHOT_NAMES, createLZContractAddressGetter, getLZContractAddressFromConfig, getProtocolSnapshotAddress, listLZContractNames };
10849
+ export { PROTOCOL_CONTRACT_SNAPSHOT_NAMES, SANDBOX_CHAINS_OUTSIDE_LOCALNET, createLZContractAddressGetter, getLZContractAddressFromConfig, getProtocolSnapshotAddress, listLZContractNames };
10843
10850
  //# sourceMappingURL=index.js.map
10844
10851
  //# sourceMappingURL=index.js.map