Repository navigation
Conversation
valthon
force-pushed
the
fix/verify-deployed-solana-program-binary
branch
from
August 21, 2026 23:38
b2e1396 to
5e0e8be
Compare
valthon
force-pushed
the
fix/verify-deployed-solana-program-binary
branch
from
August 25, 2026 23:37
5e0e8be to
e599663
Compare
valthon
force-pushed
the
fix/verify-deployed-solana-program-binary
branch
2 times, most recently
from
October 9, 2026 10:52
5977b37 to
4409816
Compare
valthon
force-pushed
the
fix/verify-deployed-solana-program-binary
branch
from
October 10, 2026 23:18
4409816 to
c3d4a7a
Compare
valthon
force-pushed
the
fix/verify-deployed-solana-program-binary
branch
2 times, most recently
from
October 15, 2026 00:37
dbf6eba to
3f99189
Compare
valthon
force-pushed
the
fix/verify-deployed-solana-program-binary
branch
from
October 20, 2026 18:59
3f99189 to
98a8b8b
Compare
Reject stale Solana artifacts before validator startup by checking each of the four genesis binaries against wire-solana's strict-build manifest. Validate the manifest format before trusting its hashes and provenance; report malformed or unsupported manifests with the build command needed to replace them. Compare full commit identity and dirty status rather than git describe presentation. Snapshot the verified bytes per launch so a concurrent rebuild cannot replace a binary between verification and deployment. Embed the same dependency-free verifier in generated start scripts so relaunches on another host enforce the same checks. Exercise managed launches and executed start scripts with malformed manifests, stale siblings, changed checkouts and replaced shared outputs. Dirty builds remain usable with a warning because a describe stamp cannot distinguish different dirty source trees at the same commit. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019LgGtRheR6Hac9WHX739y3
valthon
force-pushed
the
fix/verify-deployed-solana-program-binary
branch
from
October 21, 2026 22:02
98a8b8b to
a2d7550
Compare
This branch has not been deployed
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.
Verify every Solana genesis binary against the strict-build manifest immediately before validator startup. A stale
.soleft in gitignoredtarget/deployafter a checkout or rebase now fails with a build remediation error instead of being deployed.The check covers
liqsol_core,liqsol_token,transfer_hook, andvalidator_leaderboard:start.shscripts perform the same validation and snapshotting at execution time. Rendering requires no local build artifacts. Execution requires Node, Git, and the wire-solana checkout, but no installed tools-ts package or additional Node dependencies.Dirty builds are allowed with a warning: a describe stamp cannot distinguish two different dirty trees at the same commit. A bare-tag stamp also requires that tag to resolve on the deployment host. The manifest producer is already on wire-solana
next.One focused commit on
master,a2d75509. The final implementation exposes the production byte-verification path directly; test-only manifest readers and mutable-path assertion helpers are excluded.Validation on
a2d75509:pnpm install,pnpm build,pnpm install,pnpm run build, fullpnpm run lint, changed-file Prettier and diff checks passed. A final raw workspace build passed after removing the temporary test workaround.pnpm run test:ciwith only Register source-map-support only in the debugging server CLI #132’s barrel-import removal applied temporarily: 456 Jest suites / 4,491 tests passed, plus every packagetest:unitlane. The temporary change was restored byte-for-byte and is excluded from this PR.a2d75509passed: Build and test and Jest results completed successfully on the published raw head, with no temporary Register source-map-support only in the debugging server CLI #132 workaround.The malformed-manifest regression matrix exercises the production verifier and executed generated scripts, including clean and dirty provenance. Coverage also checks every genesis program, stale siblings, source-commit mismatches, differing Git display settings, replacement of shared outputs after verification, and fixture isolation from signing/hooks configuration.
UNVERIFIED: live validator or settlement flow on this head. Executed-script tests use a validator stub and verify the bytes supplied to it.
Earlier-head validation on
98a8b8b9: