Skip to content

fix(zones): send prover frames as Bytes - #9579

Open
DaniPopes wants to merge 1 commit into
mainfrom
dani/zone-prover-bytes-frame
Open

DaniPopes wants to merge 1 commit into
mainfrom
dani/zone-prover-bytes-frame

Conversation

@DaniPopes

Copy link
Copy Markdown
Member

tokio-util 0.7.20 adds Encoder<&[u8]> for LengthDelimitedCodec, so send(payload.into()) in the zone prover connection no longer infers a type: rustc sees both the &[u8] and Bytes impls (E0283). This breaks the weekly cargo update (#9578). The connection now builds the Bytes frame explicitly; it compiles with both the current and the updated lockfile.

@tempoxyz-bot

tempoxyz-bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

👁️ Cyclops Security Review

✅ Reviewed ee16beb (latest) · Coverage: partial · no open findings · report
⚠️ Not checked: The tokio-util 0.7.20 update cited in the PR is not in the reviewed lockfile or staged dependency sources. Its Bytes encoder behavior and compilation with that updated resolution were not verified.
⚠️ Not checked: Zone prover outbound framing and peer compatibility under the reviewed lockfile: ruled out without reading the cited code at this commit

@DaniPopes
DaniPopes enabled auto-merge November 26, 2026 02:35

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code review found no issues

No high-confidence issues detected in this change.

This branch has not been deployed

No deployments
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.

2 participants