diff --git a/crates/core/src/cached_compiler.rs b/crates/core/src/cached_compiler.rs index ab865df..cdac31f 100644 --- a/crates/core/src/cached_compiler.rs +++ b/crates/core/src/cached_compiler.rs @@ -210,7 +210,7 @@ async fn compile_contracts( // Some(compiler_version.clone()), // Some(compiler_path.as_ref().to_path_buf()), // None, - // err.to_string(), + // format!("{err:#}"), // ) })? // Adding the deployed libraries to the compiler. @@ -238,7 +238,7 @@ async fn compile_contracts( // Some(compiler_version.clone()), // Some(compiler_path.as_ref().to_path_buf()), // Some(compiler_input.clone()), - // err.to_string(), + // format!("{err:#}"), // ) // }) .context("Failed to configure compiler with sources and options")?; diff --git a/crates/core/src/main.rs b/crates/core/src/main.rs index 974d859..638f817 100644 --- a/crates/core/src/main.rs +++ b/crates/core/src/main.rs @@ -487,7 +487,7 @@ where .report_test_succeeded_event(steps_executed) .expect("Can't fail"), Err(error) => reporter - .report_test_failed_event(error.to_string()) + .report_test_failed_event(format!("{error:#}")) .expect("Can't fail"), } } diff --git a/run_tests.sh b/run_tests.sh index 924d494..1900b01 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -55,7 +55,7 @@ if [ -n "$POLKADOT_SDK_DIR" ]; then if [ ! -x "$REVIVE_DEV_NODE_BIN" ] || [ ! -x "$ETH_RPC_BIN" ] || [ ! -x "$SUBSTRATE_NODE_BIN" ]; then echo -e "${YELLOW}Required binaries not found in release target. Building...${NC}" - (cd "$POLKADOT_SDK_DIR" && cargo build --release --package revive-dev-node --package eth-rpc --package substrate-node) + (cd "$POLKADOT_SDK_DIR" && cargo build --release --package staging-node-cli --package pallet-revive-eth-rpc --package revive-dev-node) fi for bin in "$REVIVE_DEV_NODE_BIN" "$ETH_RPC_BIN" "$SUBSTRATE_NODE_BIN"; do