Skip to content

Rename eip7732 specs to gloas#4506

Merged
jtraglia merged 17 commits intoethereum:masterfrom
jtraglia:rename-eip7732-to-gloas
Aug 18, 2025
Merged

Rename eip7732 specs to gloas#4506
jtraglia merged 17 commits intoethereum:masterfrom
jtraglia:rename-eip7732-to-gloas

Conversation

@jtraglia
Copy link
Copy Markdown
Member

This PR creates the initial Gloas specs by moving/renaming the eip7732 specs.

One notable change is in this commit (41fbea2) which disables some new fork transition tests.

Another notable change, GLOAS_FORK_VERSION is different than EIP7732_FORK_VERSION.

Everything else is boiler-plate.

@jtraglia jtraglia added the gloas label Aug 15, 2025
@jtraglia jtraglia force-pushed the rename-eip7732-to-gloas branch from f1dae60 to 5e6f575 Compare August 15, 2025 03:04
Copy link
Copy Markdown
Member

@jihoonsong jihoonsong left a comment

Choose a reason for hiding this comment

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

I've skimmed changes and haven't read the ePBS tests. So there might be something I missed.

One thing I'd like to highlight is with_all_phases_from_except vs with_all_phases_from_to. There is one test that uses the latter but I think we should use the latter in other tests as well, if this exclusion comes from the separation of beacon block and payload.

Comment thread pysetup/constants.py Outdated
Comment thread pysetup/spec_builders/__init__.py Outdated
| `CAPELLA_FORK_VERSION` | `capella.SignedBeaconBlock` |
| `DENEB_FORK_VERSION` | `deneb.SignedBeaconBlock` |
| `EIP7732_FORK_VERSION` | `eip7732.SignedBeaconBlock` |
| `GLOAS_FORK_VERSION` | `gloas.SignedBeaconBlock` |
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do we need Electra fork version? Also just curious, why Fulu doesn't have this section?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good catch. Fulu should probably have this section. Will add in a separate PR.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

there is no block changes in Fulu

# after EIP-7732 the execution payload is no longer in the body
if is_post_eip7732(spec):
# After Gloas the execution payload is no longer in the body
if is_post_gloas(spec):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I haven't read this entire file but only some of tests in this file call this helper function. It feels like there should be a cleaner way to modify these Bellatrix tests without introducing these invasive is_post_gloas checks.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, but this is a bit out-of-scope of this PR.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Agreed!

Comment thread tests/core/pyspec/eth2spec/test/context.py
Comment thread tests/core/pyspec/eth2spec/test/helpers/constants.py Outdated
@jtraglia
Copy link
Copy Markdown
Member Author

@jihoonsong thanks for the review 🙂 I think I fixed everything (and a little more).

Copy link
Copy Markdown
Member

@jihoonsong jihoonsong left a comment

Choose a reason for hiding this comment

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

This is great. I gave a second skim, please have a look if it makes sense :)

Comment thread specs/gloas/p2p-interface.md Outdated
Comment thread specs/gloas/p2p-interface.md Outdated
Comment thread tests/core/pyspec/eth2spec/test/deneb/sanity/test_blocks.py Outdated
Comment thread tests/core/pyspec/eth2spec/test/electra/fork_choice/test_deposit_with_reorg.py Outdated
Comment thread tests/core/pyspec/eth2spec/test/electra/sanity/blocks/test_blocks.py Outdated
Comment thread tests/core/pyspec/eth2spec/test/fulu/fork_choice/test_on_block.py Outdated
Comment thread tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_get_proposer_head.py Outdated
Comment thread configs/mainnet.yaml Outdated
Comment thread configs/minimal.yaml Outdated
| `DENEB_FORK_VERSION` | `deneb.BlobSidecar` |
| `EIP7732_FORK_VERSION` | `eip7732.BlobSidecar` |
| `ELECTRA_FORK_VERSION` | `electra.SignedBeaconBlock` |
| `FULU_FORK_VERSION` | `fulu.SignedBeaconBlock` |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we really need this? Fulu does not have block changes isn't it?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We don't really need it. And yes, no block changes in Fulu. We chatted more about it here:

Copy link
Copy Markdown
Member Author

@jtraglia jtraglia Aug 18, 2025

Choose a reason for hiding this comment

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

I'm going to keep this how it is. We can remove it later if we want. Not a blocker.

@jtraglia jtraglia merged commit bba2c7b into ethereum:master Aug 18, 2025
13 checks passed
@jtraglia jtraglia deleted the rename-eip7732-to-gloas branch August 18, 2025 19:55
barnabasbusa added a commit to ethpandaops/ethereum-genesis-generator that referenced this pull request Aug 19, 2025
node-seeker574 added a commit to node-seeker574/ethereum-genesis-generator that referenced this pull request Sep 29, 2025
cosmic-ranger65yu added a commit to cosmic-ranger65yu/ethereum-genesis-generator that referenced this pull request Sep 29, 2025
contract-form added a commit to contract-form/ethereum-genesis-generator that referenced this pull request Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants