Skip to content

Commit 67b7a82

Browse files
committed
remove eof version field
1 parent 33ff5ea commit 67b7a82

File tree

2 files changed

+0
-13
lines changed
  • crates

2 files changed

+0
-13
lines changed

crates/artifacts/solc/src/lib.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -272,16 +272,6 @@ pub struct Settings {
272272
/// If this key is an empty string, that refers to a global level.
273273
#[serde(default)]
274274
pub libraries: Libraries,
275-
/// Specify EOF version to produce.
276-
#[serde(default, skip_serializing_if = "Option::is_none")]
277-
pub eof_version: Option<EofVersion>,
278-
}
279-
280-
/// Available EOF versions.
281-
#[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize_repr, Deserialize_repr)]
282-
#[repr(u8)]
283-
pub enum EofVersion {
284-
V1 = 1,
285275
}
286276

287277
impl Settings {
@@ -562,7 +552,6 @@ impl Default for Settings {
562552
libraries: Default::default(),
563553
remappings: Default::default(),
564554
model_checker: None,
565-
eof_version: None,
566555
}
567556
.with_ast()
568557
}

crates/compilers/src/compilers/solc/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ impl CompilerSettings for SolcSettings {
297297
via_ir,
298298
debug,
299299
libraries,
300-
eof_version,
301300
},
302301
..
303302
} = self;
@@ -311,7 +310,6 @@ impl CompilerSettings for SolcSettings {
311310
&& *via_ir == other.settings.via_ir
312311
&& *debug == other.settings.debug
313312
&& *libraries == other.settings.libraries
314-
&& *eof_version == other.settings.eof_version
315313
&& output_selection.is_subset_of(&other.settings.output_selection)
316314
}
317315

0 commit comments

Comments
 (0)