Skip to content

release/node/v0.5.2#113

Merged
bvscd merged 10 commits into
masterfrom
release/node/v0.5.2
Apr 21, 2026
Merged

release/node/v0.5.2#113
bvscd merged 10 commits into
masterfrom
release/node/v0.5.2

Conversation

@bvscd
Copy link
Copy Markdown
Collaborator

@bvscd bvscd commented Apr 21, 2026

Changed

Optimized fast-sync overlay operation over QUIC

Fixed

TVM stack slice TL-serialization fix for LiteServer

Copilot AI review requested due to automatic review settings April 21, 2026 10:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR targets two areas: (1) correctness of TVM stack TL-serialization for Slice values (notably preserving bit-length/window), and (2) optimizing fast-sync overlay behavior when QUIC/two-step broadcast is enabled.

Changes:

  • Serialize TVM stack Slice items as a BOC-encoded cell (and decode accordingly) to preserve exact slice bit semantics.
  • Extend semiprivate overlay membership inputs to include both validator ADNL IDs and validator signing public-key IDs, with an optional QUIC mode and two-step broadcast support for fast-sync.
  • Add regression tests for slice roundtrips and update overlay tests/call sites for the new semiprivate overlay API.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/vm/src/smart_contract_info.rs Switch slice stack encoding/decoding to BOC cell roundtrip to preserve slice semantics.
src/vm/src/tests/test_smart_contract_info.rs Add regression tests validating slice roundtrip preserves bit-length and slice window.
src/node/src/rpc_server/token.rs Accept BOC-encoded slice stack entries when parsing MsgAddress from stack.
src/node/src/network/overlay_client.rs Update semiprivate overlay creation signature and add a two-step broadcast wrapper.
src/node/src/network/full_node_overlays.rs Use prev/this/next validator sets for fast-sync roots and wire use_quic flags into overlay creation/sending.
src/node/src/network/fast_sync_overlay_client.rs Pass ADNL IDs + signing public keys to semiprivate overlays; add two-step broadcast path gated by QUIC availability.
src/adnl/tests/test_overlay.rs Update semiprivate overlay tests to pass both root ADNL IDs and root public keys, plus use_quic.
src/adnl/src/overlay/mod.rs Expand CertifiedMembers overlay structure, QUIC gating, and twostep neighbour selection/counting logic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/adnl/src/overlay/mod.rs
Comment thread src/node/src/network/full_node_overlays.rs Outdated
Comment thread src/adnl/src/overlay/mod.rs Outdated
@bvscd bvscd merged commit b1801e4 into master Apr 21, 2026
6 checks passed
@bvscd bvscd deleted the release/node/v0.5.2 branch April 21, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants