diff --git a/check/src/project.rs b/check/src/project.rs index 160bedd..8ea07ab 100644 --- a/check/src/project.rs +++ b/check/src/project.rs @@ -57,10 +57,6 @@ pub fn build_dylib(cfg: BuildConfig) -> Result { let mut cmd = sys::new_command("cargo"); - // if !cfg.stable { - // cmd.arg("+nightly"); - // } - cmd.arg("build"); cmd.arg("--lib"); @@ -208,9 +204,6 @@ pub fn extract_toolchain_channel(toolchain_file_path: &PathBuf) -> Result, cfg: BuildConfig) -> Result<[u8; 32]> { let mut keccak = Keccak::v256(); let mut cmd = Command::new("cargo"); - // if !cfg.stable { - // cmd.arg("+nightly"); - // } cmd.arg("--version"); let output = cmd .output() diff --git a/check/src/verify.rs b/check/src/verify.rs index 9c55f8b..2cc0084 100644 --- a/check/src/verify.rs +++ b/check/src/verify.rs @@ -54,7 +54,6 @@ pub async fn verify(cfg: VerifyConfig) -> eyre::Result<()> { common_cfg: cfg.common_cfg.clone(), wasm_file: None, contract_address: None, - no_verify: cfg.no_verify, }; let _ = check::check(&check_cfg) .await diff --git a/replay/src/main.rs b/replay/src/main.rs index 1efcea5..79fd1da 100644 --- a/replay/src/main.rs +++ b/replay/src/main.rs @@ -147,7 +147,7 @@ async fn replay(args: ReplayArgs) -> Result<()> { let provider = sys::new_provider(&args.endpoint)?; let trace = Trace::new(provider, args.tx).await?; - build_so(&args.project, args.stable_rust)?; + build_so(&args.project)?; let so = find_so(&args.project)?; // TODO: don't assume the contract is top-level @@ -169,12 +169,9 @@ async fn replay(args: ReplayArgs) -> Result<()> { Ok(()) } -pub fn build_so(path: &Path, stable: bool) -> Result<()> { +pub fn build_so(path: &Path) -> Result<()> { let mut cargo = sys::new_command("cargo"); - if !stable { - // cargo.arg("+nightly"); - } cargo .current_dir(path) .arg("build")