besu GitHub

PR #6387 [MINOR] Fix pki tests condition check on mac
## PR description Fix pki tests condition check on mac ## Fixed Issue(s) see https://github.com/hyperledger/besu/pull/6235
Created At 2024-01-11 02:25:12 +0000 UTC
PR #6384 Fix test flackyness waiting for the nodes to be in sync before checking conditions
## PR description `NodeSmartContractPermissioningAcceptanceTest` could fail due to the fact that if a node is not in sync txs are not accepted, since the txpool is disabled, so before interacting with the node we must wait for all the nodes in the test to be in sync ## Fixed Issue(s)
Created At 2024-01-10 20:57:07 +0000 UTC
PR #6383 Bump to nex release snapshot 24.1.1
## PR description bump release version to 24.1.1-SNAPSHOT add/edit/move changelog entries TBA links for 24.1.0 add missing changelog entry for 23.10.2 ## Fixed Issue(s)
Created At 2024-01-10 18:29:56 +0000 UTC
PR #6382 In fluent APIs correct Tangerine Whistle definition.
The fluent API incorrectly added the code size limit in Tangerine Whistle instead of first adding it in Spurious Dragon. ## PR description ## Fixed Issue(s)
Created At 2024-01-10 18:14:14 +0000 UTC
PR #6381 Introduce TransactionEvaluationContext to pass data between selectors and plugin
## PR description Some tx selector plugins needs more context about the current tx being evaluated, for example the current minGasPrice, or the effective price of the tx and possibly more data in the future, for this we introduce the TransactionEvaluationContext to hold that data and pass it across all the selectors and the plugin. Another advantage of this context is to avoid to compute multiple time the same data, in case it is needed in more that one selector. ## Fixed Issue(s)
Created At 2024-01-10 13:15:40 +0000 UTC
PR #6380 Make transaction pool configurable in acceptance tests
## PR description ## Fixed Issue(s)
Created At 2024-01-10 13:10:27 +0000 UTC
PR #6379 Ignore bin files when running the spdx license check
## PR description Ignore generated files in `bin/` directories when running the SPDX license check. Visual Studio Code generates build files in various bin directories, which causes this check to fail.
Created At 2024-01-09 21:29:17 +0000 UTC
PR #6378 Upgrade `com.fasterxml.jackson` dependencies
## PR description Jackson 2.15 by default limits the length of input string to a value that is lower than the string length used in some of our test, so now we need to explicitly tune this value. Setting max int since this is only related to tests. ## Fixed Issue(s)
Created At 2024-01-09 15:56:13 +0000 UTC
PR #6377 Upgrade dependencies
## PR description Update all dependencies that do not require code changes. Dependencies that require code changes will be updated in separate PR. ## Fixed Issue(s)
Created At 2024-01-09 12:57:54 +0000 UTC
PR #6375 Add a sender cache to Transaction
## PR description This PR will establish a new cache within the Transaction class to house all computed senders for their respective transaction hashes. This PR is expected to improve block processing time, given that the majority of transaction senders are determined when Besu fills its transaction pool. ## Fixed Issue(s)
Created At 2024-01-09 10:13:17 +0000 UTC
PR #6373 full sync - don't fail startup if sync-min-peers specified
Log a warning instead of failing startup fixes #6327 Before: ``` ➜ b2 git:(sync-min-peers) ✗ besu --sync-mode="full" --sync-min-peers=1 2024-01-09 12:17:57.498+10:00 | main | INFO | Besu | Starting Besu 2024-01-09 12:17:57.866+10:00 | main | ERROR | Besu | Failed to start Besu picocli.CommandLine$ParameterException: --sync-min-peers can't be used with FULL sync-mode [--sync-min-peers] at org.hyperledger.besu.cli.util.CommandLineUtils.failIfOptionDoesntMeetRequirement(CommandLineUtils.java:129) ``` and startup fails. After: ``` ➜ b2 git:(sync-min-peers) ✗ besu --sync-mode="full" --sync-min-peers=1 2024-01-09 12:24:50.728+10:00 | main | INFO | Besu | Starting Besu 2024-01-09 12:24:51.539+10:00 | main | WARN | Besu | --sync-min-peers is ignored in FULL sync-mode 2024-01-09 12:24:51.818+10:00 | main | INFO | Besu | Connecting to 0 static nodes. ``` and startup continues
Created At 2024-01-09 06:08:10 +0000 UTC
PR #6372 Added alias --sync-min-peers for --fast-sync-min-peers
Add an alias for fast-sync-min-peers refs #6327
Created At 2024-01-09 02:15:25 +0000 UTC
PR #6371 merges in 23.10.3-hotfix
* trigger a BWS if we do not have a valid worldstate available during fcU raise log rolling failure loglevel to error from debug * fixing on selfdestruct
Created At 2024-01-08 19:28:21 +0000 UTC
PR #6368 chore: fix typos
</td> </tr> </table>
Created At 2024-01-08 04:14:35 +0000 UTC
</div>
PR #6367 [MINOR] Move bootnodes logging to RunnerBuilder
## PR description Move bootnodes logging to RunnerBuilder so that we always log the actual bootnodes being used.
Created At 2024-01-08 01:59:34 +0000 UTC
PR #6366 [MINOR] readme - fixed link to logging docs
fixes #6342
Created At 2024-01-08 01:51:33 +0000 UTC
PR #6365 One permissioning AT to junit5
refs #6262
Created At 2024-01-08 01:13:27 +0000 UTC
PR #6363 Import export trie log
TeamGroot ## PR description This PR extends the x-trie-log subcommand to allow exporting and importing of a trie log. This PR is built on top of https://github.com/hyperledger/besu/pull/6303
Created At 2024-01-08 00:03:26 +0000 UTC
PR #6362 migrate clique tests fully to junit5
testing fixes #6261
Created At 2024-01-07 23:20:45 +0000 UTC
PR #6360 fix: use UID 1000 for besu user (#6358)
## PR description The openjdk-latest Docker image is using UID 1001 for besu, because its base image `ubuntu:23.10` now contains a default "ubuntu" user with UID 1000. (This UID change causes the besu user with UID 1001 to not have access to files created for past versions with UID 1000.) This PR removes the default ubuntu user and explicitly uses UID 1000 when creating the besu user. **Note that this change will re-break file permissions for people who've already changed besu file ownership from 1000 -> 1001 when upgrading to 23.10.3, as the besu user goes back to UID 1000, as it was in versions prior to 23.10.3.** ## Fixed Issue(s) Fixes #6358
Created At 2024-01-07 09:34:24 +0000 UTC
PR #6359 fixing trielog generation when selfdestruct/create2 on same block
## PR description This PR fixes a bug in the generation of the trie log when we have a selfdestruct and create2 of the same account in the same block, and if this contract contains a non-empty storage. This bug occurred on the mainnet, and we were able to reproduce the bug and validate that the fix resolves the problem. We had a previous PR to fix this bug but it was not completly fixed on this one This bug was fixed when we create the trie log with a persistent BonsaiWorldstate, but not with a non-persistent BonsaiWorldstate, which is what happens with the call of the newPayload method. BackwardSync uses the persistent worldstate, and that's why the BackwardSync unlocks the situation. ## Fixed Issue(s) #6357
Created At 2024-01-06 22:33:09 +0000 UTC
PR #6356 Fix docker detection on Mac
## PR description uses `/.dockerenv` as a fallback detector mechanism for DockerDetector. ## Fixed Issue(s) fixes #6139 prior to this PR, when running besu on docker desktop on Mac, besu would fail to recognize it was running inside docker without specifying a nat-method or when using `--nat-method=AUTO` on Mac M2, using docker desktop: ``` 2024-01-06 01:23:27.514+00:00 | main | INFO | RunnerBuilder | Detecting NAT service. ... 2024-01-06 01:23:27.629+00:00 | main | INFO | DockerNatManager | Starting docker NAT manager. ```
Created At 2024-01-06 01:49:31 +0000 UTC
PR #6354 Improve the high spec flag
## PR description Improve the high spec flag (`Xplugin-rocksdb-high-spec-enabled`) by limiting it to only few column families. ## Fixed Issue(s)
Created At 2024-01-05 09:13:07 +0000 UTC
PR #6353 WIP: QBFT + shanghai support
## PR description Implement shanghai support for QBFT and IBFT chains. Summary of the changes: - Pass the `protocolSchedule` into the `BftContext` so it can check if `shanghai` is enabled - Add a new `createBlock(...)` function to `BftBlockCreator` that allows BFT block creators to use the `AbstractBlockCreator` `createBlock(...)` function that takes a list of withdrawals - Use this to create blocks that have an (empty) list of withdrawals if shanghai _is_ enabled - Use the original `createBlock(...)` implementation when shanghai _isn't_ enabled - Change the way the BFT block validator for a given protocol schedule is selected, using the parent header and timestamp instead of block number - **I need to better understand how BFT round, chain height & sequence number relate to protocol schedule. This change is still WIP** ## Fixed Issue(s) Fixes https://github.com/hyperledger/besu/issues/5446
Created At 2024-01-04 17:42:05 +0000 UTC
PR #6352 Rel 24.1.0-RC2 cherry pick - cancun
## PR description small cherry-pick to mark Cancun as finalized ## Fixed Issue(s)
Created At 2024-01-04 17:05:15 +0000 UTC
PR #6351 finalized cancun spec
## PR description ## Fixed Issue(s)
Created At 2024-01-04 16:07:15 +0000 UTC