Add support for `block.slotnum`
Maintainers usually reply within 3 days
@harkal is already working on this.
Since Sep 11, 2026.
Assessment
This issue has not been assessed yet.
Description
The next EVM version amsterdam will ship the new opcode SLOTNUM (0x4b) (see EIP-7843), which returns the beacon chain slot number of the current block. While technically uint64 is enough as return type (SLOTNUM is returned as a uint64 in big endian encoding), maybe it's better sticking to uint256 to be consistent with the other block properties. But this is up for discussion.
- Dominant language
- Python
- Stars
- 5.2k
- Forks
- 936
- Avg merge
- 5d 16h
- Merged PRs (30d)
- 34
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vyperlang/vyper
-
`shift(x, y)` with a uint256 shift amount >= 2**255 shifts in the wrong directionPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 3 days
-
Venom -O3: RuntimeError "dictionary keys changed during iteration" in SimplifyCFG `_collapse_chained_blocks_r`Possibly taken @sanketpatel32 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 3 days
-
Improve Error Message for Unsupported Function Name CharactersPossibly taken @DigitalA7 claimed this 24 days ago. Openenhancement parser
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 3 days
-
venom: `int -> decimal` lower-bound clamp off by one, returns out-of-range decimalMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 3 days
-
broken validation in get_storage_layout_overrides silently drops extra overridesPossibly taken @banteg claimed this 176 days ago. Openneeds triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days
Similar issues
-
auto-reported bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
stix-atlas.json: the same relationship id is used for several different mitigates relationshipsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
backend bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
nolte/kamerplanter#3193 ·
Maintainers usually reply within 1 day
-
soup prune-prompt exits 1 after writing its output on a file over 100,000 rows, and reports a capped row count otherwisePossibly taken @abdulwaarith0 claimed this today. Openneeds-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
MakazhanAlpamys/Soup#3690 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day