mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-24 16:59:26 +00:00
When eth_estimateGas or eth_call is invoked with an authorizationList containing unsigned (zero-signature) entries, the signature recovery fails and the authorization is silently skipped. This means the sender's account never receives the delegated code, producing an incorrect gas estimate. Fix this by falling back to msg.From as the authority when signature recovery fails in simulation mode (SkipTransactionChecks). Also skip authorization nonce validation when SkipNonceChecks is set, consistent with the existing sender nonce skip behaviour. Fixes #31617 |
||
|---|---|---|
| .. | ||
| override | ||
| testdata | ||
| addrlock.go | ||
| api.go | ||
| api_test.go | ||
| backend.go | ||
| dbapi.go | ||
| errors.go | ||
| logtracer.go | ||
| simulate.go | ||
| simulate_test.go | ||
| transaction_args.go | ||
| transaction_args_test.go | ||