go-ethereum/contracts
Daniel Liu 8d93eb6e3d
fix(contracts): use pool nonce for imported block sign tx (#2213)
Use pool pending nonce when creating the imported-block sign transaction.

Previously the code used state nonce, which could lag behind pool nonce when a pending tx with the same sender already existed. In that case, adding the new sign tx could hit replacement checks and fail with 'replacement transaction underpriced'.

This change switches nonce selection to PoolNonce to avoid nonce reuse in the local pool and prevent repeated sign insertion failures after block import.
2026-03-19 14:26:58 +08:00
..
blocksigner all: fix goimports (#1560) 2025-09-24 07:51:10 +08:00
multisigwallet all: fix goimports (#1495) 2025-09-17 08:15:43 +08:00
randomize core: move genesis alloc types to core/types (#29003) 2025-01-24 16:54:12 +08:00
solidity_0.6 new EVM Upgrade 2021-09-21 16:53:46 +05:30
tests contracts, tests: fix global variable modifications and remove unsafe parallelism (#1882) 2025-12-22 12:00:39 +05:30
trc21issuer all: replace Div/Mul with Rsh/Lsh if possible #29911 (#1966) 2026-01-29 11:31:58 +05:30
validator fix(all): fix typo foudation (#2063) 2026-02-28 18:00:55 +04:00
XDCx all: remove extra empty lines (#1574) 2025-10-08 12:25:10 +08:00
utils.go fix(contracts): use pool nonce for imported block sign tx (#2213) 2026-03-19 14:26:58 +08:00
utils_test.go fix(contracts): use pool nonce for imported block sign tx (#2213) 2026-03-19 14:26:58 +08:00