Skip to content

Commit

Permalink
Merge commit '8b7bf017a605f3ef5f500a09db5296314f1df346' into dev/etan…
Browse files Browse the repository at this point in the history
…/ci-timeouts

* commit '8b7bf017a605f3ef5f500a09db5296314f1df346':
  fix CI archive step (#3752)
  Support displaying the version number in the status bar; Implements #2959 (#3747)
  ci: install cmake on windows in daily job
  Version 22.5.2
  change proposer boost to 40%
  bump merge-testnets to get new ropsten TTD (#3668)
  • Loading branch information
etan-status committed Jun 14, 2022
2 parents 7e21564 + 8b7bf01 commit 2e42153
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 7 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
base-devel
git
mingw-w64-i686-toolchain
mingw-w64-i686-cmake
- name: MSYS2 (Windows amd64)
if: runner.os == 'Windows' && matrix.target.cpu == 'amd64'
Expand All @@ -93,6 +94,7 @@ jobs:
base-devel
git
mingw-w64-x86_64-toolchain
mingw-w64-x86_64-cmake
- name: Restore Nim DLLs dependencies (Windows) from cache
if: runner.os == 'Windows'
Expand Down Expand Up @@ -147,6 +149,7 @@ jobs:
fi
ncpu=""
make_cmd="make"
case '${{ runner.os }}' in
'Linux')
ncpu=$(nproc)
Expand All @@ -156,14 +159,16 @@ jobs:
;;
'Windows')
ncpu=${NUMBER_OF_PROCESSORS}
make_cmd="mingw32-make"
;;
esac
[[ -z "$ncpu" || $ncpu -le 0 ]] && ncpu=1
echo "ncpu=${ncpu}" >> $GITHUB_ENV
echo "make_cmd=${make_cmd}" >> $GITHUB_ENV
- name: Build Nim and Nimbus dependencies
run: |
make -j ${ncpu} NIM_COMMIT=${{ matrix.branch }} ARCH_OVERRIDE=${PLATFORM} QUICK_AND_DIRTY_COMPILER=1 update
${make_cmd} -j ${ncpu} NIM_COMMIT=${{ matrix.branch }} ARCH_OVERRIDE=${PLATFORM} QUICK_AND_DIRTY_COMPILER=1 update
./env.sh nim --version
- name: Get latest fixtures commit hash
Expand All @@ -188,10 +193,10 @@ jobs:
- name: Build all tools
run: |
make -j ${ncpu} V=1 NIM_COMMIT=${{ matrix.branch }}
${make_cmd} -j ${ncpu} V=1 NIM_COMMIT=${{ matrix.branch }}
# The Windows image runs out of disk space, so make some room
rm -rf nimcache
- name: Run tests
run: |
make -j ${ncpu} V=1 NIM_COMMIT=${{ matrix.branch }} DISABLE_TEST_FIXTURES_SCRIPT=1 test
${make_cmd} -j ${ncpu} V=1 NIM_COMMIT=${{ matrix.branch }} DISABLE_TEST_FIXTURES_SCRIPT=1 test
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
2022-05-30 v22.5.2
==================

Nimbus `v22.5.2` is a `low-urgency` maintenance release updating Ropsten testnet support.

### Fixes:

* Modify proposer boost from 70% to 40% to improve network consensus
https://github.com/status-im/nimbus-eth2/commit/14dc3855f6cd06579294322a6ed206f678c8530f

* Update Ropsten TTD to a large enough number it can't be readily triggered by mining
https://github.com/status-im/nimbus-eth2/pull/3668

2022-05-20 v22.5.1
==================

Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def runStages(nodeDir) {
// archive testnet logs
sh """#!/bin/bash
for D in local_testnet0_data local_testnet1_data resttest0_data; do
[[ -d "\$D" ]] && tar czf "\${D}-\${NODE_NAME}.tar.gz "\${D}"/*.txt || true
[[ -d "\$D" ]] && tar czf "\${D}-\${NODE_NAME}.tar.gz" "\${D}"/*.txt || true
done
"""
try {
Expand Down
6 changes: 6 additions & 0 deletions beacon_chain/nimbus_beacon_node.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1568,6 +1568,12 @@ when not defined(windows):
# The status bar feature would allow the user to specify an
# arbitrary expression that is resolvable through this API.
case expr.toLowerAscii
of "version":
versionAsStr

of "full_version":
fullVersionStr

of "connected_peers":
$(node.connectedPeersCount)

Expand Down
4 changes: 2 additions & 2 deletions beacon_chain/version.nim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2021 Status Research & Development GmbH
# Copyright (c) 2018-2022 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).
Expand All @@ -15,7 +15,7 @@ when not defined(nimscript):
const
versionMajor* = 22
versionMinor* = 5
versionBuild* = 1
versionBuild* = 2

versionBlob* = "stateofus" # Single word - ends up in the default graffiti

Expand Down

0 comments on commit 2e42153

Please sign in to comment.