go-ethereum/core/txpool
Quentin McGaw fcf5204a02
core/txpool/legacypool: fix flaky test TestAllowedTxSize (#30975)
- it was failing because the maximum data length (previously `dataSize`)
was set to `txMaxSize - 213` but should had been `txMaxSize - 103` and
the last call `dataSize+1+uint64(rand.Intn(10*txMaxSize)))` would
sometimes fail depending on rand.Intn.
- Maximal transaction data size comment (invalid) replaced by code logic
to find the maximum tx length without its data length
- comments and variable naming improved for clarity
- 3rd pool add test replaced to add just 1 above the maximum length,
which is important to ensure the logic is correct
2025-01-13 19:33:49 +01:00
..
blobpool build: upgrade golangci-lint to v1.63.4 (#31019) 2025-01-13 08:26:10 +01:00
legacypool core/txpool/legacypool: fix flaky test TestAllowedTxSize (#30975) 2025-01-13 19:33:49 +01:00
errors.go core/txpool: elevate the 'already reserved' error into a constant (#29095) 2024-02-27 13:27:50 +02:00
subpool.go core/txpool, eth/catalyst: clear transaction pool in Rollback (#30534) 2024-11-19 13:35:52 +01:00
txpool.go metrics, cmd/geth: change init-process of metrics (#30814) 2024-12-10 13:27:29 +01:00
validation.go core, core/types: rename AuthList to SetCodeAuthorizations (#30935) 2024-12-19 10:06:33 +01:00