Skip to content

Commit

Permalink
chore!: use u64 for base fee in tx info (#1963)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Jan 29, 2025
1 parent a82648b commit 6b845c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/consensus/src/transaction/meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ pub struct TransactionInfo {
/// Number of the block.
pub block_number: Option<u64>,
/// Base fee of the block.
pub base_fee: Option<u128>,
pub base_fee: Option<u64>,
}

impl TransactionInfo {
/// Returns a new [`TransactionInfo`] with the provided base fee.
pub const fn with_base_fee(mut self, base_fee: u128) -> Self {
pub const fn with_base_fee(mut self, base_fee: u64) -> Self {
self.base_fee = Some(base_fee);
self
}
Expand Down

0 comments on commit 6b845c1

Please sign in to comment.