Resolve merge conflict with master#10595
Merged
kamilchodola merged 646 commits intofix/large-rpc-buffersfrom Feb 27, 2026
Merged
Resolve merge conflict with master#10595kamilchodola merged 646 commits intofix/large-rpc-buffersfrom
kamilchodola merged 646 commits intofix/large-rpc-buffersfrom
Conversation
* calculator * state reader * masternode voting contract * fix * abi json * working load test * test * test * test getCandidates * cleanup * format * remove var * format * review comments * implement calculate rewards base flow and get signing txs * implement rewards per signer and distribution calculations * implement getCadidateOwner * refactors and add comments to the code * add block signer contract address to the configuration spec * implement reward module tests * implement hook for reward calculation in hotstuff pipeline * refactor and format * format * fix xdc test * wire IRewardClaculator in ConfigureContainer in XdcTestBlockchain * address review comments and add unit test with precalculated xdc reward values * add missing dependencies in Xdc module * fix resolving contract addresses from spec * fix error with WorldState after merge * add comments for reward tests with link to original source --------- Co-authored-by: ak88 <anders.holmbjerg@hotmail.com> Co-authored-by: ak88 <anders@nethermind.io>
* add potential fix * nit: improve config description
* Skip SST file size checks when MaxOpenFiles is specified * Add config option, skip SST checks on MacOS if not configured otherwise * Remove obvious comment
…ation (#9970) * Update EvmPooledMemory.cs * Update src/Nethermind/Nethermind.Evm/EvmPooledMemory.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update src/Nethermind/Nethermind.Evm/EvmPooledMemory.cs * Update src/Nethermind/Nethermind.Evm/EvmPooledMemory.cs --------- Co-authored-by: Lukasz Rozmej <lukasz.rozmej@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Should update child if parent has empty keccak as well * Combine conditions
* Improve hash quality * formatting * Update src/Nethermind/Nethermind.Core/Extensions/SpanExtensions.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Keep HexConvert.ToUInt64 as it handles both base 10 and 16 automatically.
…10024) * fix: ensure eth_getBlockByNumber enforces canonical block retrieval * fix tests * address comment * apply suggestion
Co-authored-by: rubo <rubo@users.noreply.github.com>
…ting test (#10086) Update BlockTreeTests.cs
* Drop eth66 and eth67 support * Fix tests * test * bump versions * Fix E2ESyncTests failures when isPostMerge=false - remove eth/69 from default capabilities (#10103) * Initial plan * Remove eth/69 from default capabilities - added dynamically by MergePlugin Co-authored-by: benaadams <1142958+benaadams@users.noreply.github.com> * Fix test expecting eth/69 as highest default protocol version Co-authored-by: benaadams <1142958+benaadams@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: benaadams <1142958+benaadams@users.noreply.github.com> * fix --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: benaadams <1142958+benaadams@users.noreply.github.com>
* Add Address recovery from PublicKey to KeccakCache * Improve comments * Feedback
* Update to UInt256 version 1.4.0 * Fix some div zero
Update IEraAdminRpcModule.cs
Update BlockTreeTests.cs
…10070) Update SimpleConsoleLogManager.cs
* optimize eth_gasPrice using kth algorithm * fix: review nethermind --------- Co-authored-by: weixie.cui <weixie.cui@okg.com>
* Don't queue prunes * Add delay * Add Delay reasoning comment
* refactor: simplify Avx2 branches for UInt256 shuffles * Update EvmStack.cs
* Ignore claude config in git * Ignore claude config in git
Contributor
EXPB Benchmark ComparisonRun: View workflow run Scenario:
|
Contributor
|
wtf 74k line PR? |
… fix Tests show CountingPipeWriter accumulates entire multi-MB responses in pipe buffers (LOH allocation issue) while CountingStreamPipeWriter flushes incrementally in small chunks. Includes correctness tests verifying both paths produce byte-identical output.
Contributor
Author
it is simply master merge and conflict fix but done as PR as i dont want to push directly onto Łukasz branch |
Head-to-head tests measuring UnflushedBytes (peak internal buffer) during serialization. PipeWriter grows to full response size while StreamPipeWriter stays bounded at ~26 bytes via auto-flush.
This file contains hidden or 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
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.
Summary
masterintofix/large-rpc-buffers(PR Try using stream to avoid large buffers allocations in kestrel #9411) and resolves the conflict inStartup.csProcessJsonRpcRequestCoreAsync. TheCountingStreamPipeWriter(ctx.Response.Body)change from this PR is now applied inside that extracted method instead of in the old inline location.Test plan