Repository navigation
build: assemble EIP-8282 init code from a pinned sys-asm submodule - #3
Merged
Merged
Conversation
Add ethereum/sys-asm (PR #43 head, wemeetagain:add-8282 @ 537b9c1) as a submodule and Makefile targets that assemble the builder deposit/exit predeploy init code with geas, ready for `./nick search --initcode`. - `make initcode[-deposit|-exit]` emit the 0x-prefixed init code; `make mine-deposit EIP=<n>` assembles and runs the GPU vanity search. - REF selects the sys-asm commit/branch at runtime (default: the pinned PR head; a branch is fetched on demand). TODO: flip the default to ethereum/sys-asm main once PR #43 lands. - The target address is 0x0000-leading with a 00<eip> suffix and sig-r spelling the EIP number; EIP has no default, so `make mine-deposit` fails asking which EIP to mine. PREFIX/SUFFIX/SIG_R remain overridable. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The EIP is a runtime input; keep the comments/examples generic rather than hardcoding a particular EIP number or upstream PR reference. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
barnabasbusa
force-pushed
the
busa/sys-asm-initcode
branch
from
June 17, 2026 08:11
0ef8be8 to
75a6856
Compare
This was referenced Jul 7, 2026
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.
Stacked on top of #1 (gpu miner) — base is
pk910/gpu-miner, notmain, so the diff is only the sys-asm wiring.What & why
EIP-8282 PR ethereum/sys-asm#43 bumped the builder-deposit
TARGET_PER_BLOCK/MAX_PER_BLOCKto32/256. That changes the assembled runtime (566→568 bytes) and therefore the deployment init code (611→613 bytes), which invalidates any previously mined vanity address. Rather than hand-vendoring the contract, this wires the miner to assemble it straight from upstream.Changes
ethereum/sys-asmas a submodule pinned to the PR #43 head (wemeetagain:add-8282@537b9c1). Pinned by SHA, so it's immune to force-pushes on the open PR branch.geas):make initcode-deposit/initcode-exit— print0x-prefixed init code, pipeable into./nick search --initcode.make initcode— both, with byte sizes and the assembled commit.make mine-deposit EIP=<n>— assemble + run the GPU vanity search.REFselects the sys-asm commit/branch at runtime (SHA used from the local clone; a branch is fetched on demand). Default is the pinned PR head until the contracts land on sys-asmmain.EIP: address is0x0000-leading with a00<eip>suffix andsig-rspelling the EIP number.EIPhas no default —make mine-depositfails asking which EIP to mine.PREFIX/SUFFIX/SIG_Rstay individually overridable.Notes / follow-ups
SYS_ASM_REMOTE=ethereum/sys-asm+REF=main(TODO noted in the Makefile).🤖 Generated with Claude Code