[Storehouse] 009 Payloadless factory and localnet - #8581
Conversation
|
Important Review skippedThe saved review history does not include the base for the last reviewed commit. This saved history cannot establish the base for an incremental review. Comment You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughThe change adds payloadless ledger mode across ledger construction, service startup, WAL checkpoint handling, and localnet bootstrap. It also removes ledger factory interfaces and routes local and remote ledger creation through direct constructors. ChangesPayloadless ledger integration
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant LocalnetBuilder
participant ExecutionNode
participant LedgerCommand
participant LedgerFactory
participant LedgerService
LocalnetBuilder->>ExecutionNode: start with payloadless and storehouse flags
LocalnetBuilder->>LedgerService: start with payloadless flag and V7 checkpoint
LedgerCommand->>LedgerFactory: select local or remote payloadless ledger
LedgerFactory-->>LedgerCommand: return ledger and service registration
LedgerCommand->>LedgerService: register selected gRPC service
Suggested reviewers: Merge Risk: 🔵 Low · up to Remote payloadless startup is newly supported but untested; add the focused configuration test before broad reliance on this mode. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
059892d to
08074ba
Compare
08074ba to
4f1f09d
Compare
0955ccb to
8177757
Compare
8177757 to
efd0192
Compare
efd0192 to
fba2a36
Compare
fba2a36 to
dd25d6c
Compare
dd25d6c to
3e9115e
Compare
5c5ad9b to
a46a44d
Compare
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
…tput before localnet conversion
542c523 to
4f8b2a9
Compare
The previous PR #8598 can startup a payloadless mode EN with a payloadless checkpoint file, and replay wal files to resume execution. But the localnet doesn't work, because localnet is bootstrapping with a v6 checkpoint, no v7 checkpoint. So a automatic conversion from v6 to v7 checkpoint is required during bootstrapping. And after this PR, we can startup a payloadless mode EN in localnet.
Summary by CodeRabbit
New Features
Bug Fixes