Skip to content

Commit

Permalink
fix: verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
Vid201 committed Sep 5, 2023
1 parent a40c52d commit edfa4ff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bin/silius/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 2 additions & 1 deletion bundler-spec-tests/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion crates/uopool/src/uopool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit edfa4ff

Please sign in to comment.