Skip to content

Commit d55cff6

Browse files
klkvrrplusq
authored andcommitted
feat: compilation restrictions (foundry-rs#8668)
* [wip] feat: compilation restrictions * Cargo.lock * update patch * fixes * update patch * update patch * wip * deps * bytecode hash * fixes * rm patches * pub
1 parent 4d1b824 commit d55cff6

File tree

17 files changed

+500
-90
lines changed

17 files changed

+500
-90
lines changed

Cargo.lock

Lines changed: 170 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ foundry-wallets = { path = "crates/wallets" }
168168
foundry-linking = { path = "crates/linking" }
169169

170170
# solc & compilation utilities
171-
foundry-block-explorers = { version = "0.7.3", default-features = false }
172-
foundry-compilers = { version = "0.11.6", default-features = false }
171+
foundry-block-explorers = { version = "0.9.0", default-features = false }
172+
foundry-compilers = { version = "0.12.1", default-features = false }
173173
foundry-fork-db = "0.6.0"
174174
solang-parser = "=0.3.3"
175175

crates/cast/bin/cmd/storage.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use foundry_compilers::{
2323
artifacts::{ConfigurableContractArtifact, StorageLayout},
2424
compilers::{
2525
solc::{Solc, SolcCompiler},
26-
Compiler, CompilerSettings,
26+
Compiler,
2727
},
2828
Artifact, Project,
2929
};
@@ -316,7 +316,7 @@ fn print_storage(layout: StorageLayout, values: Vec<StorageValue>, pretty: bool)
316316

317317
fn add_storage_layout_output<C: Compiler>(project: &mut Project<C>) {
318318
project.artifacts.additional_values.storage_layout = true;
319-
project.settings.update_output_selection(|selection| {
319+
project.update_output_selection(|selection| {
320320
selection.0.values_mut().for_each(|contract_selection| {
321321
contract_selection
322322
.values_mut()

0 commit comments

Comments
 (0)