diff --git a/kinode/packages/kns_indexer/kns_indexer/src/lib.rs b/kinode/packages/kns_indexer/kns_indexer/src/lib.rs index 4f9b5213..97c4dfa7 100644 --- a/kinode/packages/kns_indexer/kns_indexer/src/lib.rs +++ b/kinode/packages/kns_indexer/kns_indexer/src/lib.rs @@ -117,11 +117,6 @@ fn subscribe_to_logs(eth_provider: ð::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); diff --git a/kinode/src/eth/default_providers_mainnet.json b/kinode/src/eth/default_providers_mainnet.json index 0eb55600..736e8ce5 100644 --- a/kinode/src/eth/default_providers_mainnet.json +++ b/kinode/src/eth/default_providers_mainnet.json @@ -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": [] + } + } + } } ] \ No newline at end of file