Skip to content

Commit

Permalink
fix: use OnceLock for Sync reqs on BlockOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir committed Dec 17, 2024
1 parent ccc744e commit fb898ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ alloy = { version = "=0.7.3", default-features = false, features = ["consensus",

revm = { version = "18.0.0", default-features = false }

zenith-types = { version = "0.10", optional = true }
zenith-types = { version = "0.11", optional = true }

dashmap = { version = "6.1.0", optional = true }

Expand Down
4 changes: 2 additions & 2 deletions src/lifecycle/output.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use alloc::vec::Vec;
use alloy::consensus::{ReceiptEnvelope, TxReceipt};
use alloy_primitives::{Address, Bloom, Bytes, Log};
use core::cell::OnceCell;
use std::sync::OnceLock;

/// Information externalized during block execution.
///
Expand All @@ -16,7 +16,7 @@ pub struct BlockOutput<T: TxReceipt = ReceiptEnvelope> {
senders: Vec<Address>,

/// The logs bloom of the block.
bloom: OnceCell<Bloom>,
bloom: OnceLock<Bloom>,
}

impl Default for BlockOutput {
Expand Down

0 comments on commit fb898ba

Please sign in to comment.