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

50
node_modules/viem/chains/definitions/mode.ts generated vendored Normal file
View File

@@ -0,0 +1,50 @@
import { chainConfig } from '../../op-stack/chainConfig.js'
import { defineChain } from '../../utils/chain/defineChain.js'
const sourceId = 1 // mainnet
export const mode = /*#__PURE__*/ defineChain({
...chainConfig,
id: 34443,
name: 'Mode Mainnet',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.mode.network'],
},
},
blockExplorers: {
default: {
name: 'Modescan',
url: 'https://modescan.io',
},
},
contracts: {
...chainConfig.contracts,
disputeGameFactory: {
[sourceId]: {
address: '0x6f13EFadABD9269D6cEAd22b448d434A1f1B433E',
},
},
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 2465882,
},
l2OutputOracle: {
[sourceId]: {
address: '0x4317ba146D4933D889518a3e5E11Fe7a53199b04',
},
},
portal: {
[sourceId]: {
address: '0x8B34b14c7c7123459Cf3076b8Cb929BE097d0C07',
},
},
l1StandardBridge: {
[sourceId]: {
address: '0x735aDBbE72226BD52e818E7181953f42E3b0FF21',
},
},
},
sourceId,
})