Fix ETH Goerli Archive: websocket: read limit exceeded
Geth sets wsMessageSizeLimit to 15M. However, Goerli contains blocks (e.g. 6109494) which require larger limit to fetch the debug_traceBlockByHash response. Fixed by a hacky way of modifying the geth source before the build of the project. Will submit PR to go-ethereum with a final fix.
This commit is contained in:
parent
60df986fb8
commit
9ce6955c2a
@ -38,3 +38,4 @@ prepare-sources:
|
|||||||
mkdir -p $(BLOCKBOOK_BASE)
|
mkdir -p $(BLOCKBOOK_BASE)
|
||||||
cp -r /src $(BLOCKBOOK_SRC)
|
cp -r /src $(BLOCKBOOK_SRC)
|
||||||
cd $(BLOCKBOOK_SRC) && go mod download
|
cd $(BLOCKBOOK_SRC) && go mod download
|
||||||
|
sed -i 's/wsMessageSizeLimit\ =\ 15\ \*\ 1024\ \*\ 1024/wsMessageSizeLimit = 50 * 1024 * 1024/g' $(GOPATH)/pkg/mod/github.com/ethereum/go-ethereum*/rpc/websocket.go
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user