scroll-tech / go-ethereum

Scroll's fork of the official Go implementation of the Ethereum protocol
GNU Lesser General Public License v3.0
458 stars 262 forks source link

feat: handle l1 rpc error #854

Open NazariiDenha opened 1 month ago

NazariiDenha commented 1 month ago

1. Purpose or design rationale of this PR

Handle Rpc Error as documented here https://hackmd.io/@haichen/l1sload#Errors

Do not treat L1RpcError as an execution error, but instead retry the request and not remove tx from TxPool

2. PR title

Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

3. Deployment tag versioning

Has the version in params/version.go been updated?

4. Breaking change label

Does this PR have the breaking-change label?