Conversation
AskAlexSharov
left a comment
There was a problem hiding this comment.
unfortunately we don't support bor/polygon anymore
|
Closing as overtaken by events rather than on the merits: Erigon has dropped Polygon support, tracked in #23503. The diagnosis was right — Both sides of the mismatch are now gone: #23492 removed the Bor arm from |
|
Reopening. I closed this on the Bor half of the mismatch; the shape you diagnosed outlived Polygon.
Your fix shape — move the active consensus selection into Also recorded independently by yperbasis on #22200 (2026-07-29). |
|
To be concrete about where this lands now — the diff above is empty against current The defect you diagnosed did survive the removal, and it is item 1 of the gate in #22193. What it looks like today, with Bor gone:
Your shape holds unchanged: move the active consensus selection into It closes standalone and blocks nothing else in that epic. Yours if you want it — say so and I will leave it alone; otherwise I will pick it up and credit the diagnosis here. |
Summary
ActiveRulesName/UsesBorEnginedecision innode/rulesconfigrpcdaemonuse that decision for local engine setup, remote engine setup, and Bor reader compatibility checksValidatorContractgateProblem
CreateRulesEngineonly enables the Bor engine when the Bor config has a validator contract, butrpcdaemonwas instantiatingbor.NewRowhenevercc.Bor != nil. That let the RPC path drift away from the main engine factory and could enable Bor-only behavior on configs that should still behave like ethash.Solution
Move the active consensus selection into
node/rulesconfigand reuse it fromrpcdaemon, so both paths apply the same Bor gate and fall back consistently when Bor support is only partially present.