fix(precompiles): preserve mega overrides across spec changes#308
Conversation
Generated-by: engineer-agent
Codecov Report✅ All modified and coverable lines are covered by tests. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Generated-by: engineer-agent
|
🔧 Pushed CI fixes. Agent log |
|
Updated the PR labels accordingly.
This matches the behavior of the change: it fixes stable-spec precompile behavior rather than leaving behavior unchanged. |
|
Updated accordingly.
That matches the intent of the change: this PR fixes stable-spec precompile behavior rather than leaving behavior unchanged. |
|
Added The PR now carries:
That reflects both parts of the change: the stable-spec precompile fix and the follow-up spec documentation update in |
|
Updated already.
That matches the behavior of the change: this PR fixes stable-spec precompile behavior and also includes the follow-up documentation update. |
|
No action needed here. This is the automated Codecov coverage report. It is informational, and it already shows the relevant result for this PR:
There is no question to answer or requested change to make from this comment. |
|
LGTM. The fix is minimal and correct:
|
|
Thanks. That matches the intent of the change. The fix is meant to make the |
Summary
Make the
MegaContextprecompile provider treatset_spec(OpSpecId)as a no-op so the precompile table baked at EVM construction is never rebuilt from a vanilla op spec. This preserves Mega-specific overrides like the 100k-gas KZG pricing even if upstream starts exercisingset_specon the warm transaction path, and adds a regression test to pin that behavior.Fixes #286