mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 13:56:23 +00:00
use GitHub Actions cache and upload-artifact v3 (#4516)
This commit is contained in:
parent
05a6c6280d
commit
9b0868033e
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -68,7 +68,7 @@ jobs:
|
||||
- name: Restore Nim DLLs dependencies (Windows) from cache
|
||||
if: runner.os == 'Windows'
|
||||
id: windows-dlls-cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: external/dlls-${{ matrix.target.cpu }}
|
||||
key: 'dlls-${{ matrix.target.cpu }}'
|
||||
@ -159,7 +159,7 @@ jobs:
|
||||
|
||||
- name: Restore Ethereum Foundation fixtures from cache
|
||||
id: fixtures-cache
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: fixturesCache
|
||||
key: 'eth2-scenarios-${{ steps.fixtures_version.outputs.fixtures }}'
|
||||
@ -182,7 +182,7 @@ jobs:
|
||||
# The upload creates a combined report that gets posted as a comment on the PR
|
||||
# https://github.com/EnricoMi/publish-unit-test-result-action
|
||||
- name: Upload combined results
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Unit Test Results ${{ matrix.target.os }}-${{ matrix.target.cpu }}
|
||||
path: build/*.xml
|
||||
@ -193,7 +193,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Upload
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Event File
|
||||
path: ${{ github.event_path }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
# beacon_chain
|
||||
# Copyright (c) 2020-2022 Status Research & Development GmbH
|
||||
# Copyright (c) 2020-2023 Status Research & Development GmbH
|
||||
# Licensed and distributed under either of
|
||||
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
|
||||
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
|
||||
@ -25,12 +25,12 @@ export base, deques, sets, blockchain_dag
|
||||
logScope: topics = "exitpool"
|
||||
|
||||
const
|
||||
ATTESTER_SLASHINGS_BOUND* = MAX_ATTESTER_SLASHINGS * 4
|
||||
PROPOSER_SLASHINGS_BOUND* = MAX_PROPOSER_SLASHINGS * 4
|
||||
VOLUNTARY_EXITS_BOUND* = MAX_VOLUNTARY_EXITS * 4
|
||||
ATTESTER_SLASHINGS_BOUND = MAX_ATTESTER_SLASHINGS * 4
|
||||
PROPOSER_SLASHINGS_BOUND = MAX_PROPOSER_SLASHINGS * 4
|
||||
VOLUNTARY_EXITS_BOUND = MAX_VOLUNTARY_EXITS * 4
|
||||
|
||||
type
|
||||
OnVoluntaryExitCallback* =
|
||||
OnVoluntaryExitCallback =
|
||||
proc(data: SignedVoluntaryExit) {.gcsafe, raises: [Defect].}
|
||||
|
||||
ExitPool* = object
|
||||
|
Loading…
x
Reference in New Issue
Block a user