Skip to content

feat: added prologue/epilogue macros for simpler wire decoding/encoidng#32

Merged
cococry merged 1 commit into
mainfrom
wire-macros
Jul 14, 2026
Merged

feat: added prologue/epilogue macros for simpler wire decoding/encoidng#32
cococry merged 1 commit into
mainfrom
wire-macros

Conversation

@cococry

@cococry cococry commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

Adds decoding/encoding macros to shared.c for consistency, safety & debugging. The macros include descriptive error reasons with context and variable values. This is done to make future wire debugging easier. This PR also includes FAITH_ENVELOPE_CLIENT_DISCONNECT which has been added to the protocol but is not dispatched/handled yet.

Testing

Describe how you tested this change.

  • scripts/check.sh passes locally
  • CI passes for this pull request

@cococry
cococry merged commit 3b679c8 into main Jul 14, 2026
4 of 5 checks passed
@cococry
cococry deleted the wire-macros branch July 14, 2026 10:37
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.

1 participant