Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix encode TalkRequest regression during library transition #276

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

KolbyML
Copy link
Contributor

@KolbyML KolbyML commented Jan 17, 2025

Description

Well updating from the old rlp library to the new one alloy_rlp there was a regression for encoding/decoding TalkRequests, which is required for the Portal Network.

I noticed something was broken when trying to upgrade Trin to alloy back in Apr 5, 2024. I delayed upgrading ethereum/trin#1231 because I didn't have time to debug this issue at the time.

So here is the fix to the regression and a few tests to prevent it from happening again

Notes & open questions

Change checklist

  • Self-review
  • Documentation updates if relevant
  • Tests if relevant

@KolbyML
Copy link
Contributor Author

KolbyML commented Jan 17, 2025

@jxs @AgeManning ping for review

@AgeManning
Copy link
Member

Yeah. This change cooked us also in a variety of ways, but it was outside the library. I thought I had caught them all, but we don't use the TalkRequest RPC, so apologies for missing this one.

@AgeManning AgeManning merged commit 9d211f6 into sigp:master Jan 20, 2025
6 checks passed
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