FRE-600: Fix code review blockers

- Consolidated duplicate UndoManagers to single instance
- Fixed connection promise to only resolve on 'connected' status
- Fixed WebSocketProvider import (WebsocketProvider)
- Added proper doc.destroy() cleanup
- Renamed isPresenceInitialized property to avoid conflict

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-04-25 00:08:01 -04:00
parent 65b552bb08
commit 7c684a42cc
48450 changed files with 5679671 additions and 383 deletions

4658
node_modules/viem/zksync/constants/abis.ts generated vendored Normal file

File diff suppressed because it is too large Load Diff

33
node_modules/viem/zksync/constants/address.ts generated vendored Normal file
View File

@@ -0,0 +1,33 @@
export const contractDeployerAddress =
'0x0000000000000000000000000000000000008006' as const
export const contract2FactoryAddress =
'0x0000000000000000000000000000000000010000' as const
/** The address of the L1 `ETH` token. */
export const legacyEthAddress =
'0x0000000000000000000000000000000000000000' as const
export const ethAddressInContracts =
'0x0000000000000000000000000000000000000001' as const
/** The address of the base token. */
export const l2BaseTokenAddress =
'0x000000000000000000000000000000000000800a' as const
export const l1MessengerAddress =
'0x0000000000000000000000000000000000008008' as const
export const l1ToL2AliasOffset =
'0x1111000000000000000000000000000000001111' as const
export const l2AssetRouterAddress =
'0x0000000000000000000000000000000000010003' as const
export const l2NativeTokenVaultAddress =
'0x0000000000000000000000000000000000010004' as const
export const bootloaderFormalAddress =
'0x0000000000000000000000000000000000008001' as const
export const addressModulo = 2n ** 160n

1
node_modules/viem/zksync/constants/contract.ts generated vendored Normal file
View File

@@ -0,0 +1 @@
export const accountAbstractionVersion1 = 1

5
node_modules/viem/zksync/constants/number.ts generated vendored Normal file
View File

@@ -0,0 +1,5 @@
import { maxUint16 } from '../../constants/number.js'
export const gasPerPubdataDefault = 50000n
export const maxBytecodeSize = maxUint16 * 32n
export const requiredL1ToL2GasPerPubdataLimit = 800n