Asem/v2 114/fill solana orders#33
Draft
Asem-Abdelhady wants to merge 7 commits intoasem/V2-112/support-solana-intentsfrom
Draft
Asem/v2 114/fill solana orders#33Asem-Abdelhady wants to merge 7 commits intoasem/V2-112/support-solana-intentsfrom
Asem-Abdelhady wants to merge 7 commits intoasem/V2-112/support-solana-intentsfrom
Conversation
When two identical orders share the same outputKey, selecting a second unfilled order would incorrectly show the first order's filled state. Reset fillStatuses before the async isFilled query so chips show "checking" during the in-flight RPC call instead of stale filled state. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- flowProgress, Finalise, ReceiveMessage: replace solanaDevnetConnection and SOLANA_DEVNET_CHAIN_ID with getSolanaConnection(chainId) / isSolanaChain() - solanaValidateLib: revert borsh BinaryWriter (CJS-only, not ESM-compatible in Vite); use Buffer.writeBigUInt64LE directly instead Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Implements the solver-side flow for Solana→EVM intents — filling EVM outputs, validating attestation proofs, and finalising the Solana escrow to release input tokens.
What's new:
flowProgress.ts— tracks per-step progress for Solana orders through the fill→validate→claim pipelineReceiveMessage.svelte— screen for verifying Polymer attestation PDAs exist on Solana before allowing finaliseFinalise.svelte— Solana claim button: reads EVM fill receipts, derives attestation PDAs, callsfinaliseSolanaEscrow; also fixes missingpostHookRefreshValidatecall so the confetti animation fires after a successful Solana claimsolanaValidateLib.ts/solanaFinaliseLib.ts— PDA derivation and Anchor instruction building for the Solana programs