Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion crates/artifacts/solc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 0 additions & 12 deletions crates/artifacts/solc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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<EofVersion>,
}

/// Available EOF versions.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize_repr, Deserialize_repr)]
#[repr(u8)]
pub enum EofVersion {
V1 = 1,
}

impl Settings {
Expand Down Expand Up @@ -562,7 +551,6 @@ impl Default for Settings {
libraries: Default::default(),
remappings: Default::default(),
model_checker: None,
eof_version: None,
}
.with_ast()
}
Expand Down
2 changes: 0 additions & 2 deletions crates/compilers/src/compilers/solc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ impl CompilerSettings for SolcSettings {
via_ir,
debug,
libraries,
eof_version,
},
..
} = self;
Expand All @@ -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)
}

Expand Down
Loading