From 8899a328224ed7697979c9905aa4a77e54b6c20f Mon Sep 17 00:00:00 2001 From: rvanasa Date: Thu, 5 Sep 2024 15:47:09 -0600 Subject: [PATCH 1/2] Add explanation of 'NonceTooLow' error message in EVM RPC docs --- .../multi-chain/ethereum/evm-rpc/evm-rpc-canister.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/developer-docs/multi-chain/ethereum/evm-rpc/evm-rpc-canister.mdx b/docs/developer-docs/multi-chain/ethereum/evm-rpc/evm-rpc-canister.mdx index 341391721c..903d85b520 100644 --- a/docs/developer-docs/multi-chain/ethereum/evm-rpc/evm-rpc-canister.mdx +++ b/docs/developer-docs/multi-chain/ethereum/evm-rpc/evm-rpc-canister.mdx @@ -798,6 +798,10 @@ dfx canister call evm_rpc eth_sendRawTransaction "(variant {$RPC_SOURCE}, $RPC_C +Note that some JSON-RPC APIs may only return a `NonceTooLow` status when successfully submitting a transaction. This is because during HTTP outcall consensus, only the first request is successful while the others respond with a duplicate transaction. + +If you encounter this issue, one possible workaround is to use a deduplicating proxy server such as the community built C-ATTS EVM RPC proxy ([source code](https://github.com/c-atts/catts-evm-rpc-proxy)). + ### Error "already known" Sending a transaction to the Ethereum network is a state changing operation. Since the EVM-RPC canister sends a transaction to some JSON-RPC providers via HTTPs outcalls, each contacted provider will receive the same transaction multiple times. From 6fc0b4684a0e5497cec7d5a8d1c5b403172784cf Mon Sep 17 00:00:00 2001 From: rvanasa Date: Thu, 5 Sep 2024 15:48:37 -0600 Subject: [PATCH 2/2] Adjust wording --- .../multi-chain/ethereum/evm-rpc/evm-rpc-canister.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/developer-docs/multi-chain/ethereum/evm-rpc/evm-rpc-canister.mdx b/docs/developer-docs/multi-chain/ethereum/evm-rpc/evm-rpc-canister.mdx index 903d85b520..796beed5cc 100644 --- a/docs/developer-docs/multi-chain/ethereum/evm-rpc/evm-rpc-canister.mdx +++ b/docs/developer-docs/multi-chain/ethereum/evm-rpc/evm-rpc-canister.mdx @@ -798,9 +798,9 @@ dfx canister call evm_rpc eth_sendRawTransaction "(variant {$RPC_SOURCE}, $RPC_C -Note that some JSON-RPC APIs may only return a `NonceTooLow` status when successfully submitting a transaction. This is because during HTTP outcall consensus, only the first request is successful while the others respond with a duplicate transaction. +Note that some JSON-RPC APIs may only return a `NonceTooLow` status when successfully submitting a transaction. This is because during HTTP outcall consensus, only the first request is successful while the others reply with a duplicate transaction status. -If you encounter this issue, one possible workaround is to use a deduplicating proxy server such as the community built C-ATTS EVM RPC proxy ([source code](https://github.com/c-atts/catts-evm-rpc-proxy)). +If you encounter this issue, one possible workaround is to use a deduplicating proxy server such as the community-built C-ATTS EVM RPC proxy ([source code](https://github.com/c-atts/catts-evm-rpc-proxy)). ### Error "already known"