evm_fork_cache_event_protocol/lib.rs
1#![doc = include_str!("../README.md")]
2#![warn(missing_docs)]
3
4/// Current wire protocol version.
5pub const PROTOCOL_VERSION: u32 = 1;
6
7/// Maximum encoded gRPC message size accepted by both client and service.
8pub const MAX_MESSAGE_SIZE_BYTES: usize = 32 * 1024 * 1024;
9
10/// Version 1 protobuf messages and gRPC service definitions.
11#[allow(missing_docs, clippy::missing_errors_doc)]
12pub mod v1 {
13 tonic::include_proto!("evm_fork_cache.events.v1");
14}