-
Notifications
You must be signed in to change notification settings - Fork 39
Change payer envelope to bytes field #552
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
Change payer envelope to bytes field #552
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request updates the way envelope data is generated, processed, and handled across several components. It changes the branch used for protobuf generation and refactors envelope construction by shifting from directly unmarshaling to working with byte representations. Several functions have updated signatures to return errors, and new helper functions (such as one to create a payer envelope from bytes) have been introduced. Test functions and utility code are also modified to reflect these changes, ensuring that error handling is improved and the envelope data flows consistently through the system. Changes
Sequence Diagram(s)sequenceDiagram
participant Caller as Service/Indexer
participant Builder as EnvelopeBuilder
participant ProtoUtil as Proto Utility
Caller->>Builder: Request envelope construction
Builder->>ProtoUtil: Marshal payer envelope (using bytes)
ProtoUtil-->>Builder: Return PayerEnvelope instance (or error)
alt Error Occurs
Builder-->>Caller: Return error
Note right of Caller: Log error and halt further processing
else Successful
Builder-->>Caller: Return constructed envelope
Caller->>Next: Proceed with signing or blockchain operations
end
Possibly related PRs
Suggested reviewers
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 golangci-lint (1.62.2)Error: can't load config: the Go language version (go1.23) used to build golangci-lint is lower than the targeted Go version (1.24) 📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (10)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |

Summary by CodeRabbit
New Features
Refactor
Chores