upstream: pick bug fix from latest geth #4057
Annotations
1 error
Run wagoid/commitlint-github-action@v5
You have commit messages with errors
⧗ input: eth/gasprice: fix eth_feeHistory blobGasRatio (#31246)
This change divides BlobGasUsed by MaxBlobGasPerBlock instead of
MaxBlobsPerBlock. Dividing by MaxBlobsPerBlock
meant the blobGasUsedRatio was an incorrect large number. This bug was
introduced by a typo
[here](https://github.com/ethereum/go-ethereum/commit/e6f3ce7b168b8f346de621a8f60d2fa57c2ebfb0#diff-3357b2399699d7cf954c543cbfb02ff442eb24491e55f5e813e3cc85829b3e8dR110)
Fixes https://github.com/ethereum/go-ethereum/issues/31245
✖ footer's lines must not be longer than 100 characters [footer-max-line-length]
⚠ footer must have leading blank line [footer-leading-blank]
✖ found 1 problems, 1 warnings
ⓘ Get help: https://github.com/bnb-chain/bsc/tree/develop/docs/lint/commit.md
⧗ input: core/txpool: fix error logs flood caused by removeAuthorities (#31249)
when remove an non-SetCodeTxType transaction, error logs flood
```
t=2025-02-25T03:11:06+0000 lvl=error msg="Authority with untracked tx" addr=0xD5bf9221fCB1C31Cd1EE477a60c148d40dD63DC1 hash=0x626fdf205a5b1619deb2f9e51fed567353f80acbd522265b455daa0821c571d9
```
in this PR, only try to removeAuthorities for txs with SetCodeTxType
in addition, the performance of removeAuthorities improved a lot,
because no need range all `t.auths` now.
---------
Co-authored-by: lightclient <[email protected]>
✖ body's lines must not be longer than 100 characters [body-max-line-length]
✖ found 1 problems, 0 warnings
ⓘ Get help: https://github.com/bnb-chain/bsc/tree/develop/docs/lint/commit.md
|
Loading