Skip to content
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

Main project merge Aug 27th #2

Merged
merged 109 commits into from
Aug 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
49e4fd8
fix parent world state is not available issue on bonsai (#4069)
matkt Jul 7, 2022
93b8770
After merge add a rule to check that the current block is more recent…
fab-10 Jul 8, 2022
08fedc6
Fix transition protocol schedule (#4078)
fab-10 Jul 8, 2022
a60a286
no need to register peers connect/disconnect for Snap as well (#4073)
macfarla Jul 10, 2022
1a62d2a
3943 stop blocks on finalized (#4058)
jflo Jul 11, 2022
750580d
New payload: add invalid to bad blocks (#4080)
daniellehrner Jul 11, 2022
e97ed8d
host header parse error (#4083)
jflo Jul 12, 2022
b85b39d
Revert "Add terminal block hash and number to Ropsten genesis file (#…
fab-10 Jul 13, 2022
a1af83b
Backward sync exception improvements (#4092)
fab-10 Jul 13, 2022
211015e
Finalised blocks should not prevent reorgs in BWS (#4097)
gezero Jul 14, 2022
823e6c8
delegate all the block checks and validation to the block import phas…
fab-10 Jul 14, 2022
2c26259
Ignore 2 tests that assume that the system language is English, if th…
daniellehrner Jul 14, 2022
94e6541
Fix PR 4098 (#4106)
fab-10 Jul 14, 2022
0d1d36a
log execution errors at right level, stops transition message propaga…
jflo Jul 14, 2022
2827379
Add experimental config option to enable v5 discovery (#4103)
Gabriel-Trintinalia Jul 15, 2022
5f69d53
Move Taccat to Emeritus (#4033)
shemnon Jul 15, 2022
b25d6d8
Remove hash to append from the queue only if the step succeeds (#4105)
fab-10 Jul 15, 2022
45ce87e
Create backward sync retries on demand (#4095)
fab-10 Jul 15, 2022
f885c46
Update checkpoint sync for merge (#4085)
matkt Jul 15, 2022
e48b73b
post-merge sync and peering fix (#4116)
garyschulte Jul 18, 2022
ac3e075
Check status of block propagation manager before starting or stopping…
daniellehrner Jul 18, 2022
3ce7f0f
candidate fix for missing parent worldstate (#4094)
matkt Jul 18, 2022
a08ee36
Make JsonRpcHttpService to not attend requests in order (#4099)
diega Jul 18, 2022
915854c
Update RocksDB default block cache size (#4132)
ahamlat Jul 19, 2022
0ca45f3
alternative malloc implementation - jemalloc (#4126)
garyschulte Jul 19, 2022
b7877be
Useful response improves reputation (#4130)
pinges Jul 20, 2022
86197c4
increase the default max message size for p2p messages (#4120)
pinges Jul 20, 2022
e139860
logging additions for better engine visibility (#4136)
garyschulte Jul 20, 2022
359c6f2
22.7.0 CHANGELOG.md (#4137)
shemnon Jul 20, 2022
02d8345
22.7.0-RC2 release (#4138)
shemnon Jul 20, 2022
8eb22bb
Prep 22.7.0 release (#4139)
shemnon Jul 20, 2022
1dd7357
Allow creating the Trie Log Layer objects outside of its package (#4096)
gezero Jul 21, 2022
d0c71c3
Remove Sonar Integration (#4135)
shemnon Jul 21, 2022
60895a8
Peering logging (#4142)
macfarla Jul 21, 2022
de91d31
logging changes for peering (#4145)
pinges Jul 22, 2022
be133b8
fix 1 byte long disconnect reason (#4150)
pinges Jul 22, 2022
059af01
filter out the periodic log message "Refreshing DNS records with ..."…
daniellehrner Jul 22, 2022
b7cea68
move some easy build jobs (DCO, Spotless) over to github (#4161)
atoulme Jul 25, 2022
9799887
Fix post merge chain reog with invalid block (#4131)
daniellehrner Jul 26, 2022
0a2d805
Change expiration for JWT authentification of engine port to 60 secon…
daniellehrner Jul 26, 2022
e0b4d88
add goerli ttd (#4160)
garyschulte Jul 26, 2022
01d077b
add sepolia mergeNetSplit block (#4158)
garyschulte Jul 26, 2022
eabbea6
limit engine-api info logging (#4156)
garyschulte Jul 26, 2022
ebfdab1
Fixed desired gas limit setting in the reference tests service (#4170)
Filter94 Jul 26, 2022
1400646
4169 dont recurse (#4171)
jflo Jul 27, 2022
f838572
separate dco from spotless, make dco only run for pull requests. Run …
atoulme Jul 27, 2022
f05b45d
Add mechanism to retrieve missing blocks (#4175)
Gabriel-Trintinalia Jul 27, 2022
604855e
22.7.0-RC3 release (#4180)
garyschulte Jul 27, 2022
d2418bf
Prepare for version 22.7.1-SNAPSHOT (#4181)
garyschulte Jul 27, 2022
b02653a
Switching info to trace on several noisey logs during sync. (#4185)
non-fungible-nelson Jul 27, 2022
93da04c
Allow to set any value for baseFeePerGas in the genesis file (#4177)
fab-10 Jul 28, 2022
3913174
Print warning for deprecated testnets (#4173)
daniellehrner Jul 28, 2022
962c805
Accept empty header set in range headers validation (#4189)
shemnon Jul 28, 2022
049d234
upgrade spotless to 6.8.0 (#4195)
atoulme Jul 29, 2022
0d7eaf1
Upgrade gradle to 7.5, silence the welcome message (#4196)
atoulme Jul 29, 2022
9b2fcde
Panda print only when crossing TTD the first time (#4194)
garyschulte Jul 29, 2022
992534e
Only stop block propagation, not tx handling. (#4186)
jflo Jul 29, 2022
826648b
Feature/engine api override (#4190)
garyschulte Jul 31, 2022
7c29709
fix optional handling and mergeContext mock in unit test for EngineEx…
garyschulte Aug 2, 2022
e1c8eb7
applies merge filtering to peers after 2 finalized (#4124)
jflo Aug 2, 2022
42cfff0
DNS peers handled the same as boot nodes (#4178)
pinges Aug 2, 2022
b1bff9c
fix enr request order (#4179)
matkt Aug 3, 2022
721638d
revert for now (#4210)
garyschulte Aug 3, 2022
6eaa5b5
Release 22.7.0 (#4213)
shemnon Aug 3, 2022
e87482a
update for next release (#4214)
shemnon Aug 3, 2022
4924479
Apply RocksDB LZ4 compression and compare the performance/resource me…
ahamlat Aug 3, 2022
ebdb19a
Increase Gradle max heap size (#4207)
diega Aug 4, 2022
80ab648
typo (#4217)
macfarla Aug 4, 2022
98dc2ac
Upgrade Web3J (#3752)
diega Aug 4, 2022
8f89580
Fix ConcurrentModificationException on ReattemptPendingPeerRequests (…
Gabriel-Trintinalia Aug 4, 2022
b02ae70
Log unexpected exceptions in execution engine rpc (#4222)
siladu Aug 5, 2022
ca9a076
correct fallback ttd to correct value (#4223)
daniellehrner Aug 7, 2022
95d9626
Enclave public key length constraint removed for private transactions…
freemanzMrojo Aug 8, 2022
37e0e04
lower bound peer limit (#4200)
macfarla Aug 9, 2022
f43b9ad
remove MergeUnfinalizedRule since consensus layer should be allowed t…
garyschulte Aug 9, 2022
bd9b98c
fix for fast sync regression on post-merge networks (#4224)
garyschulte Aug 9, 2022
1f5c312
quieten DynamicPivotBlockManager (#4241)
garyschulte Aug 10, 2022
9d476ea
Introduce a cap to reputation score increase (#4230)
fab-10 Aug 10, 2022
f847ead
Improve pending blocks retrieval mechanism (#4227)
Gabriel-Trintinalia Aug 12, 2022
d296850
Simplify Trie Dependencies (#4259)
shemnon Aug 16, 2022
e0d4da2
Fix off-by-one error in AbstractRetryingPeerTask (#4254)
fab-10 Aug 16, 2022
1807833
getProof encoding fix for 4249 (#4261)
garyschulte Aug 16, 2022
63331cd
Block prop on first final (#4265)
jflo Aug 17, 2022
113bd54
make obvious when a breach of protocol is logged, add peer in some pl…
pinges Aug 18, 2022
60b806c
Gradle repository maintenance (#4273)
shemnon Aug 18, 2022
cdeecf3
Bugfix/clique post merge fast sync (#4276)
garyschulte Aug 18, 2022
1d508ba
Panda prove ments (#4267)
jflo Aug 18, 2022
ded0239
implement tentative mainnet TTD (#4260)
garyschulte Aug 18, 2022
3a2aeab
Refactor and fix retrying get block switching peer (#4256)
fab-10 Aug 18, 2022
e0d554b
Update Paris Block Definition (#4277)
shemnon Aug 19, 2022
2b8b4db
Reduce megamorphic call sites in AbstractCallOperation (#4288)
shemnon Aug 22, 2022
332ca41
upreved to new snapshot (#4291)
jflo Aug 22, 2022
98e214c
ignore the tests that use tessera enclave via docker (#4297)
macfarla Aug 23, 2022
465d7f2
Use Blake2bf native implementation if available by default (#4264)
fab-10 Aug 23, 2022
dcb951e
Better management of jemalloc presence/absence (#4237)
fab-10 Aug 23, 2022
16922ca
turn down logging (#4299)
macfarla Aug 23, 2022
b3b8e0a
Filter out disconnected peers when fetching available peers (#4269)
fab-10 Aug 23, 2022
13b777f
Reinstate Tessera tests with a fixed version (#4303)
macfarla Aug 23, 2022
e5e6a67
interpret an empty string (0x80) as an unsigned byte of 0 (#4283)
pinges Aug 23, 2022
80b7950
create AbstractJsonRpcTest for better code reuse in other similar tes…
jpnovais Aug 24, 2022
4622cf6
update Tessera version and ubuntu for xl-machine-executor (#4305)
macfarla Aug 24, 2022
44987b0
small variables renaming in AbstractJsonRpcTest (#4308)
jpnovais Aug 25, 2022
c0af961
moved 4279 to 22.7.2 (#4309)
macfarla Aug 25, 2022
a44cb1c
Update fast-sync-min-peers default value for post merge (#4298)
matkt Aug 25, 2022
d438b1a
update docker version on quorum ats executor (#4306)
macfarla Aug 25, 2022
b257791
Reducing verbosity during BWS errors (#4311)
gezero Aug 26, 2022
c5ae9f5
changes MergeCoordinator fields to protected to allow extension; (#4287)
jpnovais Aug 26, 2022
c321a85
Log imported block info post merge (#4310)
fab-10 Aug 26, 2022
af65c86
Retry mechanism when getting a broadcasted block fail on all peers (#…
fab-10 Aug 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 8 additions & 36 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ executors:
quorum_ats_executor:
docker:
- image: cimg/openjdk:11.0
resource_class: large
resource_class: xlarge
working_directory: ~/project
environment:
GRADLE_OPTS: -Dorg.gradle.daemon=false

xl_machine_executor:
machine:
image: ubuntu-2004:202101-01
image: ubuntu-2004:202201-02 #Ubuntu 20.04, Docker v20.10.12, Docker Compose v1.29.2, Google Cloud SDK updates
resource_class: xlarge

trivy_executor:
Expand All @@ -66,7 +66,7 @@ commands:
name: Install Packages - LibSodium, nssdb
command: |
sudo apt-get update
sudo apt-get install -y libsodium23 libsodium-dev apt-transport-https haveged libnss3-tools
sudo apt-get install -y libsodium23 libsodium-dev libjemalloc-dev apt-transport-https haveged libnss3-tools
sudo service haveged restart
- restore_gradle_cache
restore_gradle_cache:
Expand Down Expand Up @@ -137,24 +137,6 @@ jobs:
destination: distributions
when: always

dco:
executor: besu_executor_small
steps:
- checkout
- restore_gradle_cache
- run:
name: DCO check
command: |
./scripts/dco_check.sh
spotless:
executor: besu_executor_small
steps:
- checkout
- restore_gradle_cache
- run:
name: Spotless
command: |
./gradlew --no-daemon --parallel clean spotlessCheck
testWindows:
executor: win/default
steps:
Expand Down Expand Up @@ -212,11 +194,6 @@ jobs:
command: |
./gradlew --no-daemon build
- capture_test_results
# Temporarily disabled
# - run:
# name: SonarQube
# no_output_timeout: 30m
# command: ./gradlew --no-daemon jacocoRootReport sonarqube -Dsonar.login=$SONAR_TOKEN

integrationTests:
executor: xl_machine_executor
Expand Down Expand Up @@ -280,7 +257,9 @@ jobs:
steps:
- attach_workspace:
at: ~/project
- setup_remote_docker
- setup_remote_docker:
version: 20.10.14
docker_layer_caching: true
- run:
name: Quorum Acceptance Tests
no_output_timeout: 30m
Expand Down Expand Up @@ -404,16 +383,9 @@ workflows:
version: 2
default:
jobs:
- dco
- spotless
- assemble:
requires:
- dco
- spotless
- assemble
- unitTests:
# Temporarily disabled
# context: SonarCloud
requires:
requires:
- assemble
- testWindows:
requires:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: checks
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:

jobs:
spotless:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 11
cache: gradle
- name: spotless
run: ./gradlew --no-daemon --parallel clean spotlessCheck
19 changes: 19 additions & 0 deletions .github/workflows/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: dco
on:
pull_request:
workflow_dispatch:

jobs:
dco:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Get PR Commits
id: 'get-pr-commits'
uses: tim-actions/get-pr-commits@v1.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: DCO Check
uses: tim-actions/dco@v1.1.0
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
41 changes: 0 additions & 41 deletions .github/workflows/sonarcloud.yml

This file was deleted.

100 changes: 98 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,106 @@
# Changelog

## 22.7.2

### Additions and Improvements
- Upgrade besu-native to 0.6.0 and use Blake2bf native implementation if available by default [#4264](https://github.com/hyperledger/besu/pull/4264)
- Better management of jemalloc presence/absence in startup script [#4237](https://github.com/hyperledger/besu/pull/4237)
- Retry mechanism when getting a broadcasted block fail on all peers [#4271](https://github.com/hyperledger/besu/pull/4271)
- Filter out disconnected peers when fetching available peers [#4269](https://github.com/hyperledger/besu/pull/4269)
- Updated the default value of fast-sync-min-peers post merge [#4298](https://github.com/hyperledger/besu/pull/4298)
- Log imported block info post merge [#4310](https://github.com/hyperledger/besu/pull/4310)

### Bug Fixes
- Accept wit/80 from Nethermind [#4279](https://github.com/hyperledger/besu/pull/4279)


## 22.7.1

### Additions and Improvements
- Introduce a cap to reputation score increase [#4230](https://github.com/hyperledger/besu/pull/4230)
- Add experimental CLI option for `--Xp2p-peer-lower-bound` [#4200](https://github.com/hyperledger/besu/pull/4200)
- Improve pending blocks retrieval mechanism [#4227](https://github.com/hyperledger/besu/pull/4227)
- set mainnet terminal total difficulty [#4260](https://github.com/hyperledger/besu/pull/4260)

### Bug Fixes
- Fixes off-by-one error for mainnet TTD fallback [#4223](https://github.com/hyperledger/besu/pull/4223)
- Fix off-by-one error in AbstractRetryingPeerTask [#4254](https://github.com/hyperledger/besu/pull/4254)
- Refactor and fix retrying get block switching peer [#4256](https://github.com/hyperledger/besu/pull/4256)
- Fix encoding of key (short hex) in eth_getProof [#4261](https://github.com/hyperledger/besu/pull/4261)
- Fix for post-merge networks fast-sync [#4224](https://github.com/hyperledger/besu/pull/4224), [#4276](https://github.com/hyperledger/besu/pull/4276)

### Download links
- https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/22.7.1/besu-22.7.1.tar.gz / sha256: `7cca4c11e1d7525c172f2af9fbf456d134ada60e970d8b6abcfcd6c623b5dd36`
- https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/22.7.1/besu-22.7.1.zip / sha256: `ba6e0b9b65ac36d041a5072392f119ff76e8e9f53a3d7b1e1a658ef1e4705d7a`



## 22.7.0

### Additions and Improvements
- Deprecation warning for Ropsten, Rinkeby, Kiln [#4173](https://github.com/hyperledger/besu/pull/4173)

### Bug Fixes

- Fixes previous known issue [#3890](https://github.com/hyperledger/besu/issues/3890)from RC3 requiring a restart post-merge to continue correct transaction handling.
- Stop producing stack traces when a get headers response only contains the range start header [#4189](https://github.com/hyperledger/besu/pull/4189)
- Upgrade Spotless to 6.8.0 [#4195](https://github.com/hyperledger/besu/pull/4195)
- Upgrade Gradle to 7.5 [#4196](https://github.com/hyperledger/besu/pull/4196)

### Download links
- https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/22.7.0/besu-22.7.0.tar.gz / sha256: `af21104a880c37706b660aa816e1c38b2b3f603a97420ddcbc889324b71aa50e`
- https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/22.7.0/besu-22.7.0.zip / sha256: `5b1586362e6e739c206c25224bb753a372bad70c0b22dbe091f9253024ebdc45`

## 22.7.0-RC3

### Known/Outstanding issues:
- Besu requires a restart post-merge to re-enable remote transaction processing [#3890](https://github.com/hyperledger/besu/issues/3890)

### Additions and Improvements
- Engine API: Change expiration time for JWT tokens to 60s [#4168](https://github.com/hyperledger/besu/pull/4168)
- Sepolia mergeNetSplit block [#4158](https://github.com/hyperledger/besu/pull/4158)
- Goerli TTD [#4160](https://github.com/hyperledger/besu/pull/4160)
- Several logging improvements

### Bug Fixes
- Allow to set any value for baseFeePerGas in the genesis file [#4177](https://github.com/hyperledger/besu/pull/4177)
- Fix for stack overflow when searching for TTD block [#4169](https://github.com/hyperledger/besu/pull/4169)
- Fix for chain stuck issue [#4175](https://github.com/hyperledger/besu/pull/4175)

### Download links
- https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/22.7.0-RC3/besu-22.7.0-RC3.tar.gz / sha256: `6a1ee89c82db9fa782d34733d8a8c726670378bcb71befe013da48d7928490a6`
- https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/22.7.0-RC3/besu-22.7.0-RC3.zip / sha256: `5de22445ab2a270cf33e1850cd28f1946442b7104738f0d1ac253a009c53414e`

## 22.7.0-RC2

### Additions and Improvements
- Add a block to the bad blocks if it did not descend from the terminal block [#4080](https://github.com/hyperledger/besu/pull/4080)
- Backward sync exception improvements [#4092](https://github.com/hyperledger/besu/pull/4092)
- Remove block header checks during backward sync, since they will be always performed during block import phase [#4098](https://github.com/hyperledger/besu/pull/4098)
- Optimize the backward sync retry strategy [#4095](https://github.com/hyperledger/besu/pull/4095)
- Add support for jemalloc library to better handle rocksdb memory consumption [#4126](https://github.com/hyperledger/besu/pull/4126)
- RocksDB configuration changes to improve performance. [#4132](https://github.com/hyperledger/besu/pull/4132)

### Bug Fixes
- Changed max message size in the p2p layer to 16.7MB from 10MB to improve peering performance [#4120](https://github.com/hyperledger/besu/pull/4120)
- Fixes for parent stateroot mismatch when using Bonsai storage mode (please report if you encounter this bug on this version) [#4094](https://github.com/hyperledger/besu/pull/4094)
- Above Bonsai related fixes have addressed situations where the event log was not indexed properly [#3921](https://github.com/hyperledger/besu/pull/3921)
- Fixes related to backward sync and reorgs [#4097](https://github.com/hyperledger/besu/pull/4097)
- Checkpoint sync with more merge friendly checkpoint blocks [#4085](https://github.com/hyperledger/besu/pull/4085)
- Fixes around RocksDB performance and memory usage [#4128](https://github.com/hyperledger/besu/pull/4128)
- Fix for RPC performance parallelization to improve RPC performance under heavy load [#3959](https://github.com/hyperledger/besu/pull/3959)
- Fix for post-Merge peering after PoW is removed in our logic for weighting peers [#4116](https://github.com/hyperledger/besu/pull/4116)
- Various logging changes to improve UX- Return the correct latest valid hash in case of bad block when calling engine methods [#4056](https://github.com/hyperledger/besu/pull/4056)
- Add a PoS block header rule to check that the current block is more recent than its parent [#4066](https://github.com/hyperledger/besu/pull/4066)
- Fixed a trie log layer issue on bonsai during reorg [#4069](https://github.com/hyperledger/besu/pull/4069)
- Fix transition protocol schedule to return the pre Merge schedule when reorg pre TTD [#4078](https://github.com/hyperledger/besu/pull/4078)
- Remove hash to sync from the queue only if the sync step succeeds [#4105](https://github.com/hyperledger/besu/pull/4105)
- The build process runs successfully even though the system language is not English [#4102](https://github.com/hyperledger/besu/pull/4102)
- Avoid starting or stopping the BlockPropagationManager more than once [#4122](https://github.com/hyperledger/besu/pull/4122)

### Download links
- https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/22.7.0-RC2/besu-22.7.0-RC2.tar.gz / sha256: `befe15b893820c9c6451a74fd87b41f555ff28561494b3bebadd5da5c7ce25d3`
- https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/22.7.0-RC2/besu-22.7.0-RC2.zip / sha256: `d56c340f5982b882fbecca2697ca72a5bbefe0e978d2d4504211f012e2242a81`

## 22.7.0-RC1

Expand All @@ -11,7 +109,6 @@
- When on PoS the head can be only be updated by ForkchoiceUpdate [#3994](https://github.com/hyperledger/besu/pull/3994)
- Version information available in metrics [#3997](https://github.com/hyperledger/besu/pull/3997)
- Add TTD and DNS to Sepolia config [#4024](https://github.com/hyperledger/besu/pull/4024)
- Add terminal block hash and number to Ropsten genesis file [#4026](https://github.com/hyperledger/besu/pull/4026)
- Return `type` with value `0x0` when serializing legacy transactions [#4027](https://github.com/hyperledger/besu/pull/4027)
- Ignore `ForkchoiceUpdate` if `newHead` is an ancestor of the chain head [#4055](https://github.com/hyperledger/besu/pull/4055)

Expand All @@ -20,7 +117,6 @@
- Support free gas networks in the London fee market [#4003](https://github.com/hyperledger/besu/pull/4003)
- Limit the size of outgoing eth subprotocol messages. [#4034](https://github.com/hyperledger/besu/pull/4034)
- Fixed a state root mismatch issue on bonsai that may appear occasionally [#4041](https://github.com/hyperledger/besu/pull/4041)
- Return the correct latest valid hash in case of bad block when calling engine methods [#4056](https://github.com/hyperledger/besu/pull/4056)

### Download links
- https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/22.7.0-RC1/besu-22.7.0-RC1.tar.gz / sha256: `60ad8b53402beb62c24ad791799d9cfe444623a58f6f6cf1d0728459cb641e63`
Expand Down
2 changes: 1 addition & 1 deletion MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
| Stefan Pingel | pinges | pinges |
| Danno Ferrin | shemnon | shemnon |
| Simon Dudley | siladu | siladu |
| Taccat Isid | taccatisid | taccatisid |
| Usman Saleem | usmansaleem | usmansaleem |


Expand All @@ -49,6 +48,7 @@
| Rai Sur | RatanRSur | ratanraisur |
| Rob Dawson | rojotek | RobDawson |
| Sajida Zouarhi | sajz | SajidaZ |
| Taccat Isid | taccatisid | taccatisid |
| Tim Beiko | timbeiko | timbeiko |
| Vijay Michalik | vmichalik | VijayMichalik |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
import org.hyperledger.besu.ethereum.core.Difficulty;
import org.hyperledger.besu.evm.log.LogsBloomFilter;

import java.math.BigInteger;

import org.apache.tuweni.bytes.Bytes;
import org.web3j.protocol.core.methods.response.EthBlock.Block;

Expand Down Expand Up @@ -50,7 +52,7 @@ public static BlockHeader createBlockHeader(
Bytes.fromHexString(block.getExtraData()),
null,
mixHash,
block.getNonce().longValue(),
new BigInteger(block.getNonceRaw().substring(2), 16).longValue(),
blockHeaderFunctions);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public void startNode(final BesuNode node) {
.build();

final int maxPeers = 25;
final int minPeers = 25;

builder
.synchronizerConfiguration(new SynchronizerConfiguration.Builder().build())
Expand Down Expand Up @@ -198,6 +199,7 @@ public void startNode(final BesuNode node) {
.p2pAdvertisedHost(node.getHostName())
.p2pListenPort(0)
.maxPeers(maxPeers)
.minPeers(minPeers)
.networkingConfiguration(node.getNetworkingConfiguration())
.jsonRpcConfiguration(node.jsonRpcConfiguration())
.webSocketConfiguration(node.webSocketConfiguration())
Expand Down
Loading