Repository navigation
outpost_solana_client_plugin: --solana-outpost-program-name + required token custody - #517
Merged
jglanz merged 1 commit intoJul 15, 2026
Conversation
…d token custody - New --solana-outpost-program-name option (default opp_outpost) selects which program IDL hosts the OPP outpost; the wire-tools-ts harness passes liqsol_core since the cleanroom moved the outpost inside that program. IDL filtering (filter_outpost_program_idls) + the create-client assert carry the configured name. - resolve_token_custody resolves mint + decimals from OutpostConfig.token_addresses_by_code / precision_by_token_code and REQUIRES both entries (parity with wire-ethereum's WIRE_TokenPrecisionUnset and the program's PrecisionUnconfigured); zero mint = native marker. reserve_info_for_codes reads custody from config at dispatch time (cleanroom Reserves carry no custody fields). - sec-94 terminal-budget fixture identity updated to liqsol_core (measurements unchanged: account count, discriminator, and args are identical). - Plugin tests: IDL-name filtering, default constant, custody resolution + required-entry throws (29/29 green). Companion: wire-tools-ts branch fix/solana-opp-integration passes the new option. Merge THIS repo first — an updated harness against an older nodeop fails with "Unknown option". Co-Authored-By: Claude Fable 5 <[email protected]> Change-Id: If16a8d053ba8efeec94c39fa71c05984ae0b9b2d
Contributor
Author
|
e2e gate GREEN over this branch (chained on #511): all 13 flows passed — run: https://github.com/Wire-Network/wire-platform-build-system/actions/runs/29368882980. The wire-solana side (Wire-Network/wire-solana#374) is rebase-merged into its next; wire-tools-ts companion PR: Wire-Network/wire-tools-ts#27. Merge order: this repo before (or with) the tools-ts PR. |
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
Chained onto #511 (
feature/packaging-deb-rpm-portable) — this PR carries ONLY the Solana-outpost plugin change on top of the packaging branch.--solana-outpost-program-nameoption (defaultopp_outpost) onoutpost_solana_client_pluginselects which program IDL hosts the OPP outpost. The wire-solana cleanroom moved the outpost interface inside theliqsol_coreAnchor program, so the wire-tools-ts harness passesliqsol_core; IDL filtering (filter_outpost_program_idls) and the create-client assert carry the configured name.resolve_token_custody: mint + decimals resolve fromOutpostConfig.token_addresses_by_code/precision_by_token_codeand both entries are REQUIRED (parity with wire-ethereum'sWIRE_TokenPrecisionUnsetand the program'sPrecisionUnconfigured); the zero mint is the native marker.reserve_info_for_codesreads custody from config at dispatch time (cleanroomReserves carry no custody fields).liqsol_core(measurements byte-identical: account count, discriminator, and args are unchanged; numbers verified equal to wire-solana's copy).Merge order
Merge this repo's chain before (or with) the wire-tools-ts companion — an updated harness against an older nodeop fails with
Unknown option: --solana-outpost-program-name.Companions
Wire-Network/wire-solanaPR Bound transaction trace polling in test harness #374 (cleanroom parity port; held for the e2e gate)Wire-Network/wire-tools-tsbranchfix/solana-opp-integration(harness retarget; PR follows the green e2e run)Validation
--helpexposes the option.e2e-testsdispatch overfix/solana-opp-integrationin wire-sysio/wire-tools-ts/wire-solana.🤖 Generated with Claude Code