feat(truapi-server): add wire and chain infrastructure#256
Open
pgherveou wants to merge 4 commits into
Open
Conversation
This was referenced Jul 1, 2026
a5e9e7c to
a2f623f
Compare
26cc238 to
937d576
Compare
96bec3b to
8035a9d
Compare
04d0a11 to
c43bd21
Compare
a696d4e to
a3e6efa
Compare
c43bd21 to
2a75bee
Compare
valentinfernandez1
approved these changes
Jul 2, 2026
| return Err(error); | ||
| } | ||
|
|
||
| rx.await |
Collaborator
There was a problem hiding this comment.
There is no timeout for the rpc request, so a request could hang indefinitely
Collaborator
Author
There was a problem hiding this comment.
yes I believe the cancelation signal should be propagated all the way from the product, unfortunately that's not something the protocol as currently design allow us to do.
I will open an issue for that so we can follow up
a3e6efa to
fa642c1
Compare
2a75bee to
e4d9a0d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the
truapi-serverwire/chain infrastructure: frame codec helpers, dispatcher registration, subscription plumbing, host JSON-RPC client, and chain runtime mechanics.Stack
Part of the Rust core runtime port (umbrella: #104), split into a reviewable stack. Merge bottom-up.
Local verification
cargo build --workspace --all-targets --all-featurescargo +nightly fmt --checkcargo +nightly clippy --workspace --all-targets --all-features -- -D warningscargo test --workspace --all-features