Skip to content

Commit

Permalink
fixed humanode
Browse files Browse the repository at this point in the history
  • Loading branch information
ManojJiSharma committed Mar 6, 2024
1 parent be104c7 commit 046342a
Show file tree
Hide file tree
Showing 8 changed files with 337 additions and 454 deletions.
309 changes: 28 additions & 281 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions chains/humanode/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ pub fn config(network: &str) -> Result<BlockchainConfig> {
format!("--chain={network}"),
"--force-authoring".into(),
"--rpc-cors=all".into(),
format!("--rpc-port={port}"),
"--rpc-external".into(),

// format!("--rpc-port={port}"),
format!("--ws-port={port}"),
"--ws-external".into(),
"--unsafe-ws-external".into(),
"--unsafe-rpc-external".into(),
];
if network.ends_with("dev") {
params.extend_from_slice(&["--alice".into(), "--tmp".into()]);
Expand All @@ -56,4 +58,4 @@ pub fn config(network: &str) -> Result<BlockchainConfig> {
connector_port: 8084,
testnet: network != "humanode",
})
}
}
6 changes: 3 additions & 3 deletions chains/humanode/server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ rosetta-server = { workspace = true, features = ["ws", "webpki-tls"] }
rosetta-server-ethereum.workspace = true
serde.workspace = true
serde_json.workspace = true
sp-keyring = "24.0"
sp-keyring.workspace = true
subxt = { workspace = true, features = ["substrate-compat"] }
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }


[dev-dependencies]
alloy-primitives = { version = "0.5" }
alloy-sol-types = { version = "0.5" }
alloy-primitives = { version = "0.6" }
alloy-sol-types = { version = "0.6" }
ethers-solc = "2.0"
rosetta-client.workspace = true
rosetta-docker = { workspace = true, features = ["tests"] }
Expand Down
Loading

0 comments on commit 046342a

Please sign in to comment.