From 0727b9ce7a77f8fb557b0b2fbe4884a8527af43f Mon Sep 17 00:00:00 2001 From: lumtis Date: Wed, 10 Jan 2024 17:03:11 -0800 Subject: [PATCH 1/2] fix(): reduce websocket message limit to 10MB --- rpc/websockets.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/websockets.go b/rpc/websockets.go index c3b928dc36..3c64bfdb8a 100644 --- a/rpc/websockets.go +++ b/rpc/websockets.go @@ -47,7 +47,7 @@ import ( ) const ( - messageSizeLimit = 32 * 1024 * 1024 // 32MB + messageSizeLimit = 10 * 1024 * 1024 // 10MB ) From 973f2ee2d55605764807a2f9e71795435ce0024c Mon Sep 17 00:00:00 2001 From: lumtis Date: Wed, 10 Jan 2024 17:36:12 -0800 Subject: [PATCH 2/2] changelogs --- changelog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.md b/changelog.md index 9ae132349c..dc9ffa7a9d 100644 --- a/changelog.md +++ b/changelog.md @@ -35,6 +35,7 @@ * [1525](https://github.com/zeta-chain/node/pull/1525) - relax EVM chain block header length check 1024->4096 * [1522](https://github.com/zeta-chain/node/pull/1522/files) - block `distribution` module account from receiving zeta * [1528](https://github.com/zeta-chain/node/pull/1528) - fix panic caused on decoding malformed BTC addresses +* [1555](https://github.com/zeta-chain/node/pull/1555) - Reduce websocket message limit to 10MB ### Refactoring