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

59
node_modules/viem/chains/definitions/megaeth.ts generated vendored Normal file
View File

@@ -0,0 +1,59 @@
import { chainConfig } from '../../op-stack/chainConfig.js'
import { defineChain } from '../../utils/chain/defineChain.js'
const sourceId = 1 // mainnet
export const megaeth = /*#__PURE__*/ defineChain({
...chainConfig,
id: 4326,
blockTime: 1_000,
name: 'MegaETH',
nativeCurrency: {
name: 'Ether',
symbol: 'ETH',
decimals: 18,
},
rpcUrls: {
default: {
http: ['https://mainnet.megaeth.com/rpc'],
webSocket: ['wss://mainnet.megaeth.com/ws'],
},
},
blockExplorers: {
default: {
name: 'Etherscan',
url: 'https://mega.etherscan.io',
apiUrl: 'https://api.etherscan.io/v2/api',
},
blockscout: {
name: 'Blockscout',
url: 'https://megaeth.blockscout.com',
apiUrl: 'https://megaeth.blockscout.com/api',
},
},
contracts: {
...chainConfig.contracts,
disputeGameFactory: {
[sourceId]: {
address: '0x8546840adF796875cD9AAcc5B3B048f6B2c9D563',
},
},
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 0,
},
portal: {
[sourceId]: {
address: '0x7f82f57F0Dd546519324392e408b01fcC7D709e8',
blockCreated: 21644285,
},
},
l1StandardBridge: {
[sourceId]: {
address: '0x0CA3A2FBC3D770b578223FBB6b062fa875a2eE75',
blockCreated: 21644285,
},
},
},
sourceId,
})