remove sepolia RPC that doesn't work, remove old comment

This commit is contained in:
dr-frmr 2024-04-18 00:02:49 +09:00
parent aed158b65b
commit 858eb1c63b
No known key found for this signature in database
2 changed files with 36 additions and 12 deletions

View File

@ -117,11 +117,6 @@ fn subscribe_to_logs(eth_provider: &eth::Provider, from_block: u64, filter: eth:
call_init!(init);
fn init(our: Address) {
// first, depending on if we're a fakenode or not,
// set chain_id and contract address.
// #[cfg(feature = "simulation-mode")]
// let (chain_id, contract_address) = (31337, _KNS_FAKENET_ADDRESS.to_string());
// #[cfg(not(feature = "simulation-mode"))]
let (chain_id, contract_address) = (10, KNS_OPTIMISM_ADDRESS.to_string());
println!("indexing on contract address {}", contract_address);

View File

@ -13,13 +13,6 @@
"RpcUrl": "wss://localhost:8545"
}
},
{
"chain_id": 11155111,
"trusted": false,
"provider": {
"RpcUrl": "wss://ethereum-sepolia-rpc.publicnode.com"
}
},
{
"chain_id": 10,
"trusted": false,
@ -98,5 +91,41 @@
}
}
}
},
{
"chain_id": 11155111,
"trusted": false,
"provider": {
"Node": {
"use_as_provider": true,
"kns_update": {
"name": "default-router-2.os",
"owner": "",
"node": "0xd827ae579fafa604af79fbed977e8abe048497f10885c6473dfd343a3b7b4458",
"public_key": "0xcc2752e30ba865ab6baa1b819b0291b71f1136245234274b274df5950c3abcc4",
"ip": "147.135.114.167",
"port": 9001,
"routers": []
}
}
}
},
{
"chain_id": 11155111,
"trusted": false,
"provider": {
"Node": {
"use_as_provider": true,
"kns_update": {
"name": "default-router-1.os",
"owner": "",
"node": "0xb35eb347deb896bc3fb6132a07fca1601f83462385ed11e835c24c33ba4ef73d",
"public_key": "0xe1f7a266eafe46c79494d4dcce4222d81e5767511b295f1ed26c37221aecb80b",
"ip": "147.135.114.167",
"port": 9000,
"routers": []
}
}
}
}
]