Skip to content

Commit ecbf4f3

Browse files
authored
fix(core/txpool): demote error log to warn (#1034)
1 parent f0ef658 commit ecbf4f3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RELEASES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Removed legacy warp message handlers in favor of ACP-118 SDK handlers.
66
- Use `state-history` eth config flag to designate the number of recent states queryable.
77
- Moves atomic operations from plugin/evm to plugin/evm/atomic and wraps the plugin/evm/VM in `atomicvm` to separate the atomic operations from the EVM execution.
8+
- Demoted unnecessary error log in `core/txpool/legacypool.go` to warning, displaying unexpected but valid behavior.
89

910
## [v0.15.1](https://github.com/ava-labs/coreth/releases/tag/v0.15.1)
1011

core/txpool/legacypool/legacypool.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1761,7 +1761,7 @@ func (pool *LegacyPool) demoteUnexecutables() {
17611761
gapped := list.Cap(0)
17621762
for _, tx := range gapped {
17631763
hash := tx.Hash()
1764-
log.Error("Demoting invalidated transaction", "hash", hash)
1764+
log.Warn("Demoting invalidated transaction", "hash", hash)
17651765

17661766
// Internal shuffle shouldn't touch the lookup set.
17671767
pool.enqueueTx(hash, tx, false, false)

0 commit comments

Comments
 (0)