Skip to content

Commit

Permalink
fix: build sim-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-frmr committed Jan 20, 2025
1 parent 16f50a5 commit 82dbcaa
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions kinode/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,17 @@ async fn main() {
.get_one::<u16>("fakechain-port")
.cloned()
.unwrap_or(8545);
eth_provider_config.insert(lib::eth::ProviderConfig {
chain_id: 31337,
trusted: true,
provider: lib::eth::NodeOrRpcUrl::RpcUrl(format!(
"ws://localhost:{}",
local_chain_port
)),
});
eth_provider_config.insert(
0,
lib::eth::ProviderConfig {
chain_id: 31337,
trusted: true,
provider: lib::eth::NodeOrRpcUrl::RpcUrl(format!(
"ws://localhost:{}",
local_chain_port
)),
},
);
}

// kernel receives system messages via this channel, all other modules send messages
Expand Down

0 comments on commit 82dbcaa

Please sign in to comment.