fix: bootstrap.sh hardcodes BASE_SEPOLIA_LOCAL_FORK even on mainnet forks (#746)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-14 22:36:52 +00:00
parent 12fa97bae7
commit 9b7143af55
2 changed files with 20 additions and 2 deletions

View file

@ -27,6 +27,17 @@ const networks: Record<string, NetworkConfig> = {
startBlock: parseInt(process.env.START_BLOCK || '31425917'),
},
},
BASE_MAINNET_LOCAL_FORK: {
chainId: 31337,
rpc: process.env.PONDER_RPC_URL_BASE_MAINNET_LOCAL_FORK || 'http://127.0.0.1:8545',
disableCache: true,
contracts: {
kraiken: process.env.KRAIKEN_ADDRESS || '0x45caa5929f6ee038039984205bdecf968b954820',
stake: process.env.STAKE_ADDRESS || '0xed70707fab05d973ad41eae8d17e2bcd36192cfc',
liquidityManager: process.env.LM_ADDRESS || '0x0000000000000000000000000000000000000000',
startBlock: parseInt(process.env.START_BLOCK || '26038614'),
},
},
BASE_SEPOLIA: {
chainId: 84532,
rpc: process.env.PONDER_RPC_URL_BASE_SEPOLIA || 'https://sepolia.base.org',