Skip to content

feat: add RPC read-only mode#802

Merged
Mirko-von-Leipzig merged 3 commits intonextfrom
tomasarrachea-rpc-read-only
May 1, 2025
Merged

feat: add RPC read-only mode#802
Mirko-von-Leipzig merged 3 commits intonextfrom
tomasarrachea-rpc-read-only

Conversation

@TomasArrachea
Copy link
Collaborator

@TomasArrachea TomasArrachea commented Apr 24, 2025

Closes #742.

This PR allows to run the RPC component in read-only mode, i.e. without a block producer. When receiving a request for submit_proven_transaction endpoint, it will return an error: Status::unavailable("Transaction submission not available in read-only mode").

@TomasArrachea TomasArrachea force-pushed the tomasarrachea-rpc-read-only branch from 1124d75 to b0616c9 Compare April 28, 2025 19:23
@TomasArrachea TomasArrachea marked this pull request as ready for review April 28, 2025 19:36
Base automatically changed from tomasarrachea-refactor-components-startup to next April 28, 2025 23:05
@TomasArrachea TomasArrachea force-pushed the tomasarrachea-rpc-read-only branch from 26817a4 to e561be1 Compare April 28, 2025 23:27
@Mirko-von-Leipzig Mirko-von-Leipzig merged commit fe2a6c8 into next May 1, 2025
6 checks passed
@Mirko-von-Leipzig Mirko-von-Leipzig deleted the tomasarrachea-rpc-read-only branch May 1, 2025 08:11
SantiagoPittella pushed a commit that referenced this pull request May 16, 2025
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.

3 participants