Skip to content

R3 Polygon Bhilai Fork Updates#15331

Merged
mh0lt merged 18 commits into
release/3.0from
r3_bhilai_for_updates
May 30, 2025
Merged

R3 Polygon Bhilai Fork Updates#15331
mh0lt merged 18 commits into
release/3.0from
r3_bhilai_for_updates

Conversation

@mh0lt

@mh0lt mh0lt commented May 29, 2025

Copy link
Copy Markdown
Contributor

This is a cherry pick from main of the #15261: Which implements the Bhilai fork changes as specified in:

PIP-63

and also the feature to allow early block announcements specified in:

PIP-66

The individual changes included here are:

PIP-60: Increase gas limit to 45M
PIP-58: Increase BaseFeeChangeDenominator to 64
EIP-2537: Precompile for BLS12-381 curve operations
EIP-2935: Save historical block hashes in state
EIP-7623: Increase calldata cost
EIP-7702: Set EOA account code (PIP-51)
PIP-66: Allow early block announcements

mh0lt added 17 commits May 29, 2025 11:36
(cherry picked from commit 855da5f)
(cherry picked from commit 082ce43)
(cherry picked from commit 1ab5f9b)
(cherry picked from commit f3f3400)
(cherry picked from commit b4618e9)
(cherry picked from commit ae8af51)
(cherry picked from commit 99192da)
(cherry picked from commit a216d1f)
(cherry picked from commit 9581c31)
(cherry picked from commit 1f5f126)
Perhaps it doesn't matter much in practice, but this PR hardens the
[implementation](#15261) of
[PIP-66](https://github.com/maticnetwork/Polygon-Improvement-Proposals/blob/main/PIPs/PIP-66.md)
to avoid potential `uint64` overflows.

(cherry picked from commit bc4cb61)
This is a fix to PR #15261. Before this PR
[EIP-7623](https://eips.ethereum.org/EIPS/eip-7623) and
[EIP-7702](https://eips.ethereum.org/EIPS/eip-7702) were not counted as
activated in `(p *TxPool) validateTx` when
[Bhilai](https://github.com/maticnetwork/Polygon-Improvement-Proposals/blob/main/PIPs/PIP-63.md)
was activated.

(cherry picked from commit fc4f264)
@mh0lt mh0lt changed the title R3 bhilai for updates R3 Polygon Bhilai Fork Updates May 29, 2025
@mh0lt mh0lt requested a review from yperbasis May 30, 2025 10:33
@mh0lt mh0lt linked an issue May 30, 2025 that may be closed by this pull request
@yperbasis yperbasis added this to the 3.0.5 milestone May 30, 2025
@mh0lt mh0lt merged commit bd633e9 into release/3.0 May 30, 2025
8 checks passed
@mh0lt mh0lt deleted the r3_bhilai_for_updates branch May 30, 2025 13:52
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.

Implement Polygon Bhilia Hard Fork Changes

2 participants