Skip to content

Conversation

bplatak
Copy link
Contributor

@bplatak bplatak commented Jul 24, 2025

Summary

Allow omitting the id in the json request and add a new error type. Also fix an issuer with deserialising JrpcResponse<...>.

Rationale

We are giving the clients an option to disable receiving successful send acknowledgments by omitting the id parameter from the request body (making it a notification rather than a request). PF-334

How has this been tested?

  • Current tests cover my changes
  • Added new tests
  • Manually tested the code

@bplatak bplatak requested review from darunrs and Riateche as code owners July 24, 2025 21:41
Copy link

vercel bot commented Jul 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 9:46pm
component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 9:46pm
developer-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 9:46pm
entropy-debugger ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 9:46pm
entropy-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 9:46pm
insights ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 9:46pm
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 9:46pm
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 24, 2025 9:46pm

Copy link
Contributor

@Riateche Riateche left a comment

Choose a reason for hiding this comment

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

I thought we were going to use jsonrpc-types?

@bplatak
Copy link
Contributor Author

bplatak commented Jul 28, 2025

I thought we were going to use jsonrpc-types?

For the time being we're using our own types but we will refactor it later. See #2836 (comment)

@bplatak bplatak merged commit 6853773 into main Jul 28, 2025
11 checks passed
@bplatak bplatak deleted the feat/pyth-lazer/agent/jrpc-impl-3 branch July 28, 2025 20:55
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.

4 participants