Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/clients/ProfitClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,6 @@ export class ProfitClient {
[CHAIN_IDs.BLAST]: "USDB",
[CHAIN_IDs.INK]: "WETH", // USDC deferred on Ink.
[CHAIN_IDs.PLASMA]: "USDT",
[CHAIN_IDs.REDSTONE]: "WETH", // Redstone only supports WETH.
[CHAIN_IDs.SONEIUM]: "WETH", // USDC deferred on Soneium.
};
const prodRelayer = process.env.RELAYER_FILL_SIMULATION_ADDRESS ?? PROD_RELAYER;
Expand Down
28 changes: 1 addition & 27 deletions src/common/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export const BUNDLE_END_BLOCK_BUFFERS = {
[CHAIN_IDs.OPTIMISM]: 60, // 2s/block
[CHAIN_IDs.PLASMA]: 180, // ~1s/block variable. Finality guarantees are less certain, be a bit more conservative.
[CHAIN_IDs.POLYGON]: 128, // 2s/block. Polygon reorgs often so this number is set larger than the largest observed reorg.
[CHAIN_IDs.REDSTONE]: 60, // 2s/block
[CHAIN_IDs.REDSTONE]: 0, // Disabled
[CHAIN_IDs.SCROLL]: 40, // ~3s/block
[CHAIN_IDs.SOLANA]: 150, // ~400ms/block
[CHAIN_IDs.SONEIUM]: 60, // 2s/block
Expand Down Expand Up @@ -246,7 +246,6 @@ export const CHAIN_CACHE_FOLLOW_DISTANCE: { [chainId: number]: number } = {
[CHAIN_IDs.OPTIMISM]: 120,
[CHAIN_IDs.PLASMA]: 300,
[CHAIN_IDs.POLYGON]: 256,
[CHAIN_IDs.REDSTONE]: 120,
[CHAIN_IDs.SCROLL]: 100,
[CHAIN_IDs.SOLANA]: 512,
[CHAIN_IDs.SONEIUM]: 120,
Expand Down Expand Up @@ -291,7 +290,6 @@ export const DEFAULT_NO_TTL_DISTANCE: { [chainId: number]: number } = {
[CHAIN_IDs.OPTIMISM]: 86400,
[CHAIN_IDs.PLASMA]: 172800,
[CHAIN_IDs.POLYGON]: 86400,
[CHAIN_IDs.REDSTONE]: 86400,
[CHAIN_IDs.SCROLL]: 57600,
[CHAIN_IDs.SOLANA]: 432000,
[CHAIN_IDs.SONEIUM]: 86400,
Expand Down Expand Up @@ -367,7 +365,6 @@ export const SUPPORTED_TOKENS: { [chainId: number]: string[] } = {
],
[CHAIN_IDs.PLASMA]: ["USDT", "WETH"],
[CHAIN_IDs.POLYGON]: ["USDC", "USDT", "WETH", "DAI", "WBTC", "UMA", "BAL", "ACX", "POOL"],
[CHAIN_IDs.REDSTONE]: ["WETH"],
[CHAIN_IDs.SCROLL]: ["WETH", "USDC", "USDT", "WBTC", "POOL"],
[CHAIN_IDs.SOLANA]: ["USDC"],
[CHAIN_IDs.SONEIUM]: ["WETH", "USDC"],
Expand Down Expand Up @@ -464,7 +461,6 @@ export const CANONICAL_BRIDGE = resolveCanonicalBridges();
export const CANONICAL_L2_BRIDGE: Record<number, L2BridgeConstructor<BaseL2BridgeAdapter>> = {
[CHAIN_IDs.BSC]: L2BinanceCEXBridge,
[CHAIN_IDs.LISK]: L2OpStackBridge,
[CHAIN_IDs.REDSTONE]: L2OpStackBridge,
[CHAIN_IDs.ZORA]: L2OpStackBridge,
};

Expand Down Expand Up @@ -538,9 +534,6 @@ export const CUSTOM_BRIDGE: Record<number, Record<string, L1BridgeConstructor<Ba
[TOKEN_SYMBOLS_MAP.USDC.addresses[CHAIN_IDs.MAINNET]]: UsdcTokenSplitterBridge,
[TOKEN_SYMBOLS_MAP.USDT.addresses[CHAIN_IDs.MAINNET]]: OFTBridge,
},
[CHAIN_IDs.REDSTONE]: {
[TOKEN_SYMBOLS_MAP.WETH.addresses[CHAIN_IDs.MAINNET]]: OpStackWethBridge,
},
[CHAIN_IDs.SONEIUM]: {
[TOKEN_SYMBOLS_MAP.WETH.addresses[CHAIN_IDs.MAINNET]]: OpStackWethBridge,
[TOKEN_SYMBOLS_MAP.USDC.addresses[CHAIN_IDs.MAINNET]]: OpStackUSDCBridge,
Expand Down Expand Up @@ -616,9 +609,6 @@ export const CUSTOM_L2_BRIDGE: Record<number, Record<string, L2BridgeConstructor
[TOKEN_SYMBOLS_MAP.USDC.addresses[CHAIN_IDs.MAINNET]]: L2OpStackUSDCBridge,
[TOKEN_SYMBOLS_MAP.WETH.addresses[CHAIN_IDs.MAINNET]]: L2OpStackWethBridge,
},
[CHAIN_IDs.REDSTONE]: {
[TOKEN_SYMBOLS_MAP.WETH.addresses[CHAIN_IDs.MAINNET]]: L2OpStackWethBridge,
},
[CHAIN_IDs.ZORA]: {
[TOKEN_SYMBOLS_MAP.WETH.addresses[CHAIN_IDs.MAINNET]]: L2OpStackWethBridge,
},
Expand Down Expand Up @@ -825,21 +815,6 @@ export const OPSTACK_CONTRACT_OVERRIDES = {
DisputeGameFactory: "0x6f13EFadABD9269D6cEAd22b448d434A1f1B433E",
},
},
[CHAIN_IDs.REDSTONE]: {
l1: {
AddressManager: "0xFe27f187A9E46104a932189dDF229871E06B22F8",
L1CrossDomainMessenger: "0x592C1299e0F8331D81A28C0FC7352Da24eDB444a",
L1StandardBridge: CONTRACT_ADDRESSES[CHAIN_IDs.MAINNET].ovmStandardBridge_690.address,
StateCommitmentChain: ZERO_ADDRESS,
CanonicalTransactionChain: ZERO_ADDRESS,
BondManager: ZERO_ADDRESS,
OptimismPortal: "0xC7bCb0e8839a28A1cFadd1CF716de9016CdA51ae",
L2OutputOracle: "0xa426A052f657AEEefc298b3B5c35a470e4739d69",
OptimismPortal2: ZERO_ADDRESS,
DisputeGameFactory: ZERO_ADDRESS,
},
l2: DEFAULT_L2_CONTRACT_ADDRESSES,
},
[CHAIN_IDs.SONEIUM]: {
l1: {
DisputeGameFactory: "0x512a3d2c7a43bd9261d2b8e8c9c70d4bd4d503c0",
Expand Down Expand Up @@ -944,7 +919,6 @@ export const DEFAULT_GAS_MULTIPLIER: { [chainId: number]: number } = {
[CHAIN_IDs.MODE]: 1.5,
[CHAIN_IDs.MONAD]: 1.1,
[CHAIN_IDs.PLASMA]: 1.5,
[CHAIN_IDs.REDSTONE]: 1.5,
[CHAIN_IDs.SONEIUM]: 1.5,
[CHAIN_IDs.UNICHAIN]: 1.5,
[CHAIN_IDs.WORLD_CHAIN]: 1.5,
Expand Down
1 change: 0 additions & 1 deletion src/utils/ContractUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export function castSpokePoolName(networkId: number): string {
return "SvmSpoke";
case CHAIN_IDs.SONEIUM:
return "Cher_SpokePool";
case CHAIN_IDs.REDSTONE:
case CHAIN_IDs.UNICHAIN:
case CHAIN_IDs.ZORA:
case CHAIN_IDs.BASE:
Expand Down