fix(v11): install missing EIP-2935 history-storage contract#149
fix(v11): install missing EIP-2935 history-storage contract#149aluque-peersyst wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe v11 upgrade wiring now passes an EVM keeper into the handler. During the upgrade, the handler checks default EVM preinstalls and adds any that are missing. Changesv11 EVM preinstall upgrade
Sequence Diagram(s)sequenceDiagram
participant CreateUpgradeHandler as "v11.CreateUpgradeHandler"
participant installMissingPreinstalls as "installMissingPreinstalls"
participant EvmKeeper
participant DefaultPreinstalls as "evmtypes.DefaultPreinstalls"
CreateUpgradeHandler->>installMissingPreinstalls: run after escrow withdrawal
installMissingPreinstalls->>DefaultPreinstalls: iterate preinstalls
installMissingPreinstalls->>EvmKeeper: IsContract(addr)
alt preinstall is missing
installMissingPreinstalls->>EvmKeeper: AddPreinstalls(preinstalls)
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 golangci-lint (2.12.2)Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary by CodeRabbit
history-storagecontract when required) during the upgrade flow.