Skip to content

Commit

Permalink
feat(deps): upgrade to alloy for reth 1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalir committed Dec 17, 2024
1 parent 5f2a89e commit d68faea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ option-if-let-else = "warn"
redundant-clone = "warn"

[dependencies]
alloy-rlp = { version = "0.3", default-features = false }
alloy-rlp = { version = "0.3.10", default-features = false }

alloy-primitives = { version = "0.8.8", default-features = false }
alloy-sol-types = { version = "0.8.8", default-features = false }
alloy-primitives = { version = "0.8.11", default-features = false }
alloy-sol-types = { version = "0.8.11", default-features = false }

alloy = { version = "=0.5.4", default-features = false, features = ["consensus", "rpc-types-mev", "eips", "k256"] }
alloy = { version = "=0.7.3", default-features = false, features = ["consensus", "rpc-types-mev", "eips", "k256"] }

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

Expand Down
4 changes: 2 additions & 2 deletions src/fill/alloy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,12 @@ impl Block for alloy::rpc::types::eth::Header {
blob_excess_gas_and_price,
} = block_env;
*number = U256::from(self.number);
*coinbase = self.miner;
*coinbase = self.beneficiary;
*timestamp = U256::from(self.timestamp);
*gas_limit = U256::from(self.gas_limit);
*basefee = U256::from(self.base_fee_per_gas.unwrap_or_default());
*difficulty = U256::from(self.difficulty);
*prevrandao = self.mix_hash;
*prevrandao = Some(self.mix_hash);
*blob_excess_gas_and_price = self.blob_gas_used.map(BlobExcessGasAndPrice::new);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/lifecycle/output.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl Default for BlockOutput {
}
}

impl<T: TxReceipt> BlockOutput<T> {
impl<T: TxReceipt<Log = alloy_primitives::Log>> BlockOutput<T> {
/// Create a new block output with memory allocated to hold `capacity`
/// transaction outcomes.
pub fn with_capacity(capacity: usize) -> Self {
Expand Down

0 comments on commit d68faea

Please sign in to comment.