From 5bce990891435ff9881192cf52373bf93317b704 Mon Sep 17 00:00:00 2001 From: FT <140458077+zeevick10@users.noreply.github.com> Date: Tue, 15 Jul 2025 00:08:06 +0200 Subject: [PATCH] all: fix outdated ethereum wiki json-rpc json-rpc doc links (#32209) Replace outdated wiki reference with ethereum.org documentation links --- internal/ethapi/api.go | 2 +- internal/ethapi/errors.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 21c35b7665..8857f1c04f 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1549,7 +1549,7 @@ func (api *TransactionAPI) SendRawTransaction(ctx context.Context, input hexutil // // The account associated with addr must be unlocked. // -// https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sign +// https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sign func (api *TransactionAPI) Sign(addr common.Address, data hexutil.Bytes) (hexutil.Bytes, error) { // Look up the wallet containing the requested signer account := accounts.Account{Address: addr} diff --git a/internal/ethapi/errors.go b/internal/ethapi/errors.go index ae38061234..154938fa0e 100644 --- a/internal/ethapi/errors.go +++ b/internal/ethapi/errors.go @@ -34,7 +34,7 @@ type revertError struct { } // ErrorCode returns the JSON error code for a revert. -// See: https://github.com/ethereum/wiki/wiki/JSON-RPC-Error-Codes-Improvement-Proposal +// See: https://ethereum.org/en/developers/docs/apis/json-rpc/#error-codes func (e *revertError) ErrorCode() int { return 3 } @@ -71,7 +71,7 @@ func (e *TxIndexingError) Error() string { } // ErrorCode returns the JSON error code for a revert. -// See: https://github.com/ethereum/wiki/wiki/JSON-RPC-Error-Codes-Improvement-Proposal +// See: https://ethereum.org/en/developers/docs/apis/json-rpc/#error-codes func (e *TxIndexingError) ErrorCode() int { return -32000 // to be decided }