You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Establish the profile-owned local genesis seam #66
Add the profile-owned local genesis expand seam while retaining the legacy raw allocation only as a temporary migration bridge. The seam accepts an explicit FreshStandalone or RemoteFork target and a small adapter that can patch account code and nonce or write one storage slot.
The shared module owns profile applicability, B20 marker and feature facts, slot derivation, and application choreography. A recording adapter makes the canonical result, no-op behavior, and failure contract independently verifiable before production callers migrate.
Acceptance criteria
One profile-generic local genesis entry point owns profile and target gating.
HashKey with FreshStandalone produces the complete canonical B20 singleton and feature-admission baseline.
HashKey with RemoteFork performs zero adapter calls.
Profiles without portable local genesis rules perform zero adapter calls for either target.
Builds without the HashKey capability compile against the same high-level seam without HashKey-specific caller branches.
The adapter exposes only account code-and-nonce patching and single-slot storage writing.
Account patching is specified to preserve balance, storage, and every non-owned account field.
Marker code hash is derived by adapters from the complete code bytes and is not transported as a separate input.
Recording tests compare normalized canonical state without exposing operation count, ordering, tuple layout, or array positions.
Recording tests inject failures after prior successful account patches and after entering storage writes, preserving error identity and proving no calls occur after the first failure.
No dynamic B20 token account or storage is emitted by the local genesis seam.
The legacy allocation surface remains only as a temporary bridge for unmigrated callers and gains no new consumers.
Activity
mowind commentedon Aug 4, 2026
Implemented and pushed in d1889c3.