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

Restore en-/decoding compatibility for GetCurrentPParams #95

Merged
merged 1 commit into from
May 23, 2023

Commits on May 23, 2023

  1. Fix backwards compatibility of a GetCurrentPParams query

    By introducing a newtype `LegacyPParams` we can create different
    `ToCBOR`/`FromCBOR` instances that matchup with the old and buggy
    serialization.
    
    We can then switch the en-/decoders used based on the negotiated
    protocol version in order to support older clients.
    
    Co-authored-by: Alexey Kuleshevich <[email protected]>
    amesgen and lehins committed May 23, 2023
    Configuration menu
    Copy the full SHA
    f8072e9 View commit details
    Browse the repository at this point in the history