Skip to content

Commit

Permalink
fix: test paths
Browse files Browse the repository at this point in the history
  • Loading branch information
dandanlen committed Oct 31, 2023
1 parent cc0b359 commit 8e97eaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion engine/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ pub mod tests {
);
assert_eq!(opts.prometheus_port.unwrap(), settings.prometheus.as_ref().unwrap().port);

assert_eq!(opts.signing_db_file.unwrap(), settings.signing.db_file);
assert!(settings.signing.db_file.ends_with("not/real.db"));
}

#[test]
Expand Down
6 changes: 3 additions & 3 deletions localnet/init/scripts/start-engine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ LOG_PORT=$6
source ./localnet/init/env/cfe.env
$BINARY_ROOT_PATH/chainflip-engine \
--config-root=./localnet/init/ \
--eth.private_key_file=./localnet/init/keys/$NODE_NAME/eth_private_key_file \
--state_chain.signing_key_file=./localnet/init/keys/$NODE_NAME/signing_key_file \
--eth.private_key_file=./keys/$NODE_NAME/eth_private_key_file \
--state_chain.signing_key_file=./keys/$NODE_NAME/signing_key_file \
--state_chain.ws_endpoint=ws://localhost:$RPC_PORT \
--p2p.node_key_file=./localnet/init/keys/$NODE_NAME/node_key_file \
--p2p.node_key_file=./keys/$NODE_NAME/node_key_file \
--p2p.port=$PORT \
--logging.command_server_port=$LOG_PORT \
--signing.db_file=/tmp/chainflip/$NODE_NAME/$NODE_NAME.db \
Expand Down

0 comments on commit 8e97eaf

Please sign in to comment.