From 36589aaf098ac3d61c8255768fa0431aa181206c Mon Sep 17 00:00:00 2001 From: CeciliaZ030 <45245961+CeciliaZ030@users.noreply.github.com> Date: Thu, 15 Feb 2024 11:36:38 +0800 Subject: [PATCH] #[cfg(all(feature = "taiko", not(feature = "optimism")))] --- crates/primitives/src/specification.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/primitives/src/specification.rs b/crates/primitives/src/specification.rs index 2929a17288..0480f1a9ff 100644 --- a/crates/primitives/src/specification.rs +++ b/crates/primitives/src/specification.rs @@ -66,7 +66,7 @@ pub enum SpecId { /// Specification IDs and their activation block. /// /// Information was obtained from the [Ethereum Execution Specifications](https://github.com/ethereum/execution-specs) -#[cfg(feature = "taiko")] +#[cfg(all(feature = "taiko", not(feature = "optimism")))] #[repr(u8)] #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Ord, PartialOrd, enumn::N)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]