diff --git a/crates/monitor_events/networks/base_sepolia.json b/crates/monitor_events/networks/base_sepolia.json index 558f591..0b1d781 100644 --- a/crates/monitor_events/networks/base_sepolia.json +++ b/crates/monitor_events/networks/base_sepolia.json @@ -2,7 +2,7 @@ "name": "base_sepolia", "l1_contract": "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254", "block_delay": 20, - "poll_period_sec": 60, + "poll_period_sec": 10800, "batch_size": 50000, "l1_contract_deployment_block": 4370901 } diff --git a/crates/monitor_events/networks/optimism_sepolia.json b/crates/monitor_events/networks/optimism_sepolia.json index c32ca44..d52818b 100644 --- a/crates/monitor_events/networks/optimism_sepolia.json +++ b/crates/monitor_events/networks/optimism_sepolia.json @@ -2,7 +2,7 @@ "name": "optimism_sepolia", "l1_contract": "0x90E9c4f8a994a250F6aEfd61CAFb4F2e895D458F", "block_delay": 20, - "poll_period_sec": 60, + "poll_period_sec": 10800, "batch_size": 50000, "l1_contract_deployment_block": 4071248 } diff --git a/pm2.config.js b/pm2.config.js index 3199297..4b9cb50 100644 --- a/pm2.config.js +++ b/pm2.config.js @@ -25,7 +25,8 @@ module.exports = { env: { CHAIN_TYPE: "sepolia", CHAIN_NAME: "base", - RPC_URL: "https://ethereum-sepolia-rpc.publicnode.com", + RPC_URL: + "https://eth-sepolia.g.alchemy.com/v2/1cpBOW7IDNaPC1Dybn6Qbv6uMszcmjlr", DB_URL: "postgresql://postgres:password@localhost:5432/l2indexer", }, }, @@ -35,7 +36,8 @@ module.exports = { env: { CHAIN_TYPE: "sepolia", CHAIN_NAME: "optimism", - RPC_URL: "https://ethereum-sepolia-rpc.publicnode.com", + RPC_URL: + "https://eth-sepolia.g.alchemy.com/v2/1cpBOW7IDNaPC1Dybn6Qbv6uMszcmjlr", DB_URL: "postgresql://postgres:password@localhost:5432/l2indexer", }, },