Skip to content

Commit

Permalink
fix sui-test-validator bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vladilen11 committed Jul 7, 2024
1 parent a039a4a commit 0446661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/sui-cluster-test/src/cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ impl LocalNewCluster {
#[async_trait]
impl Cluster for LocalNewCluster {
async fn start(options: &ClusterTestOpt) -> Result<Self, anyhow::Error> {
let fullnode_address = options.fullnode_address.as_ref().map(|addr| {
let data_ingestion_path = tempdir()?.into_path();
let fullnode_address = options.fullnode_address.as_ref().map(|addr| {
addr.parse::<SocketAddr>()
.expect("Unable to parse fullnode address")
});
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-test-validator/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async fn main() -> Result<()> {
pg_address: with_indexer.then_some(format!(
"postgres://{pg_user}:{pg_password}@{pg_host}:{pg_port}/{pg_db_name}"
)),
faucet_address: Some(format!("127.0.0.1:{}", faucet_port)),
faucet_address: Some(format!("{}", faucet_addr)),
epoch_duration_ms,
config_dir,
graphql_address: graphql_port.map(|p| format!("{}:{}", graphql_host, p)),
Expand Down

0 comments on commit 0446661

Please sign in to comment.