Repository navigation
Conversation
Update state encoding, dynamic validator rules, host calls and PVM pipeline gas accounting, including the agreed pinned-vector deviations. Derive erasure coding dimensions and network reconstruction counts from the relevant validator set, and align chain parameters with fetch encoding. Keep pre-existing availability commitment, proof/wire-format and privilege-merge corrections for a separate follow-up. All 11 test packages passed across the full run and affected-package reruns after correcting Safrole ring-domain capacity.
|
Found four actionable issues affecting x86-64 PVM execution and availability storage lifecycle/configuration. Review SuggestionsPolkaVM/Sources/PolkaVM/InstructionTable.swift:L48 Mapping GP 0.8 opcode 2 to Blockchain/Sources/Blockchain/Validator/ErasureCodingDataStore/AuditBundleStore.swift:L103-L107 The coding-count metadata is loaded before checking the filesystem bundle. Availability entries created before this upgrade have no Blockchain/Sources/Blockchain/Validator/ErasureCodingDataStore/AuditBundleStore.swift:L45-L47 The GP Blockchain/Sources/Blockchain/AuxDataStore/DataStoreProtocol.swift:L72-L80 Every erasure root now creates a separate validator-count metadata record, but the protocol provides no corresponding deletion operation and all audit/D3L cleanup paths only delete entries and shards. Long-running nodes therefore retain one RocksDB metadata row per expired availability object indefinitely. Add a deletion helper for this key and invoke it when audit or D3L data is removed, including iterative and aggressive cleanup paths. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #402 +/- ##
==========================================
- Coverage 67.70% 67.65% -0.06%
==========================================
Files 476 484 +8
Lines 47161 48138 +977
Branches 1474 1495 +21
==========================================
+ Hits 31931 32568 +637
- Misses 14586 14927 +341
+ Partials 644 643 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Continue directly past unreachable bytes in the x86-64 compilation loop. Expand gas-table regression coverage across entry PCs and add focused tests for report-derived reconstruction counts and atomic coding metadata.
Summary
39d0e35933305530fa1fe646bdedf221769398f1; follow the agreed deviations #533, #538, #559, #563 and non-managerblessbehavior.Validation
1570f45passed all 11 packages across a full run and affected-package reruns after the Safrole ring-capacity correction.availability-networkingbranch. The published tip and its intermediate fix commits have not been independently retested without those pending changes.