forked from hyperledger/besu
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Merge1153 #1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Fixing sub logging and moving stack trace to debug. Signed-off-by: Matt Nelson <matt.nelson@consensys.net> Co-authored-by: Matt Nelson <matt.nelson@Matts-MacBook-Pro.local>
* adds a failure handler to all routes that will log failure exceptions with their message only. stacks can be printed by turning debug on. Signed-off-by: Justin Florentine <justin+github@florentine.us>
* evict transactions from tail of senderAndNonce rather than just lowest price * make pendingTransactions secondary sort based on timestamp rather than sequence id (to better prevent collisions for same gas price and sequence id) Signed-off-by: garyschulte <garyschulte@gmail.com>
* add max future nonce configs, update plumbing to use txpool config rather than constants Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Stefan <stefan.pingel@consensys.net> Co-authored-by: Sally MacFarlane <sally.macfarlane@consensys.net> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
…4347) Signed-off-by: Matt Nelson <matt.nelson@consensys.net> Signed-off-by: Matt Nelson <matt.nelson@consensys.net>
* Quieter logging on wire-RLP Errors When handling a top level RLP encoding error received over the wire we shouldn't loudly complain about it but instead log it debug. This particular wrapping handles the case where the top level response is truncated or otherwise corrupt. Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com> Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
…de how to present it to the CL (hyperledger#4352) Signed-off-by: Justin Florentine <justin+github@florentine.us>
…dger#4325) * refactors to rely on blocks added, and behave like singleton * pulls up synchronizer building to keep merge related stuff in right place * shows ready on pre-merge nets. no display on most merge nets * listens for finalized, explains more pandas Signed-off-by: Justin Florentine <justin+github@florentine.us>
* fix trie by asking peers Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
Signed-off-by: Matt Nelson <matt.nelson@consensys.net> Co-authored-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: garyschulte <garyschulte@gmail.com> Signed-off-by: garyschulte <garyschulte@gmail.com>
* remove disconnected peers Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> Signed-off-by: Sally MacFarlane <sally.macfarlane@consensys.net> Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Update the greclipse version in spotless as directed by build errors to reduce random formatting errors. Also, update formatting to new version Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
* prep for 22.7.3 Signed-off-by: garyschulte <garyschulte@gmail.com>
Inject vertx dependency into EngineJsonRpcMethods instead of creating a new one. Improves testability, before some tests failed with too many files open because vertx inside EngineJsonRpcMethods was not being closed on test's afterEach hook Signed-off-by: Pedro Novais <jpvnovais@gmail.com>
* quieten the txpool merkletrie exceptions * move prepareBlock stacktraces to debug Signed-off-by: garyschulte <garyschulte@gmail.com>
Move from a perfect fit memory expansion model to an exponential expansion model. Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
…rledger#4390) * make static range comparator safe for non-1559 transactions Signed-off-by: garyschulte <garyschulte@gmail.com> * spotless, and rebase Signed-off-by: garyschulte <garyschulte@gmail.com> Signed-off-by: garyschulte <garyschulte@gmail.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
…e API requests are executed sequentially. (hyperledger#4410) Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net>
* Retry mechanism for block creation Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Update CHANGELOG Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Always keep 1 thread active in the computation executors Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Surface StorageException when building a block for finer filtering Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Log successful block created at info Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Reformat block proposal logs Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> * Remove test code Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* reset engine QoS timer with every call to the engine API, ExchangeTransitionConfiguration mismatch will only submit a debug log not a warning anymore Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
* bump to release version of besu-native 0.6.1 Signed-off-by: garyschulte <garyschulte@gmail.com>
Upgrade org.yaml:snakeyaml to 1.32 Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
Signed-off-by: Justin Florentine <justin+github@florentine.us>
…utable transactions (hyperledger#4425) * Add more tracing logs to transaction pool * Prevent adding non executable transactions and evict based on age * Move sender account in TransactionsForSenderInfo * Implement a size expiration cache for lowest invalid nonce for sender Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net> Signed-off-by: Justin Florentine <justin+github@florentine.us> Co-authored-by: Justin Florentine <justin+github@florentine.us>
Signed-off-by: Diego López León <dieguitoll@gmail.com> Signed-off-by: Diego López León <dieguitoll@gmail.com>
* add isPersistable(), copy worldstate in mainnetblockvalidator if it is not * only copy the mutable worldstate if it is not persistable in abstract block creator Signed-off-by: garyschulte <garyschulte@gmail.com>
Implement "Small" EOF - EIP-3540 (container) and EIP-3670 (validation). Make code an interface so EOF specific features are compartmentalized, including an 'invalid' code type representing a code block that didn't pass validation, CodeV1 for EOF1, and CodeV0 which represents pre-EOF code. EVMs track a maximum supported EOF version (where 0 is pre-eof)and code is generated from a CodeFactory taking in context (is it a CREATE operation and max code size) for the validation. Includes spec versions for "Shanghai" and transient testnet "Shandong". "Small" EOF is only activated in Shandong. Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
* use fork id to filter out non matching peers Signed-off-by: Stefan <stefan.pingel@consensys.net>
* Initial checksums This file was automatically generated using `./gradlew --write-verification-metadata sha256 help` Signed-off-by: Diego López León <dieguitoll@gmail.com> * Add missing checksums for artifacts Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Diego López León <dieguitoll@gmail.com> Signed-off-by: Diego López León <dieguitoll@gmail.com> Signed-off-by: Diego López León <dieguitoll@gmail.com> Signed-off-by: Diego López León <dieguitoll@gmail.com>
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
…long (hyperledger#4705) * Remove log statements that are keeping references to objects for too much time Improvement in terms of reducing java heap used, since the logs were keeping reference to blocks sent by newPayload, that causes high memory consumption during initial sync, and could be one of the causes that prevent to complete snap sync on low spec machines. Exceptions are also logged by the backward sync, so there is no loss of information. Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
* aggresively seeking out other places to defend from this Signed-off-by: Justin Florentine <justin+github@florentine.us> Co-authored-by: Justin Florentine <justin+github@florentine.us>
* revert snapshots-by-default Signed-off-by: garyschulte <garyschulte@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
…#4700) * use snapshots for in-memory copies of layered worldstate * ensure we close snapshot storage used for layered world state copies * wrap access to CachedSnapshotWorldState in Optional.ofNullable to prevent NPE when trying to close from AbstractTrieLogManager Signed-off-by: garyschulte <garyschulte@gmail.com>
* Enable full (non block) bloomFilters with 10 bits per key Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net> * Delete unused constant Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net> * Add ChangeLog Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net> * Set RocksDB format version to 5 Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net> Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net Signed-off-by: Ameziane H <ameziane.hamlat@consensys.net> Signed-off-by: ahamlat <ameziane.hamlat@consensys.net>
* print configuration overview at startup Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
…disabled. Fix for evmtool usage (hyperledger#4721) Signed-off-by: garyschulte <garyschulte@gmail.com>
Change nonce hex parsing to be treated as encoded longs, not trimmed byte arrays. Signed-off-by: Danno Ferrin <danno.ferrin@swirldslabs.com>
Signed-off-by: Diego López León <dieguitoll@gmail.com>
* Add check for required option on cli Signed-off-by: wcgcyx <wcgcyx@gmail.com> Co-authored-by: Jason Frame <jason.frame@consensys.net> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
…yperledger#4718) Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
…ess (hyperledger#4720) * Do not involve backward sync until initial sync is done Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
Signed-off-by: Bakuchi <49754494+massun-onibakuchi@users.noreply.github.com> Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
* Replace deprecated method * Ignore field Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
Signed-off-by: Cody Born <codyborn@outlook.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.