Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into shanghai/eip-3855-p…
Browse files Browse the repository at this point in the history
…ush0
  • Loading branch information
silathdiir committed Jul 20, 2023
2 parents c2df1cb + 26bf6ba commit 5b6250f
Show file tree
Hide file tree
Showing 242 changed files with 10,852 additions and 8,441 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,18 @@ on:
push:
branches:
- main
workflow_dispatch:
workflow_dispatch:
inputs:
provertype:
description: 'invoke real vs mock prover'
description: 'invoke real vs mock prover (with or without root)'
required: true
default: 'mock_prover'
default: 'sub_mock_prover'
type: choice
options:
- real_prover
- mock_prover
- sub_real_prover
- sub_mock_prover
- root_mock_prover
- root_real_prover

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -36,12 +38,18 @@ jobs:
- id: set-outputs
name: Select instance and prover type
run: |
if [ "${{ github.event.inputs.provertype }}" = "real_prover" ] || [ "${{ github.event_name }}" = "schedule" ]; then
if [ "${{ github.event.inputs.provertype }}" = "root_real_prover" ] || [ "${{ github.event_name }}" = "schedule" ]; then
echo "instancetype=r6i.32xlarge" >> "$GITHUB_OUTPUT"
echo "provertype=real_prover" >> "$GITHUB_OUTPUT"
elif [ "${{ github.event.inputs.provertype }}" = "mock_prover" ] || [ -z ${{ github.event.inputs.provertype }} ]; then
echo "provertype=root_real_prover" >> "$GITHUB_OUTPUT"
elif [ "${{ github.event.inputs.provertype }}" = "root_mock_prover" ]; then
echo "instancetype=r6i.32xlarge" >> "$GITHUB_OUTPUT"
echo "provertype=root_mock_prover" >> "$GITHUB_OUTPUT"
elif [ "${{ github.event.inputs.provertype }}" = "sub_real_prover" ]; then
echo "instancetype=r6i.32xlarge" >> "$GITHUB_OUTPUT"
echo "provertype=sub_real_prover" >> "$GITHUB_OUTPUT"
elif [ "${{ github.event.inputs.provertype }}" = "sub_mock_prover" ] || [ -z ${{ github.event.inputs.provertype }} ]; then
echo "instancetype=c5.9xlarge" >> "$GITHUB_OUTPUT"
echo "provertype=mock_prover" >> "$GITHUB_OUTPUT"
echo "provertype=sub_mock_prover" >> "$GITHUB_OUTPUT"
else
exit 1
fi
Expand Down Expand Up @@ -73,7 +81,7 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Cargo cache
uses: actions/cache@v3
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
Expand All @@ -82,7 +90,7 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
# Run an initial build in a separate step to split the build time from execution time
# Run an initial build in a separate step to split the build time from execution time
- name: Build bins
run: cargo build --bin gen_blockchain_data
- name: Build tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
- zkevm-circuits
feature:
- default
- test
- test-circuits
- test-util
- warn-unimplemented
steps:
- uses: actions/checkout@v2
Expand Down
Loading

0 comments on commit 5b6250f

Please sign in to comment.