Skip to content

db/state: fix MaxStep using MinTxNum in DomainRoTx.prune#20609

Open
benderrobert wants to merge 2 commits intoerigontech:mainfrom
benderrobert:fix-domain-maxstep-mintxnumcopy
Open

db/state: fix MaxStep using MinTxNum in DomainRoTx.prune#20609
benderrobert wants to merge 2 commits intoerigontech:mainfrom
benderrobert:fix-domain-maxstep-mintxnumcopy

Conversation

@benderrobert
Copy link
Copy Markdown
Contributor

copy-paste bug in (*DomainRoTx).prune. changed stat.MaxStep = kv.Step(pruneStat.MinTxNum / dt.stepSize) to stat.MaxStep = kv.Step(pruneStat.MaxTxNum / dt.stepSize). MinStep line above is unchanged.

@AskAlexSharov AskAlexSharov added this pull request to the merge queue Apr 18, 2026
AskAlexSharov added a commit that referenced this pull request Apr 18, 2026
Cherry-pick of #20609 to release/3.4

Co-authored-by: bendertherobert <[email protected]>
@AskAlexSharov AskAlexSharov removed this pull request from the merge queue due to a manual request Apr 18, 2026
@AskAlexSharov AskAlexSharov enabled auto-merge April 18, 2026 10:14
AskAlexSharov added a commit that referenced this pull request Apr 18, 2026
Cherry-pick of #20609 to release/3.4

Co-authored-by: bendertherobert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants