Skip to content

Commit

Permalink
2.3.0 release updates (#12329)
Browse files Browse the repository at this point in the history
2.3.0

Set the voting date for mainnet protocol 72 to November 5th.

Cherry pick two changes to fixing fuzzing infrastructure issues:

#12184
#12274

---------

Co-authored-by: Andrei <[email protected]>
  • Loading branch information
marcelo-gonzalez and andrei-near authored Oct 30, 2024
1 parent 726cdba commit cf41c79
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 100 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/master_fuzzer_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
build_fuzzers:
name: Build Fuzzers
runs-on: "ubuntu-20.04-32core"
runs-on: "ubuntu-22.04-16core"

permissions:
contents: "read"
Expand Down Expand Up @@ -39,10 +39,12 @@ jobs:
crate: cargo-bolero
# TODO: remove the below once https://github.com/camshaft/bolero/pull/195 is released on crates.io
# and https://github.com/camshaft/bolero/pull/196 has a proper fix
git: https://github.com/Ekleog-NEAR/bolero
rev: 56da8e6d1d018519a30b36d85d3a53fe35a42eaf
git: https://github.com/near/bolero
rev: 1b43f78f25009695493b0e5fb72f9f82d1905845

- run: rustup target add --toolchain nightly wasm32-unknown-unknown
- run: |
rustup target add --toolchain nightly wasm32-unknown-unknown
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
- name: "Set up GCP SDK"
uses: "google-github-actions/setup-gcloud@v1"
Expand All @@ -52,6 +54,5 @@ jobs:
- name: "Compile fuzzers and upload to GCS"
run: |
NAME="nearcore-${{ github.ref_name }}-$(env TZ=Etc/UTC date +"%Y%m%d%H%M%S")"
# Our Clusterfuzz setup currently (2024-02) runs on Cascade Lake CPUs
RUSTFLAGS="--cfg fuzz -C target-cpu=cascadelake" cargo +nightly bolero build-clusterfuzz --all-features --profile fuzz
RUSTFLAGS="--cfg fuzz" cargo +nightly bolero build-clusterfuzz --all-features --profile fuzz
gsutil cp -Z target/fuzz/clusterfuzz.tar "gs://nearone_fuzzer_targets/${{ github.ref_name }}/$NAME.tar.gz"
6 changes: 4 additions & 2 deletions .github/workflows/ondemand_fuzzer_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
jobs:
build_fuzzers:
name: Build Fuzzers
runs-on: "ubuntu-20.04-32core"
runs-on: "ubuntu-22.04-16core"

permissions:
contents: "read"
Expand Down Expand Up @@ -65,7 +65,9 @@ jobs:
git: https://github.com/Ekleog-NEAR/bolero
rev: 56da8e6d1d018519a30b36d85d3a53fe35a42eaf

- run: rustup target add --toolchain nightly wasm32-unknown-unknown
- run: |
rustup target add --toolchain nightly wasm32-unknown-unknown
rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu
- name: "Set up GCP SDK"
uses: "google-github-actions/setup-gcloud@v2"
Expand Down
Loading

0 comments on commit cf41c79

Please sign in to comment.