diff --git a/crates/artifacts/solc/Cargo.toml b/crates/artifacts/solc/Cargo.toml index d4e1b954f..807b2f798 100644 --- a/crates/artifacts/solc/Cargo.toml +++ b/crates/artifacts/solc/Cargo.toml @@ -21,7 +21,6 @@ alloy-json-abi.workspace = true alloy-primitives.workspace = true semver.workspace = true serde_json.workspace = true -serde_repr = "0.1" serde.workspace = true thiserror.workspace = true tracing.workspace = true diff --git a/crates/artifacts/solc/src/lib.rs b/crates/artifacts/solc/src/lib.rs index 83f9c4b04..a5e2b2706 100644 --- a/crates/artifacts/solc/src/lib.rs +++ b/crates/artifacts/solc/src/lib.rs @@ -9,7 +9,6 @@ extern crate tracing; use semver::Version; use serde::{de::Visitor, Deserialize, Deserializer, Serialize, Serializer}; -use serde_repr::{Deserialize_repr, Serialize_repr}; use std::{ collections::{BTreeMap, HashSet}, fmt, @@ -272,16 +271,6 @@ pub struct Settings { /// If this key is an empty string, that refers to a global level. #[serde(default)] pub libraries: Libraries, - /// Specify EOF version to produce. - #[serde(default, skip_serializing_if = "Option::is_none")] - pub eof_version: Option, -} - -/// Available EOF versions. -#[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize_repr, Deserialize_repr)] -#[repr(u8)] -pub enum EofVersion { - V1 = 1, } impl Settings { @@ -562,7 +551,6 @@ impl Default for Settings { libraries: Default::default(), remappings: Default::default(), model_checker: None, - eof_version: None, } .with_ast() } diff --git a/crates/compilers/src/compilers/solc/mod.rs b/crates/compilers/src/compilers/solc/mod.rs index e4381aa8c..7a2f166a3 100644 --- a/crates/compilers/src/compilers/solc/mod.rs +++ b/crates/compilers/src/compilers/solc/mod.rs @@ -297,7 +297,6 @@ impl CompilerSettings for SolcSettings { via_ir, debug, libraries, - eof_version, }, .. } = self; @@ -311,7 +310,6 @@ impl CompilerSettings for SolcSettings { && *via_ir == other.settings.via_ir && *debug == other.settings.debug && *libraries == other.settings.libraries - && *eof_version == other.settings.eof_version && output_selection.is_subset_of(&other.settings.output_selection) }