Skip to content

Commit

Permalink
chore(deps): bump foundry-compilers (#8535)
Browse files Browse the repository at this point in the history
chore(deps): bump compilers
  • Loading branch information
klkvr authored Jul 26, 2024
1 parent 0ade1fd commit df5f45c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 22 deletions.
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ foundry-linking = { path = "crates/linking" }

# solc & compilation utilities
foundry-block-explorers = { version = "0.5.1", default-features = false }
foundry-compilers = { version = "0.10.0", default-features = false }
foundry-compilers = { version = "0.10.1", default-features = false }
foundry-fork-db = "0.2"
solang-parser = "=0.3.3"

Expand Down
9 changes: 0 additions & 9 deletions crates/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,11 +400,6 @@ pub struct Config {
/// This includes what operations can be executed (read, write)
pub fs_permissions: FsPermissions,

/// Temporary config to enable [SpecId::PRAGUE]
///
/// Should be removed once EvmVersion Prague is supported by solc
pub prague: bool,

/// Whether to enable call isolation.
///
/// Useful for more correct gas accounting and EVM behavior in general.
Expand Down Expand Up @@ -915,9 +910,6 @@ impl Config {
/// Returns the [SpecId] derived from the configured [EvmVersion]
#[inline]
pub fn evm_spec_id(&self) -> SpecId {
if self.prague {
return SpecId::PRAGUE_EOF
}
evm_spec_id(&self.evm_version)
}

Expand Down Expand Up @@ -2042,7 +2034,6 @@ impl Default for Config {
Self {
profile: Self::DEFAULT_PROFILE,
fs_permissions: FsPermissions::new([PathPermission::read("out")]),
prague: false,
#[cfg(not(feature = "isolate-by-default"))]
isolate: false,
#[cfg(feature = "isolate-by-default")]
Expand Down
1 change: 1 addition & 0 deletions crates/config/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ pub fn evm_spec_id(evm_version: &EvmVersion) -> SpecId {
EvmVersion::Paris => SpecId::MERGE,
EvmVersion::Shanghai => SpecId::SHANGHAI,
EvmVersion::Cancun => SpecId::CANCUN,
EvmVersion::Prague => SpecId::PRAGUE_EOF,
}
}

Expand Down
1 change: 0 additions & 1 deletion crates/forge/tests/cli/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ forgetest!(can_extract_config_values, |prj, cmd| {
bind_json: Default::default(),
fs_permissions: Default::default(),
labels: Default::default(),
prague: true,
isolate: true,
unchecked_cheatcode_artifacts: false,
create2_library_salt: Config::DEFAULT_CREATE2_LIBRARY_SALT,
Expand Down

0 comments on commit df5f45c

Please sign in to comment.