From 9d7676b2487ce4c7f9a7abbad2a96bf7ed5766df Mon Sep 17 00:00:00 2001 From: Mikolaj Jakobiak Date: Thu, 5 Sep 2024 15:42:34 +0100 Subject: [PATCH 1/2] turn on indexing base sepolia --- .../monitor_events/networks/base_sepolia.json | 4 ++-- pm2.config.js | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/crates/monitor_events/networks/base_sepolia.json b/crates/monitor_events/networks/base_sepolia.json index 558f591..e2f8961 100644 --- a/crates/monitor_events/networks/base_sepolia.json +++ b/crates/monitor_events/networks/base_sepolia.json @@ -1,8 +1,8 @@ { "name": "base_sepolia", - "l1_contract": "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254", + "l1_contract": "0xA0E35F56C318DE1bD5D9ca6A94Fe7e37C5663348", "block_delay": 20, "poll_period_sec": 60, "batch_size": 50000, - "l1_contract_deployment_block": 4370901 + "l1_contract_deployment_block": 5089905 } diff --git a/pm2.config.js b/pm2.config.js index e5adea4..3199297 100644 --- a/pm2.config.js +++ b/pm2.config.js @@ -19,16 +19,16 @@ module.exports = { // DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', // } // }, - // { - // name: 'monitor-base-sepolia', - // script: 'target/release/monitor-events', - // env: { - // CHAIN_TYPE: 'sepolia', - // CHAIN_NAME: 'base', - // RPC_URL: 'https://ethereum-sepolia-rpc.publicnode.com', - // DB_URL:'postgresql://postgres:password@localhost:5432/l2indexer', - // } - // }, + { + name: "monitor-base-sepolia", + script: "target/release/monitor-events", + env: { + CHAIN_TYPE: "sepolia", + CHAIN_NAME: "base", + RPC_URL: "https://ethereum-sepolia-rpc.publicnode.com", + DB_URL: "postgresql://postgres:password@localhost:5432/l2indexer", + }, + }, { name: "monitor-optimism-sepolia", script: "target/release/monitor-events", From 6f36134e3e9db4cb6684fd12beb0172cbc1db7e2 Mon Sep 17 00:00:00 2001 From: Mikolaj Jakobiak Date: Wed, 11 Sep 2024 13:16:03 +0100 Subject: [PATCH 2/2] correct base output oracle address --- crates/monitor_events/networks/base_sepolia.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/monitor_events/networks/base_sepolia.json b/crates/monitor_events/networks/base_sepolia.json index e2f8961..558f591 100644 --- a/crates/monitor_events/networks/base_sepolia.json +++ b/crates/monitor_events/networks/base_sepolia.json @@ -1,8 +1,8 @@ { "name": "base_sepolia", - "l1_contract": "0xA0E35F56C318DE1bD5D9ca6A94Fe7e37C5663348", + "l1_contract": "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254", "block_delay": 20, "poll_period_sec": 60, "batch_size": 50000, - "l1_contract_deployment_block": 5089905 + "l1_contract_deployment_block": 4370901 }