fix(gas-station): allow init_stake_deposit discriminator — GHB-188#93
Merged
Gastonfoncea merged 1 commit intoMay 17, 2026
Merged
Conversation
The MCP-activation stake tx built by /app/stake (init_stake_deposit, Anchor discriminator d5cbd1d000e6846a) was rejected by the gas-station validator because the allowlist only contained the four bounty-flow ixs from GHB-176/180. User-facing symptom in the browser: "Transaction rejected by gas station: disallowed_discriminator: escrow ix discriminator d5cbd1d000e6846a not in allowlist." Add the discriminator (sourced from the IDL bytes [213,203,209,208,0,230,132,106]) to ALLOWED_DISCRIMINATORS_HEX and bump the sanity-test allowlist size assertion 4 → 5. No other validator rule changes — init_stake_deposit fits the existing single-escrow-ix shape (no bundled topup, no review fee), so the rest of the pipeline already covers it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
init_stake_depositdiscriminator (d5cbd1d000e6846a) to the gas-station allowlist so/app/stakecan actually submit the MCP-activation tx.Why
The frontend at
/app/stakebuilds aninit_stake_depositAnchor ix and routes it through the gas station (per the existing sponsor pattern for bounty-flow ixs). The validator's allowlist was the original GHB-176/180 set of 4 bounty-flow discriminators; the GHB-188 stake ix was never added, so prod rejects every stake with:Reproduced live by Gaston during the post-merge smoke test.
Test plan
pnpm --filter @ghbounty/shared test— 54/54 pass locally (existing 49 + updated sanity test).gh-bounty-frontendsucceeds.Activate MCPmints + flipsmcp_status='active'.🤖 Generated with Claude Code