Skip to content

Commit 23f7a57

Browse files
authored
chore: increase grpc message size to allow for BIG BLONKS (#1694)
## Description This will need to be released and added into v3 as part of the v4 upgrade. It will not effect running nodes today #### PR checklist - [ ] Tests written/updated - [ ] Changelog entry added in `.changelog` (we use [unclog](https://github.com/informalsystems/unclog) to manage our changelog) - [ ] Updated relevant documentation (`docs/` or `spec/`) and code comments
1 parent 89270d0 commit 23f7a57

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

abci/server/grpc_server.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import (
1010
"github.com/tendermint/tendermint/libs/service"
1111
)
1212

13+
const mebibyte = 1024 * 1024
14+
1315
type GRPCServer struct {
1416
service.BaseService
1517

@@ -43,7 +45,9 @@ func (s *GRPCServer) OnStart() error {
4345
}
4446

4547
s.listener = ln
46-
s.server = grpc.NewServer()
48+
s.server = grpc.NewServer(
49+
grpc.MaxRecvMsgSize(mebibyte * 75),
50+
)
4751
types.RegisterABCIApplicationServer(s.server, s.app)
4852

4953
s.Logger.Info("Listening", "proto", s.proto, "addr", s.addr)

0 commit comments

Comments
 (0)