Skip to content

Commit

Permalink
Merge pull request #3433 from dfinity/ryan/evm-rpc-proxy-docs
Browse files Browse the repository at this point in the history
docs(evm-rpc): add explanation of `NonceTooLow` transaction status
  • Loading branch information
jessiemongeon1 committed Sep 13, 2024
2 parents 3e70e7c + 6fc0b46 commit 5928dad
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,10 @@ dfx canister call evm_rpc eth_sendRawTransaction "(variant {$RPC_SOURCE}, $RPC_C
</TabItem>
</AdornedTabs>

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)).

### 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.
Expand Down

0 comments on commit 5928dad

Please sign in to comment.