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

View File

@@ -0,0 +1,52 @@
import { chainConfig } from '../../op-stack/chainConfig.js'
import { defineChain } from '../../utils/chain/defineChain.js'
const sourceId = 11_155_111 // sepolia
export const unichainSepolia = /*#__PURE__*/ defineChain({
...chainConfig,
id: 1301,
name: 'Unichain Sepolia',
nativeCurrency: {
name: 'Ether',
symbol: 'ETH',
decimals: 18,
},
blockTime: 1_000,
rpcUrls: {
default: {
http: ['https://sepolia.unichain.org'],
},
},
blockExplorers: {
default: {
name: 'Uniscan',
url: 'https://sepolia.uniscan.xyz',
apiUrl: 'https://api-sepolia.uniscan.xyz/api',
},
},
contracts: {
...chainConfig.contracts,
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 0,
},
portal: {
[sourceId]: {
address: '0x0d83dab629f0e0F9d36c0Cbc89B69a489f0751bD',
},
},
l1StandardBridge: {
[sourceId]: {
address: '0xea58fcA6849d79EAd1f26608855c2D6407d54Ce2',
},
},
disputeGameFactory: {
[sourceId]: {
address: '0xeff73e5aa3B9AEC32c659Aa3E00444d20a84394b',
},
},
},
testnet: true,
sourceId,
})