-
Notifications
You must be signed in to change notification settings - Fork 376
feat: Release v28 #1473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
feat: Release v28 #1473
Conversation
…cmul and ecpairing
Co-authored-by: Vlad Bochok <[email protected]>
Merge release-v27 into ec precompiles
Mmzk remerge v27
chore: Merge V27 in dev
Co-authored-by: Vladislav Volosnikov <[email protected]>
Merging new changes from v28
feat: Add ec precompiles in V28
Fixed hashes, calculated with correct Foundry version. Added check of Foundry version to recompute_hashes.sh.
… add new commands in system-contracts
…ase-v27 Sync draft-v28 with release-v27
chore: Merge main in dev
Co-authored-by: Raid Ateir <[email protected]> Co-authored-by: Raid5594 <[email protected]>
Co-authored-by: koloz <[email protected]>
…ith-upgrades Add test for the default upgrade with gateway
feat: add fast building
Co-authored-by: Raid Ateir <[email protected]> Co-authored-by: Raid5594 <[email protected]>
run: yarn | ||
|
||
- name: Run lint | ||
run: yarn lint:check | ||
|
||
# FIXME: recover when used multivm is updated | ||
# test-bootloader: | ||
# needs: [build, lint] | ||
# runs-on: ubuntu-latest | ||
|
||
# steps: | ||
# - name: Checkout the repository | ||
# uses: actions/checkout@v4 | ||
|
||
# - name: Install rust | ||
# uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
# with: | ||
# toolchain: nightly-2024-08-01 | ||
|
||
# - name: Restore artifacts cache | ||
# uses: actions/cache/restore@v3 | ||
# with: | ||
# fail-on-cache-miss: true | ||
# key: artifacts-system-${{ github.sha }} | ||
# path: | | ||
# system-contracts/zkout | ||
# system-contracts/cache-forge | ||
# system-contracts/bootloader/build | ||
# system-contracts/artifacts-zk | ||
# system-contracts/cache-zk | ||
# system-contracts/typechain | ||
# system-contracts/contracts-preprocessed | ||
|
||
# - name: Run bootloader tests | ||
# run: | | ||
# cd system-contracts/bootloader/test_infra | ||
# cargo run | ||
test-bootloader: | ||
needs: [build, lint] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install rust | ||
uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
toolchain: nightly-2024-08-01 | ||
|
||
- name: Restore artifacts cache | ||
uses: actions/cache/restore@v3 | ||
with: | ||
fail-on-cache-miss: true | ||
key: artifacts-system-${{ github.sha }} | ||
path: | | ||
system-contracts/zkout | ||
system-contracts/cache-forge | ||
system-contracts/bootloader/build | ||
system-contracts/artifacts-zk | ||
system-contracts/cache-zk | ||
system-contracts/typechain | ||
system-contracts/contracts-preprocessed | ||
l1-contracts/zkout |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 11 days ago
To fix the issue, we will add a permissions
key at the workflow level to define the least privileges required for all jobs. Based on the actions used in the workflow:
contents: read
is sufficient for most steps, such asactions/checkout
andactions/cache
.- No write permissions are required since the workflow does not modify repository contents or interact with features like issues or pull requests.
The permissions
key will be added at the top level of the workflow to apply to all jobs.
-
Copy modified lines R6-R8
@@ -5,2 +5,5 @@ | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: |
What ❔
Contract changes required for protocol version v28. Some key highlights are:
ecadd
,ecmul
,ecpairing
, andmodexp
Why ❔
Moving from solidity based implementations to precompiles boosts the performance of these operations when run in our zkvm.
Checklist