chore: bump hardforks (#19506)

This commit is contained in:
Matthias Seitz
2025-11-05 13:30:37 +01:00
committed by GitHub
parent 1cd5b50aaf
commit 5b062b21e1
3 changed files with 9 additions and 9 deletions

8
Cargo.lock generated
View File

@@ -299,9 +299,9 @@ dependencies = [
[[package]]
name = "alloy-hardforks"
version = "0.4.3"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51e7f93a60ef3d867c93d43442ef3f2d8a1095450131c3d4e16bbbbf2166b9bd"
checksum = "1e29d7eacf42f89c21d7f089916d0bdb4f36139a31698790e8837d2dbbd4b2c3"
dependencies = [
"alloy-chains",
"alloy-eip2124",
@@ -397,9 +397,9 @@ dependencies = [
[[package]]
name = "alloy-op-hardforks"
version = "0.4.3"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0bc135abf78cf83a460bf785d52e4fe83c3ba5fadd416e2f79f7409eec45958"
checksum = "95ac97adaba4c26e17192d81f49186ac20c1e844e35a00e169c8d3d58bc84e6b"
dependencies = [
"alloy-chains",
"alloy-hardforks",

View File

@@ -490,7 +490,7 @@ alloy-sol-macro = "1.4.1"
alloy-sol-types = { version = "1.4.1", default-features = false }
alloy-trie = { version = "0.9.1", default-features = false }
alloy-hardforks = "0.4.3"
alloy-hardforks = "0.4.4"
alloy-consensus = { version = "1.0.41", default-features = false }
alloy-contract = { version = "1.0.41", default-features = false }
@@ -522,7 +522,7 @@ alloy-transport-ws = { version = "1.0.41", default-features = false }
# op
alloy-op-evm = { version = "0.23.0", default-features = false }
alloy-op-hardforks = "0.4.3"
alloy-op-hardforks = "0.4.4"
op-alloy-rpc-types = { version = "0.22.0", default-features = false }
op-alloy-rpc-types-engine = { version = "0.22.0", default-features = false }
op-alloy-network = { version = "0.22.0", default-features = false }

View File

@@ -522,7 +522,7 @@ mod tests {
use alloy_op_hardforks::{
BASE_MAINNET_JOVIAN_TIMESTAMP, OP_MAINNET_JOVIAN_TIMESTAMP, OP_SEPOLIA_JOVIAN_TIMESTAMP,
};
use alloy_primitives::b256;
use alloy_primitives::{b256, hex};
use reth_chainspec::{test_fork_ids, BaseFeeParams, BaseFeeParamsKind};
use reth_ethereum_forks::{EthereumHardfork, ForkCondition, ForkHash, ForkId, Head};
use reth_optimism_forks::{OpHardfork, OpHardforks};
@@ -879,7 +879,7 @@ mod tests {
#[test]
fn latest_base_mainnet_fork_id() {
assert_eq!(
ForkId { hash: ForkHash([0xfa, 0x71, 0x70, 0xef]), next: 0 },
ForkId { hash: ForkHash(hex!("1cfeafc9")), next: 0 },
BASE_MAINNET.latest_fork_id()
)
}
@@ -888,7 +888,7 @@ mod tests {
fn latest_base_mainnet_fork_id_with_builder() {
let base_mainnet = OpChainSpecBuilder::base_mainnet().build();
assert_eq!(
ForkId { hash: ForkHash([0xfa, 0x71, 0x70, 0xef]), next: 0 },
ForkId { hash: ForkHash(hex!("1cfeafc9")), next: 0 },
base_mainnet.latest_fork_id()
)
}