diff --git a/rpc/errors.go b/rpc/errors.go index 09927e18b2..4a2dab3d98 100644 --- a/rpc/errors.go +++ b/rpc/errors.go @@ -73,7 +73,7 @@ var ErrNoHistoricalFallback = NoHistoricalFallbackError{} type NoHistoricalFallbackError struct{} -func (e NoHistoricalFallbackError) ErrorCode() int { return -32701 } +func (e NoHistoricalFallbackError) ErrorCode() int { return -32801 } func (e NoHistoricalFallbackError) Error() string { return "no historical RPC is available for this historical (pre-bedrock) execution request"