erigon-pulse/core
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
..
allocs add amoy bootnodes (#9158) 2024-01-08 12:26:08 +05:30
asm core: run tests in parallel (#8743) 2023-11-17 10:52:40 +07:00
forkid Implement PIP-33: Napoli Hardfork (#8975) 2024-01-17 14:13:16 +01:00
rawdb bor: move to polygon directory (#9174) 2024-01-09 19:20:42 +01:00
state [E3] Some fixes for the in-memory database when working with Caplin (… (#9164) 2024-01-09 08:26:26 +07:00
systemcontracts Remove CalcuttaBlock in favour of BlockAlloc (#8371) 2023-10-05 15:39:57 +02:00
types Implement PIP-33: Napoli Hardfork (#8975) 2024-01-17 14:13:16 +01:00
vm Implement PIP-33: Napoli Hardfork (#8975) 2024-01-17 14:13:16 +01:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
block_builder_parameters.go Support engine_forkchoiceUpdatedV3 with ParentBeaconBlockRoot (EIP-4788) (#7969) 2023-08-06 11:54:14 +02:00
block_validator_test.go stagedsync: implement bor span for chain reader and fix loggers (#9146) 2024-01-05 14:20:21 +00:00
block_validator.go Simplify miner gas limit post EIP-1559. Default to 30M (#3205) 2022-01-05 16:36:24 +07:00
blockchain.go metrics: use prometheus histogram and summary interfaces (#8808) 2023-11-24 17:50:57 +00:00
blocks.go reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
bor_fee_log.go reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
chain_makers.go Introduce extra functions for BorSpans (no-op) (#8648) 2023-11-04 10:59:07 +00:00
error.go EIP-4844: Rename "data gas" to "blob gas" (#7937) 2023-07-28 12:12:05 +02:00
events.go reference hash, address, and chain config from lib (#6536) 2023-01-13 18:12:18 +00:00
evm.go EIP-4844: rename "data hash" to "blob hash" (#7947) 2023-07-31 10:12:53 +02:00
gaspool.go EIP-4844: Rename "data gas" to "blob gas" (#7937) 2023-07-28 12:12:05 +02:00
genesis_test.go Added db loggers to all db callers and fixed flag settings (#9099) 2023-12-31 17:10:08 +07:00
genesis_write.go Added db loggers to all db callers and fixed flag settings (#9099) 2023-12-31 17:10:08 +07:00
mkalloc.go Break dependency of ethcfg package to core/consensus/etc... move genesis struct to 'types' package (#7206) 2023-03-29 07:27:06 +00:00
rlp_test.go Added db loggers to all db callers and fixed flag settings (#9099) 2023-12-31 17:10:08 +07:00
skip_analysis.go move chainname and snapcfg packages to erigon-lib (#8508) 2023-10-18 13:37:39 +07:00
state_processor.go evm: remove interpreter interface - step3 (#8842) 2023-11-29 09:29:16 +07:00
state_transition.go evm: remove interpreter interface - step3 (#8842) 2023-11-29 09:29:16 +07:00
system_contract_lookup.go bor: move to polygon directory (#9174) 2024-01-09 19:20:42 +01:00
tx_cacher.go Move ETL to erigon-lib (#2667) 2021-09-12 08:50:17 +01:00