ethereum / ethereum/execution-specs

feat(forks): Implement `transition_time` method

Open
#1,540 1 comment 0 reactions 0 assignees View on GitHub
P-low stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

Should we make the `15_000` a constant based of the `fork`. We might need to add this in the `forks.py` logic.
Maybe a function from `class Paris` (and in base forks) called `transition_time()` that returns `15_000`. All the other forks (incl. Prague) would inherit this.

We could then use `fork.transition_time() + 1` etc

_Originally posted by @spencer-tb in https://github.com/ethereum/execution-spec-tests/pull/1394#discussion_r2046450583_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.