Skip to content

refactor: wire mempool to RPC and store#2134

Closed
Mirko-von-Leipzig wants to merge 4 commits into
nextfrom
mirko/yank-gp-grpc
Closed

refactor: wire mempool to RPC and store#2134
Mirko-von-Leipzig wants to merge 4 commits into
nextfrom
mirko/yank-gp-grpc

Conversation

@Mirko-von-Leipzig
Copy link
Copy Markdown
Collaborator

@Mirko-von-Leipzig Mirko-von-Leipzig commented May 25, 2026

This PR is part of #1961.

It removes the block producer's gRPC service, and the store's block producer gRPC service by giving the RPC component direct access to shared store State and the SharedMempool. The RPC service can therefore directly implement the bits currently performed by the store and bp gRPC services.

This PR does not use the state for read requests, only for the tx/batch submission paths. The former will be done in a separate PR.

The apply_block is also embedded into the block builder process chain itself, which removes the desync problem.

The mempool subscription is also no longer required by the ntx builder so it also gets yanked.

@Mirko-von-Leipzig Mirko-von-Leipzig added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label May 25, 2026
@Mirko-von-Leipzig
Copy link
Copy Markdown
Collaborator Author

Superseded by #2138, #2139, #2140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog This PR does not require an entry in the `CHANGELOG.md` file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant