From ecf3618b7bd9102b6de64d8871a7b7dc0ed1845f Mon Sep 17 00:00:00 2001 From: bitful-pannul Date: Wed, 30 Oct 2024 22:26:41 +0100 Subject: [PATCH] fakenet: update addresses --- kinode/packages/app_store/chain/src/lib.rs | 2 +- kinode/packages/kns_indexer/kns_indexer/src/lib.rs | 2 +- kinode/src/fakenet.rs | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/kinode/packages/app_store/chain/src/lib.rs b/kinode/packages/app_store/chain/src/lib.rs index b0aadfa3..66db5995 100644 --- a/kinode/packages/app_store/chain/src/lib.rs +++ b/kinode/packages/app_store/chain/src/lib.rs @@ -59,7 +59,7 @@ const CHAIN_TIMEOUT: u64 = 60; // 60s #[cfg(not(feature = "simulation-mode"))] const KIMAP_ADDRESS: &'static str = kimap::KIMAP_ADDRESS; // optimism #[cfg(feature = "simulation-mode")] -const KIMAP_ADDRESS: &str = "0xEce71a05B36CA55B895427cD9a440eEF7Cf3669D"; +const KIMAP_ADDRESS: &str = "0x9CE8cCD2932DC727c70f9ae4f8C2b68E6Abed58C"; const DELAY_MS: u64 = 1_000; // 1s diff --git a/kinode/packages/kns_indexer/kns_indexer/src/lib.rs b/kinode/packages/kns_indexer/kns_indexer/src/lib.rs index eaba1e72..765e36e1 100644 --- a/kinode/packages/kns_indexer/kns_indexer/src/lib.rs +++ b/kinode/packages/kns_indexer/kns_indexer/src/lib.rs @@ -23,7 +23,7 @@ wit_bindgen::generate!({ #[cfg(not(feature = "simulation-mode"))] const KIMAP_ADDRESS: &'static str = kimap::KIMAP_ADDRESS; // optimism #[cfg(feature = "simulation-mode")] -const KIMAP_ADDRESS: &'static str = "0xEce71a05B36CA55B895427cD9a440eEF7Cf3669D"; // local +const KIMAP_ADDRESS: &'static str = "0x9CE8cCD2932DC727c70f9ae4f8C2b68E6Abed58C"; // local #[cfg(not(feature = "simulation-mode"))] const CHAIN_ID: u64 = kimap::KIMAP_CHAIN_ID; // optimism diff --git a/kinode/src/fakenet.rs b/kinode/src/fakenet.rs index 031b56d5..32df01dd 100644 --- a/kinode/src/fakenet.rs +++ b/kinode/src/fakenet.rs @@ -13,15 +13,15 @@ use std::str::FromStr; use crate::{keygen, sol::*, KIMAP_ADDRESS, MULTICALL_ADDRESS}; // TODO move these into contracts registry, doublecheck optimism deployments -const FAKE_DOTDEV_TBA: &str = "0x1a5447E634aa056Fa302E48630Da8425EC15A53A"; -const FAKE_DOTOS_TBA: &str = "0xF5FaB379Eb87599d7B5BaBeDDEFe6EfDEC6164b0"; -const _FAKE_ZEROTH_TBA: &str = "0x02dd7FB5ca377b1a6E2960EB139aF390a24D28FA"; +const FAKE_DOTDEV_TBA: &str = "0x27e913BF6dcd08E9E68530812B277224Be07890B"; +const FAKE_DOTOS_TBA: &str = "0xC026fE4950c12AdACF284689d900AcC74987c555"; +const _FAKE_ZEROTH_TBA: &str = "0x33b687295Cb095d9d962BA83732c67B96dffC8eA"; -const KINO_ACCOUNT_IMPL: &str = "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0"; +const KINO_ACCOUNT_IMPL: &str = "0x00ee0e0d00F01f6FF3aCcBA2986E07f99181b9c2"; const MULTICALL: &str = "0xcA11bde05977b3631167028862bE2a173976CA11"; -const KIMAP: &str = "0xEce71a05B36CA55B895427cD9a440eEF7Cf3669D"; +const KIMAP: &str = "0x9CE8cCD2932DC727c70f9ae4f8C2b68E6Abed58C"; /// Attempts to connect to a local anvil fakechain, /// registering a name with its KiMap contract.