feat: switch block stream and TSS configs defaults for 0.77#25928
Open
petreze wants to merge 29 commits into
Open
feat: switch block stream and TSS configs defaults for 0.77#25928petreze wants to merge 29 commits into
0.77#25928petreze wants to merge 29 commits into
Conversation
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #25928 +/- ##
============================================
- Coverage 70.51% 70.30% -0.22%
+ Complexity 11883 11876 -7
============================================
Files 2626 2626
Lines 109705 109706 +1
Branches 12072 12071 -1
============================================
- Hits 77363 77131 -232
- Misses 28374 28610 +236
+ Partials 3968 3965 -3
... and 29 files with indirect coverage changes 🚀 New features to boost your workflow:
|
8a90857 to
4c42563
Compare
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
4c42563 to
a95f4fc
Compare
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
# Conflicts: # hedera-node/test-clients/build.gradle.kts
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
# Conflicts: # hedera-node/test-clients/build.gradle.kts
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
…s, ledger-id replay, block re-delivery Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
…GRPC) to probe #24896 Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
# Conflicts: # hedera-node/test-clients/build.gradle.kts
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
0.77
0.770.77
✅ All tests passed ✅🏷️ Commit: e439872 Learn more about TestLens at testlens.app. |
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
Final step of the block-stream cutover (#25892): flip the production defaults so the consensus node produces blocks, signs them with real TSS signatures, and streams them over gRPC to a Block Node by default — retiring the legacy record stream and the dual file/gRPC write.
Production changes
Config defaults (
hedera-config):blockStream.streamModeBOTHBLOCKSblockStream.writerModeFILE_AND_GRPCGRPCblockStream.enableCutoverfalsetrueblockStream.streamWrappedRecordBlockstruefalseblockStream.buffer.isBufferPersistenceEnabledfalsetruetss.forceMockSignaturestruefalseBlockRecordService: supporting adjustment for sourcing block/running-hash info inBLOCKSmode.configuration/dev: aligned to the new defaults (BLOCKS; WRAPS proving-key download disabled).Test harness & CI
writerMode/streamMode(the new default), not just explicit overrides (SharedNetworkLauncherSessionListener) — so every subprocess HAPI job that implies streaming gets a live (DinD) Block Node.BlockSource/BlockNodeBlockSource/FileSystemBlockSource/BlockSourceFactory) +StreamValidationOpread blocks back from the Block Node and run the data-independent validators inBLOCKSmode; freeze-block-aware gating and "settle before replay" for the gRPC read-back.writerMode=FILE(no in-process Docker; backpressure stays off while still exercising trueBLOCKSsemantics with a file sink).805-call-execute-hapi-tests.yaml,build.gradle.kts); transition scaffolding removed.BLOCKS/gRPC test fixes:ContractCreateTranslatorhex guard, deterministic sidecar extraction (SidecarWatcher), block-stream assertions, genesis/subprocess suites.Related issue(s):
Fixes #25892
Notes for reviewer:
Checklist