Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allforks: Allow genesis to be post merge #2530

Merged
merged 5 commits into from Feb 14, 2023
Merged

allforks: Allow genesis to be post merge #2530

merged 5 commits into from Feb 14, 2023

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Feb 14, 2023

This PR builds on the top of other withdrawal fixes for #2498

since this needs its own separate consideration, however this branch can be used to continue fixing further withdrawal hive fixes

We have been having various oddies regarding merge at genesis, where we didn't allow genesi block to attain merge, and forcefully putting merge hf just after genesis hardforks. So even with shanghai genesis we would get merge hf at block 1, and other issues which would not be as clear to the developer.

Post discussions with @acolytec3 while hive debugging, we concluded that its ok or rather desirable to allow genesis to attain merge.

This PR allows merge at genesis as well as skips some validations for PoS genesis which hive post merge shanghai genesis were failing.

@g11tech g11tech added PR state: WIP package: block package: blockchain package: common type: test all hardforks This special label enables VM state and blockchain tests for all hardforks on the respective PR. package: client labels Feb 14, 2023
@codecov
Copy link

codecov bot commented Feb 14, 2023

Codecov Report

Merging #2530 (eb093d2) into master (a1ca973) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

Flag Coverage Δ
block 90.12% <100.00%> (+0.01%) ⬆️
blockchain 90.20% <100.00%> (+0.01%) ⬆️
client 87.76% <ø> (-0.05%) ⬇️
common 95.82% <ø> (ø)
devp2p 91.48% <ø> (-0.14%) ⬇️
ethash ?
evm 83.36% <ø> (ø)
rlp ∅ <ø> (∅)
statemanager 89.61% <ø> (ø)
trie 90.36% <ø> (ø)
tx 93.71% <ø> (ø)
util 84.50% <ø> (ø)
vm 84.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

@g11tech g11tech changed the base branch from hive-withdrawals-fx to master February 14, 2023 17:46
Copy link
Contributor

@acolytec3 acolytec3 left a comment

Choose a reason for hiding this comment

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

LGTM!

@acolytec3 acolytec3 merged commit c960deb into master Feb 14, 2023
@holgerd77 holgerd77 deleted the merge-at-genesis branch February 16, 2023 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: block package: blockchain package: client package: common PR state: needs review type: test all hardforks This special label enables VM state and blockchain tests for all hardforks on the respective PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants