diff --git a/docker-compose.yml b/docker-compose.yml index dfe1e63e..42a93f7e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -62,9 +62,10 @@ services: astar: image: "staketechnologies/astar-collator:latest" - command: "astar-collator --chain dev --rpc-cors all --ws-external --alice --blocks-pruning archive --state-pruning archive --base-path /polkadot" + command: "astar-collator --chain dev --ws-port 9994 --rpc-port 9995 --rpc-cors all --ws-external --alice --blocks-pruning archive --state-pruning archive --base-path /polkadot" expose: - - "9944" + - "9994" + - "9995" user: root ulimits: nofile: @@ -112,7 +113,7 @@ services: connector-astar: image: "analoglabs/connector-astar" - command: "--network dev --addr 0.0.0.0:8082 --node-addr astar:9944 --path /data" + command: "--network dev --addr 0.0.0.0:8083 --node-addr astar:9994 --path /data" ports: - "8083:8083" depends_on: diff --git a/rosetta-client/src/lib.rs b/rosetta-client/src/lib.rs index 68e26f10..6206a364 100644 --- a/rosetta-client/src/lib.rs +++ b/rosetta-client/src/lib.rs @@ -52,6 +52,7 @@ pub fn create_config(blockchain: &str, network: &str) -> Result rosetta_config_bitcoin::config(network), "ethereum" => rosetta_config_ethereum::config(network), + "astar" => rosetta_config_astar::config(network), "polkadot" => rosetta_config_polkadot::config(network), _ => anyhow::bail!("unsupported blockchain"), }