Skip to content
Merged
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
13 changes: 0 additions & 13 deletions crates/common/src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ pub struct ProjectCompiler {
/// The root of the project.
project_root: PathBuf,

/// Whether we are going to verify the contracts after compilation.
verify: Option<bool>,

/// Whether to also print contract names.
print_names: Option<bool>,

Expand Down Expand Up @@ -76,7 +73,6 @@ impl ProjectCompiler {
pub fn new() -> Self {
Self {
project_root: PathBuf::new(),
verify: None,
print_names: None,
print_sizes: None,
quiet: Some(crate::shell::is_quiet()),
Expand All @@ -87,13 +83,6 @@ impl ProjectCompiler {
}
}

/// Sets whether we are going to verify the contracts after compilation.
#[inline]
pub fn verify(mut self, yes: bool) -> Self {
self.verify = Some(yes);
self
}

/// Sets whether to print contract names.
#[inline]
pub fn print_names(mut self, yes: bool) -> Self {
Expand Down Expand Up @@ -505,8 +494,6 @@ pub struct ContractInfo {
///
/// If `quiet` no solc related output will be emitted to stdout.
///
/// If `verify` and it's a standalone script, throw error. Only allowed for projects.
///
/// **Note:** this expects the `target_path` to be absolute
pub fn compile_target<C: Compiler<CompilerContract = Contract>>(
target_path: &Path,
Expand Down
Loading