diff --git a/Makefile b/Makefile index bcc2de26..eb9ae27c 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ run-silius-debug: cargo run --release -- bundler --eth-client-address http://127.0.0.1:8545 --mnemonic-file ${HOME}/.silius/0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --beneficiary 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --entry-points 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789 --http --ws --http.api eth,debug,web3 --ws.api eth,debug,web3 run-silius-debug-mode: - cargo run --profile debug-fast -- bundler --verbosity 3 --eth-client-address http://127.0.0.1:8545 --mnemonic-file /home/vid/.silius/0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --beneficiary 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --entry-points 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789 --http --ws --http.api eth,debug,web3 --ws.api eth,debug,web3 + cargo run --profile debug-fast -- bundler --verbosity 4 --eth-client-address http://127.0.0.1:8545 --mnemonic-file /home/vid/.silius/0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --beneficiary 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 --entry-points 0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789 --http --ws --http.api eth,debug,web3 --ws.api eth,debug,web3 fetch-thirdparty: git submodule update --init diff --git a/bin/silius/src/cli/mod.rs b/bin/silius/src/cli/mod.rs index 0a470e4d..9b269d46 100644 --- a/bin/silius/src/cli/mod.rs +++ b/bin/silius/src/cli/mod.rs @@ -59,7 +59,7 @@ pub enum Commands { pub fn run() -> anyhow::Result<()> { let cli = Cli::parse(); - std::env::set_var("RUST_LOG", cli.get_log_level()); + std::env::set_var("RUST_LOG", format!("silius={}", cli.get_log_level())); tracing_subscriber::fmt::init(); std::thread::Builder::new() diff --git a/bundler-spec-tests/launcher.sh b/bundler-spec-tests/launcher.sh index 19f4ff4c..7cfb7954 100644 --- a/bundler-spec-tests/launcher.sh +++ b/bundler-spec-tests/launcher.sh @@ -10,7 +10,8 @@ case $1 in start) docker-compose up -d - RUST_LOG=silius=TRACE silius bundler \ + silius bundler \ + --verbosity 4 \ --eth-client-address http://localhost:8545 \ --mnemonic-file keys/0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 \ --beneficiary 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 \ diff --git a/crates/uopool/src/uopool.rs b/crates/uopool/src/uopool.rs index bc50a798..fd07bf60 100644 --- a/crates/uopool/src/uopool.rs +++ b/crates/uopool/src/uopool.rs @@ -196,7 +196,7 @@ where let _ = self.mempool.set_code_hashes(&uo_hash, &code_hashes); } - trace!("User operation {uo:?} added to the mempool {}", self.id); + trace!("{uo:?} added to the mempool {:?}", self.id); // update reputation self.reputation