Backporting fixes from feat-vm2#5403
Merged
mpapierski merged 7 commits intocasper-network:devfrom Apr 16, 2026
Merged
Conversation
…zation to talk only to validators instead of a random network peer Backport PR casper-network#5303 onto the current dev-based branch.
Backport PR casper-network#5304 onto the current dev-based branch.
zajko
reviewed
Apr 16, 2026
| #[cfg_attr(feature = "datasize", derive(DataSize))] | ||
| pub struct TransactionLaneDefinition { | ||
| /// The lane identifier | ||
| pub id: u8, |
Contributor
There was a problem hiding this comment.
I'm now thinking that technically making these fields not-public is also a backwards-incompatible change.
Maybe we should both add the getters/setters and keep the fields public?
zajko
approved these changes
Apr 16, 2026
b986e3f to
4b66e5e
Compare
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
This PR backports four targeted fixes from
feat-vm2onto the current dev-based branch:TransactionLaneDefinitionWhat changed
#5303validator-only Zug syncPeriodic Zug sync requests are now routed to fully connected validators for the target era instead of random peers. This tightens the semantics of periodic consensus sync and avoids asking peers that may not have relevant era data.
#5304genesis config wiring fixEE test support now correctly threads the addressable-entity setting into genesis request construction. This also adds a regression test covering install/add-version behavior when the flag is enabled.
#5368tracking-copy prune cache fixTrackingCopynow treatsPruneddistinctly fromNotFound, clears pending mutations when a key is pruned, and prevents reads and prefix scans from resurrecting pruned values out of backing state. The backport includes focused storage regressions for those cases.#5377lane-definition cache invalidation fixTransactionLaneDefinitionfields are no longer mutated directly. Callers now go through accessors/setters so internal cached lane state stays coherent. This backport is intentionally limited to the lane-definition/cache-refresh portion and does not include the VM2 target-enablement changes from the upstream PR.Notes
#5368backport is scoped to the storage-side fix and its regressions.#5377backport is scoped to the general lane-definition correctness fix only.