Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ impl Settlement {
}

/// Create a new settlement and ensure that it is valid.
#[instrument(name = "create_settlement", skip_all)]
async fn new(
auction_id: auction::Id,
solution: Solution,
Expand Down
3 changes: 3 additions & 0 deletions crates/driver/src/infra/blockchain/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ use {
},
std::{fmt, sync::Arc, time::Duration},
thiserror::Error,
tracing::{Level, instrument},
url::Url,
web3::{Transport, types::CallRequest},
};
Expand Down Expand Up @@ -174,6 +175,7 @@ impl Ethereum {
}

/// Create access list used by a transaction.
#[instrument(skip_all)]
pub async fn create_access_list<T>(&self, tx: T) -> Result<eth::AccessList, Error>
where
CallRequest: From<T>,
Expand Down Expand Up @@ -272,6 +274,7 @@ impl Ethereum {
.map_err(Into::into)
}

#[instrument(skip(self), ret(level = Level::DEBUG))]
pub(super) async fn simulation_gas_price(&self) -> Option<eth::U256> {
// Some nodes don't pick a reasonable default value when you don't specify a gas
// price and default to 0. Additionally some sneaky tokens have special code
Expand Down
Loading