mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-27 07:58:01 +00:00
Include contract compilation information in report
This commit is contained in:
@@ -9,6 +9,7 @@ use revive_dt_common::cached_fs::read_to_string;
|
||||
|
||||
use anyhow::Context;
|
||||
use revive_dt_config::Arguments;
|
||||
use tracing::info;
|
||||
|
||||
use crate::Node;
|
||||
|
||||
@@ -63,6 +64,16 @@ where
|
||||
|
||||
fn spawn_node<T: Node + Send>(args: &Arguments, genesis: String) -> anyhow::Result<T> {
|
||||
let mut node = T::new(args);
|
||||
info!(
|
||||
id = node.id(),
|
||||
connection_string = node.connection_string(),
|
||||
"Spawning node"
|
||||
);
|
||||
node.spawn(genesis)?;
|
||||
info!(
|
||||
id = node.id(),
|
||||
connection_string = node.connection_string(),
|
||||
"Spawned node"
|
||||
);
|
||||
Ok(node)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user