Skip to content

refactor(test-clis): Refactor LazyAlloc - #19

Merged
gurukamath merged 2 commits into
gurukamath:refactor/testing-alloc-as-prestatefrom
marioevz:refactor/testing-alloc-as-prestate
Jul 23, 2026
Merged

refactor(test-clis): Refactor LazyAlloc#19
gurukamath merged 2 commits into
gurukamath:refactor/testing-alloc-as-prestatefrom
marioevz:refactor/testing-alloc-as-prestate

Conversation

@marioevz

Copy link
Copy Markdown
Collaborator

Description

  • Rename LazyAlloc.get() to LazyAlloc.materialize() since it clashed in spirit with Alloc.get(address) (a mapping accessor with an incompatible signature).
  • Give LazyAlloc a serialization protocol: serialize() -> str and serialize_to_file(path) (delegates to serialize, except LazyAllocFile, which keeps a shutil.copyfile byte-copy fast path).

@gurukamath
gurukamath merged commit 99646bd into gurukamath:refactor/testing-alloc-as-prestate Jul 23, 2026
14 of 23 checks passed
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.

2 participants