feat(vyper): recover historical storage layouts#2881
Open
banteg wants to merge 6 commits into
Open
Conversation
banteg
marked this pull request as draft
July 11, 2026 17:52
Contributor
Author
|
not ready yet, will also add transient storage layout extraction |
banteg
marked this pull request as ready for review
July 11, 2026 18:46
Member
is it now ready? |
Contributor
Author
yes, it's ready |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
0.1.0-beta.16through0.4.1b3with the exact compiler package in an isolateduvprocess0.3.8, including splitting the mixed persistent/transient namespace emitted by0.3.8–0.3.100.4.1b4+on the existing native Standard JSON path and treat supplemental extraction failure as non-fatalstorageLayoutandtransientStorageLayoutfields, with an identity-checked resumable backfill for existing rowsExtraction matrix
0.1.0-beta.16–0.2.12GlobalContextpositions (legacy hashed-composite roots)0.2.13–0.2.150.2.16–0.4.1b30.3.8–0.3.10transientis_transientmetadata0.4.0–0.4.1b3transienttransient_storage_layoutcaptured with persistent layout0.4.1b4+Structured historical types stay backward-compatible with Sourcify's flat Vyper layout: each affected leaf gets an optional
type_definitionsgraph. Definitions are leaf-scoped, so initialized modules and same-name imported structs remain accurate without changing native leaf type/slot/span values.Persistence and operations
storageLayoutand Vyper transient artifacts via the existingtransientStorageLayoutfield.services/database/massive-replace-script/vyper-storage-layout-backfill.uv0.11.21.0.4.1warning remains a separate follow-up once this backend is deployed.Validation
npm testinpackages/compilers— 29 passing; historical exact-package cases remain opt-in0.3.8and0.4.0transient-layout probes — 2 passing, covering both the mixed and separate compiler namespaces0.4.0b1and RC compiler-data APIs; the opt-in CI matrix also covers0.4.0b1and0.4.0rc5npm run build— compilers-types, compilers, and lib-sourcifygit diff --checkpassThe full server integration suite requires its Postgres/local-chain services and is left to CI. Local ESLint invocation is currently blocked before file analysis by the checkout's ESLint 8/flat-config dependency mismatch (
ERR_PACKAGE_PATH_NOT_EXPORTED); TypeScript builds and focused tests are clean.