ethereum / ethereum/execution-specs

Investigate where we enforce the call stack limit

Open
#1,119 3 comments 0 reactions 1 assignee Claimed by @SamWilsn View on GitHub
A-spec-specs C-feat E-easy P-high stale
Dominant language
Python
Stars
1.2k
Forks
505
Avg merge
2d 14h
Merged PRs (30d)
116

Description

It looks like we might enforce it in multiple places:

https://github.com/ethereum/execution-specs/blob/6e652281164025f1f4227f6e5b0036c1bbd27347/src/ethereum/cancun/vm/instructions/system.py#L292-L295

And later:

https://github.com/ethereum/execution-specs/blob/6e652281164025f1f4227f6e5b0036c1bbd27347/src/ethereum/cancun/vm/interpreter.py#L227-L228

One of these (`interpreter.py`) might be better suited as an assertion to catch bugs.

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.