eest-static-layout

eest-static-layout is an agent for coding agents from Verified-zkEVM/evm-asm. It costs 0 tokens per session (1,144 once invoked), scanned A, original, MIT.

A set of lessons for changing static memory layouts in Ethereum execution-spec tests and related EEST harness code. EEST is a test framework for Ethereum execution clients.

In plain words
What is it for?
Use it when changing stateless guest memory, BAL replay, static data areas, harness filters, or capacity checks.
Why use it?
It prevents test layouts from being sized from isolated failures or from using incorrect protocol limits.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/verified-zkevm/evm-asm/eest-static-layout
Clone the repo
git clone --depth 1 https://github.com/Verified-zkEVM/evm-asm

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for eest-static-layout

README.md
[![agentmods](https://agentmods.dev/badge/agents/verified-zkevm/evm-asm/eest-static-layout.svg)](https://agentmods.dev/agents/verified-zkevm/evm-asm/eest-static-layout)
Your own site
<a href="https://agentmods.dev/agents/verified-zkevm/evm-asm/eest-static-layout"><img src="https://agentmods.dev/badge/agents/verified-zkevm/evm-asm/eest-static-layout.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.01144
Opus 5 $0.00000 $0.00572
Sonnet 5 $0.00000 $0.00229
Haiku 4.5 $0.00000 $0.00114

Measured 5d ago against content hash 87f1ed508da4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

eest-static-layout scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/agents/eest-static-layout.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

EEST Static Layout Lessons

Moved out of AGENTS.md to keep the agent guide compact. Load this when:

  • changing stateless_guest, block_state_root, BAL replay, or EEST harness memory layout;
  • changing static .data arenas used by EEST codegen programs;
  • adding harness filters or cap checks for EEST stateless runs.

Protocol Limits First

Do not pick static arena sizes from the failing fixture alone. Check the local execution-specs and execution-spec-tests submodules first, then size or gate from the protocol/test limit that actually constrains the data.

For BAL replay, Amsterdam does not use a fixed account-row cap. The rule is gas-derived:

bal_items <= block_gas_limit / 2000
bal_items = account addresses + unique storage keys

The source of truth is execution-specs/src/ethereum/forks/amsterdam/block_access_lists.py plus execution-specs/src/ethereum/forks/amsterdam/vm/gas.py.

This means a complete static layout is complete only relative to a declared maximum supported actual BAL item count, not merely a declared block gas limit. For the execution-specs default block gas limit of 120,000,000, the BAL item budget is 60,000. The current emitted static replay arenas are sized for 100,000 BAL items (the 200M target); the older 500,000-item/1G layout is historical. A layout with a declared capacity must cover both extreme shapes:

  • many account rows, which stress basr_* account-record arrays and the top-level bsr_* state-change arrays;
  • one/few accounts with many storage keys, which stress per-account storage replay arrays such as baap_storage_desc, baap_storage_paths, baap_storage_delete_paths, and baap_storage_values. The baap_storage_delete_paths child is historical/probe-only in the current guest; the emitted RegionMap.dataUnionChildren has no such symbol.

Do not resize only the first array that failed. Follow every index that derives from the same count and resize the matching backing storage together.

Read the full file on GitHub · 106 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 106 lines · 0 tokens per session scan A 87f1ed508da4

Subscribe to this mod's changes

eest-static-layout is an agent published in the GitHub repository Verified-zkEVM/evm-asm (55 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,144 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.