erigon-pulse/polygon/bor
Andrew Ashikhmin b38e17e393
Implement PIP-33: Napoli Hardfork (#8975)
Initial support of the upcoming Napoli hard fork on Polygon – see
[PIP-33](https://forum.polygon.technology/t/pip-33-napoli-upgrade). Per
[PIP-31](https://github.com/maticnetwork/Polygon-Improvement-Proposals/blob/main/PIPs/PIP-31.md),
it parallels the
[Cancun](https://github.com/ethereum/execution-specs/blob/master/network-upgrades/mainnet-upgrades/cancun.md)
upgrade of Ethereum, but does not include
[EIP-4788](https://eips.ethereum.org/EIPS/eip-4788),
[EIP-4844](https://eips.ethereum.org/EIPS/eip-4844),
[EIP-7516](https://eips.ethereum.org/EIPS/eip-7516). In other words,
Napoli includes [EIP-1153](https://eips.ethereum.org/EIPS/eip-1153),
[EIP-5656](https://eips.ethereum.org/EIPS/eip-5656),
[EIP-6780](https://eips.ethereum.org/EIPS/eip-6780) from Cancun.

This PR implements
[PIP-31](https://github.com/maticnetwork/Polygon-Improvement-Proposals/blob/main/PIPs/PIP-31.md),
[PIP-16: Transaction Dependency
Data](https://github.com/maticnetwork/Polygon-Improvement-Proposals/blob/main/PIPs/PIP-16.md)
(by merging `ParallelUniverseBlock` into `NapoliBlock`; the bulk of
PIP-16 was implemented in PR #8037), and [PIP-27: Precompiled for
secp256r1 Curve
Support](https://github.com/maticnetwork/Polygon-Improvement-Proposals/blob/main/PIPs/PIP-27.md)
([EIP-7212](https://eips.ethereum.org/EIPS/eip-7212); see also
https://github.com/maticnetwork/bor/pull/1069 &
https://github.com/ethereum/go-ethereum/pull/27540).

---------

Co-authored-by: Anshal Shukla <shukla.anshal85@gmail.com>
2024-01-17 14:13:16 +01:00
..
borcfg Implement PIP-33: Napoli Hardfork (#8975) 2024-01-17 14:13:16 +01:00
finality polygon: flatten redundant packages (#9241) 2024-01-16 09:23:02 +01:00
statefull bor: move to polygon directory (#9174) 2024-01-09 19:20:42 +01:00
valset polygon: refactor header.Time validation (#9213) 2024-01-12 16:11:01 +01:00
bor_test.go polygon: flatten redundant packages (#9241) 2024-01-16 09:23:02 +01:00
bor.go Implement PIP-33: Napoli Hardfork (#8975) 2024-01-17 14:13:16 +01:00
errors.go polygon: flatten redundant packages (#9241) 2024-01-16 09:23:02 +01:00
fake.go bor: move to polygon directory (#9174) 2024-01-09 19:20:42 +01:00
genesis_contracts.go polygon: flatten redundant packages (#9241) 2024-01-16 09:23:02 +01:00
merkle.go bor: move to polygon directory (#9174) 2024-01-09 19:20:42 +01:00
snapshot_test.go polygon: refactor header.Time validation (#9213) 2024-01-12 16:11:01 +01:00
snapshot.go polygon: refactor header validations for reuse in sync (#9224) 2024-01-12 21:01:28 +01:00
span_id_test.go polygon: flatten redundant packages (#9241) 2024-01-16 09:23:02 +01:00
span_id.go polygon: flatten redundant packages (#9241) 2024-01-16 09:23:02 +01:00
spanner_mock.go polygon: flatten redundant packages (#9241) 2024-01-16 09:23:02 +01:00
spanner_test_validators.go polygon: flatten redundant packages (#9241) 2024-01-16 09:23:02 +01:00
spanner.go polygon: flatten redundant packages (#9241) 2024-01-16 09:23:02 +01:00