-
Notifications
You must be signed in to change notification settings - Fork 21
Cross-chain announcement schema conformance audit #12
Copy link
Copy link
Closed
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programauditProduces a written report as primary deliverableProduces a written report as primary deliverabledripsFunded via Drips NetworkFunded via Drips Networkhelp wantedExtra attention is neededExtra attention is neededinteropCross-chain / interoperabilityCross-chain / interoperabilitystellarTouches Stellar / Soroban codeTouches Stellar / Soroban code
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programauditProduces a written report as primary deliverableProduces a written report as primary deliverabledripsFunded via Drips NetworkFunded via Drips Networkhelp wantedExtra attention is neededExtra attention is neededinteropCross-chain / interoperabilityCross-chain / interoperabilitystellarTouches Stellar / Soroban codeTouches Stellar / Soroban code
Type
Fields
Give feedbackNo fields configured for issues without a type.
Labels:
Stellar Wave,stellar,audit,interop,drips,help-wantedTier: M (2–4 days)
Type: audit
Context
Wraith's whole multichain model assumes the SDK can interpret announcements emitted by any chain's contract using the same scanning algorithm. If the event schemas drift — say, Stellar emits a Bytes where EVM emits a fixed-length array, or scheme_id is
u32on one chain andu64on another — the SDK has to special-case forever.We need an audit confirming the schemas are actually congruent and document them in one place.
Scope
Audit and produce a single document
contracts/ANNOUNCEMENT_SCHEMA.mdthat:Bytes, EVMbytes, SolanaVec<u8>, CKB embedded in lock args — divergent encoding but logically the same; SDK normalizes").Announcement).Comparison framework
Build a table like:
schemeIdstealthAddressFor each divergence, document whether the SDK normalizes correctly today (link to the SDK code).
Acceptance criteria
ANNOUNCEMENT_SCHEMA.mdcommitted at repo root with the full table.Why this matters
This is the foundation for adding a 5th chain. If we don't have an explicit cross-chain schema, the SDK becomes an unmaintainable patchwork the first time someone tries to add Sui or Aptos.
Files to start with
contracts/evm/contracts/ERC5564Announcer.sol(canonical reference, ERC-5564)contracts/stellar/stealth-announcer/src/lib.rscontracts/solana/programs/wraith-announcer/src/lib.rscontracts/ckb/contracts/wraith-stealth-lock/src/main.rssdk/src/chains/*/announcements.ts(consumer side)