Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ jobs:
with:
command: test
args: --verbose --release --all --all-features --exclude integration-tests --exclude circuit-benchmarks serial_ -- --ignored --test-threads 1
- name: Run testool internal tests
uses: actions-rs/cargo@v1
with:
command: test
args: --release --manifest-path testool/Cargo.toml

build:
needs: [skip_check]
Expand Down
2 changes: 1 addition & 1 deletion testool/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ strum_macros = "0.24"
thiserror = "1.0"
toml = "0.5"
yaml-rust = "0.4.5"
zkevm-circuits = { path="../zkevm-circuits", features=["test-util"] }
zkevm-circuits = { path="../zkevm-circuits", features=["test-util", "test-circuits"] }
rand_chacha = "0.3"
rand = "0.8"
halo2_proofs = { git = "https://github.com/privacy-scaling-explorations/halo2.git", tag = "v2023_04_20" }
Expand Down
9 changes: 8 additions & 1 deletion testool/src/compiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,14 @@ impl Compiler {
let compiler_input = CompilerInput::new_default(language, src);

let stdout = Self::exec(
&["run", "-i", "--rm", "solc", "--standard-json", "-"],
&[
"run",
"-i",
"--rm",
"ethereum/solc:stable",
"--standard-json",
"-",
],
serde_json::to_string(&compiler_input).unwrap().as_str(),
)?;
let mut compilation_result: CompilationResult = serde_json::from_str(&stdout)?;
Expand Down