Skip to content

core, params, builder: chicago hf for v2.8.0 release#2219

Merged
pratikspatil024 merged 5 commits into
masterfrom
v2.8.0-beta-candidate
May 14, 2026
Merged

core, params, builder: chicago hf for v2.8.0 release#2219
pratikspatil024 merged 5 commits into
masterfrom
v2.8.0-beta-candidate

Conversation

@marcello33
Copy link
Copy Markdown
Collaborator

@marcello33 marcello33 commented May 11, 2026

Summary

This release includes the changes required for an upcoming hardfork (Chicago)

Activation

Network Activation block Target time
Amoy 38358000 2026-05-14 14:00 UTC
Mainnet 87218600 2026-05-21 14:00 UTC

Rollout notes

  • Consensus-affecting; coordinated upgrade required across the network before the activation block on each chain.
  • Backward compatible up to the activation block — pre-activation behavior is unchanged.
  • No configuration migration or resync required.
  • Cut from master (hotfix-style release flow) to ship independently of develop's pending content. Post-release backport masterdevelop will follow.

Executed tests

Kurtosis devnets.

Copilot AI review requested due to automatic review settings May 11, 2026 16:44
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces the Chicago Bor hard fork (v2.8.0), implementing PIP-88 gas repricing for cold storage access (SLOAD/SSTORE) and several precompiles, plus wiring fork activation through chain rules, EVM dispatch, and genesis configs.

Changes:

  • Add Chicago fork flagging (ChicagoBlock, IsChicago) to Bor chain config/rules and forkid fork-gathering.
  • Implement PIP-88 gas repricing in the EVM (new Chicago jump table; new SLOAD/SSTORE gas funcs; repriced precompile gas schedules).
  • Add targeted tests validating repriced gas and fork-boundary dispatch; update genesis JSONs with activation blocks.

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
params/protocol_params.go Adds PIP-88 gas constants for cold storage and repriced precompiles.
params/config.go Adds Chicago fork activation field/methods and exposes IsChicago via Rules.
core/vm/operations_acl.go Implements PIP-88 SLOAD/SSTORE dynamic gas calculators and wiring.
core/vm/jump_table.go Introduces Chicago instruction set (LisovoPro + PIP-88).
core/vm/jump_table_export.go Adds instruction-set lookup dispatch for Chicago.
core/vm/evm.go Selects Chicago jump table when Chicago rules are active.
core/vm/eips.go Adds enablePIP88 jump-table patcher.
core/vm/contracts.go Adds Chicago precompile set and PIP-88 repricing via pip88 flags.
core/vm/contracts_test.go Adds/extends tests for PIP-88 precompile gas, SSTORE gas, and fork boundary behavior.
core/forkid/forkid.go Includes ChicagoBlock in Bor fork list gathering for forkid.
cmd/keeper/go.mod Bumps golang.org/x/sys indirect dependency.
cmd/keeper/go.sum Adds checksum entry for updated golang.org/x/sys go.mod.
builder/files/genesis-mainnet-v1.json Adds Chicago activation block for mainnet genesis config.
builder/files/genesis-amoy.json Adds Chicago activation block for Amoy genesis config.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread params/config.go
Comment thread core/vm/operations_acl.go
Comment thread params/protocol_params.go
@claude
Copy link
Copy Markdown

claude Bot commented May 11, 2026

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 11, 2026

Codecov Report

❌ Patch coverage is 90.90909% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 52.25%. Comparing base (8329cb4) to head (c3a8a6b).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
core/vm/operations_acl.go 86.76% 6 Missing and 3 partials ⚠️
params/config.go 50.00% 3 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2219      +/-   ##
==========================================
- Coverage   52.60%   52.25%   -0.35%     
==========================================
  Files         885      885              
  Lines      156570   155752     -818     
==========================================
- Hits        82362    81392     -970     
- Misses      68992    69124     +132     
- Partials     5216     5236      +20     
Files with missing lines Coverage Δ
core/forkid/forkid.go 76.69% <100.00%> (+0.11%) ⬆️
core/vm/contracts.go 77.71% <100.00%> (+0.87%) ⬆️
core/vm/eips.go 76.65% <100.00%> (+0.17%) ⬆️
core/vm/evm.go 39.95% <100.00%> (+0.76%) ⬆️
core/vm/jump_table.go 99.59% <100.00%> (+<0.01%) ⬆️
core/vm/jump_table_export.go 12.00% <100.00%> (+12.00%) ⬆️
params/protocol_params.go 84.21% <ø> (ø)
params/version.go 23.68% <ø> (ø)
params/config.go 36.94% <50.00%> (+0.12%) ⬆️
core/vm/operations_acl.go 52.80% <86.76%> (+15.98%) ⬆️

... and 30 files with indirect coverage changes

Files with missing lines Coverage Δ
core/forkid/forkid.go 76.69% <100.00%> (+0.11%) ⬆️
core/vm/contracts.go 77.71% <100.00%> (+0.87%) ⬆️
core/vm/eips.go 76.65% <100.00%> (+0.17%) ⬆️
core/vm/evm.go 39.95% <100.00%> (+0.76%) ⬆️
core/vm/jump_table.go 99.59% <100.00%> (+<0.01%) ⬆️
core/vm/jump_table_export.go 12.00% <100.00%> (+12.00%) ⬆️
params/protocol_params.go 84.21% <ø> (ø)
params/version.go 23.68% <ø> (ø)
params/config.go 36.94% <50.00%> (+0.12%) ⬆️
core/vm/operations_acl.go 52.80% <86.76%> (+15.98%) ⬆️

... and 30 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pratikspatil024 pratikspatil024 added the do not squash and merge This PR will be NOT be squashed and merged label May 14, 2026
Copilot AI review requested due to automatic review settings May 14, 2026 14:14
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
3.4% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 16 out of 17 changed files in this pull request and generated 8 comments.

Comment thread core/vm/operations_acl.go
Comment thread params/config.go
Comment thread params/config.go
Comment thread core/vm/operations_acl.go
Comment thread core/vm/contracts_test.go
Comment thread core/forkid/forkid.go
Comment thread params/protocol_params.go
Comment thread params/config.go
@pratikspatil024 pratikspatil024 merged commit 2cb8015 into master May 14, 2026
14 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not squash and merge This PR will be NOT be squashed and merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants