Skip to content

test: build Hood ErrTrace image - #40

Closed
littlehand26 wants to merge 6 commits into
mainfrom
test/hood-errtrace-image
Closed

littlehand26 wants to merge 6 commits into
mainfrom
test/hood-errtrace-image

Conversation

@littlehand26

@littlehand26 littlehand26 commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

Test-only PR for the Hood snapshot-validation image. Its head is the exact reviewed Nitro #39 commit (8b05ce923), including the production genesis-preimages hotfix from #36 and the minimal ErrTrace dependency chain from Pipeline #156 / go-ethereum-arb #29.

Do not merge.

InitializeArbosInDatabase force-disabled trie preimages. This is a
long-standing default (the pre-pathdb code also hardcoded Preimages:false):
genesis is a one-time bulk state import and preimages are unused for normal
node operation, so they were skipped.

On the path state scheme this breaks the pipeline's OnArbGenesisBlock state
dump. Without preimages the dump cannot reverse-resolve account addresses
(tr.GetKey returns nil), so it opens each storage trie with a zero address,
derives the wrong pathdb owner (Keccak256(0x00..00)), fails the lookup, and
drops every storage-bearing genesis account (EntryPoint code + slots, the
ArbOS 0xA4B05 system state, etc.). The hash scheme is unaffected because its
reader resolves nodes by hash and ignores the owner.

Honor cacheConfig.Preimages (driven by --execution.caching.enable-preimages)
instead of forcing it off. Default behavior is unchanged: EnablePreimages and
both Defaults/ArchiveDefaults default to false, so genesis init records no
preimages unless explicitly enabled. Preimages live in a separate rawdb table
and are not part of the state root, so there is no consensus impact.
@littlehand26

Copy link
Copy Markdown
Contributor Author

Closing this test-only image-build PR. Snapshot validation evidence is retained; this PR must not be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant