Skip to content

Commit

Permalink
re-enable system contract hash check
Browse files Browse the repository at this point in the history
  • Loading branch information
koloz193 committed Dec 20, 2024
1 parent cbf5691 commit 4527f4c
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 131 deletions.
64 changes: 31 additions & 33 deletions .github/workflows/system-contracts-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,36 +141,34 @@ jobs:
- name: Print output logs of era_test_node
if: always()
run: cat era_test_node.log
# FIXME: restore check hashes as it does not
# work in the base branch as well
# check-hashes:
# needs: [build]
# runs-on: ubuntu-latest

# steps:
# - name: Checkout the repository
# uses: actions/checkout@v4

# - name: Use Node.js
# uses: actions/setup-node@v3
# with:
# node-version: 18.18.0
# cache: yarn

# - name: Install dependencies
# run: yarn

# - name: Restore artifacts cache
# uses: actions/cache/restore@v3
# with:
# fail-on-cache-miss: true
# key: artifacts-system-${{ github.sha }}
# path: |
# system-contracts/artifacts-zk
# system-contracts/cache-zk
# system-contracts/typechain
# system-contracts/contracts-preprocessed
# system-contracts/bootloader/build

# - name: Check hashes
# run: yarn sc calculate-hashes:check
check-hashes:
needs: [build]
runs-on: ubuntu-latest

steps:
- name: Checkout the repository
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.18.0
cache: yarn

- name: Install dependencies
run: yarn

- name: Restore artifacts cache
uses: actions/cache/restore@v3
with:
fail-on-cache-miss: true
key: artifacts-system-${{ github.sha }}
path: |
system-contracts/artifacts-zk
system-contracts/cache-zk
system-contracts/typechain
system-contracts/contracts-preprocessed
system-contracts/bootloader/build
- name: Check hashes
run: yarn sc calculate-hashes:check
Loading

0 comments on commit 4527f4c

Please sign in to comment.