From 1c5aa75d60a449e421e0b55d795852df7a59d20c Mon Sep 17 00:00:00 2001 From: dante <45801863+alexander-camuto@users.noreply.github.com> Date: Sat, 25 Feb 2023 15:01:16 +0000 Subject: [PATCH] fix: prove + verify transcript defaults should match (#115) --- .github/workflows/rust.yml | 8 ++++---- src/commands.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 56923839e..c27c8ecd7 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -130,7 +130,7 @@ jobs: prove-and-verify-aggr-tests: - runs-on: ubuntu-latest-16-cores + runs-on: self-hosted steps: - uses: actions/checkout@v3 with: @@ -142,11 +142,11 @@ jobs: components: rustfmt, clippy - name: KZG prove and verify aggr tests - run: cargo test --release --verbose tests_aggr::kzg_aggr_prove_and_verify_ -- --test-threads 1 + run: cargo test --release --verbose tests_aggr::kzg_aggr_prove_and_verify_ -- --test-threads 2 prove-and-verify-evm-aggr-tests: - runs-on: ubuntu-latest-16-cores + runs-on: self-hosted steps: - uses: actions/checkout@v3 with: @@ -159,7 +159,7 @@ jobs: - name: Install solc run: (hash svm 2>/dev/null || cargo install svm-rs) && svm install 0.8.17 && solc --version - name: KZG prove and verify aggr tests - run: cargo test --release --verbose tests_evm::kzg_evm_aggr_prove_and_verify_ -- --test-threads 1 --include-ignored + run: cargo test --release --verbose tests_evm::kzg_evm_aggr_prove_and_verify_ -- --test-threads 2 --include-ignored examples: diff --git a/src/commands.rs b/src/commands.rs index 954826cbb..d4c44ade8 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -256,7 +256,7 @@ pub enum Commands { long, require_equals = true, num_args = 0..=1, - default_value_t = TranscriptType::EVM, + default_value_t = TranscriptType::Blake, value_enum )] transcript: TranscriptType,