Skip to content

Commit

Permalink
Fix: Fix logs in evm bridge and gossip.
Browse files Browse the repository at this point in the history
  • Loading branch information
vldm committed Jan 15, 2022
1 parent 93987e1 commit 4e75f98
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/src/cluster_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ impl ClusterInfo {
match gossip.crds.trim(cap, &keep, stakes, timestamp()) {
Err(err) => {
self.stats.trim_crds_table_failed.add_relaxed(1);
error!("crds table trim failed: {:?}", err);
debug!("crds table trim failed: {:?}", err);
}
Ok(num_purged) => {
self.stats
Expand Down
1 change: 1 addition & 0 deletions evm-utils/evm-bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ solana-core = { path = "../../core", version = "1.4.0" }
solana-runtime = { path = "../../runtime", version = "1.4.0" }
solana-transaction-status = { path = "../../transaction-status", version = "1.4.0" }
solana-account-decoder = { path = "../../account-decoder", version = "1.4.0" }
solana-logger = { path = "../../logger", version = "1.4.0" }
solana-evm-loader-program = { path = "../programs/evm_loader" }
structopt = { version = "0.3", features = ["paw"] }
serde_json = "1.0.60"
Expand Down
2 changes: 1 addition & 1 deletion evm-utils/evm-bridge/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ const SECRET_KEY_DUMMY: [u8; 32] = [1; 32];
#[paw::main]
#[tokio::main]
async fn main(args: Args) -> StdResult<(), Box<dyn std::error::Error>> {
env_logger::init();
solana_logger::setup_with_default("info,evm=debug,rpc=trace");
let min_gas_price = args.min_gas_price_or_default();
let keyfile_path = args
.keyfile
Expand Down

0 comments on commit 4e75f98

Please sign in to comment.