Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: compilation restrictions #8668

Merged
merged 15 commits into from
Nov 18, 2024
194 changes: 170 additions & 24 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ foundry-wallets = { path = "crates/wallets" }
foundry-linking = { path = "crates/linking" }

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

Expand Down
4 changes: 2 additions & 2 deletions crates/cast/bin/cmd/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use foundry_compilers::{
artifacts::{ConfigurableContractArtifact, StorageLayout},
compilers::{
solc::{Solc, SolcCompiler},
Compiler, CompilerSettings,
Compiler,
},
Artifact, Project,
};
Expand Down Expand Up @@ -316,7 +316,7 @@ fn print_storage(layout: StorageLayout, values: Vec<StorageValue>, pretty: bool)

fn add_storage_layout_output<C: Compiler>(project: &mut Project<C>) {
project.artifacts.additional_values.storage_layout = true;
project.settings.update_output_selection(|selection| {
project.update_output_selection(|selection| {
selection.0.values_mut().for_each(|contract_selection| {
contract_selection
.values_mut()
Expand Down
Loading
Loading