Skip to content

Property-based test parity for EVM, Solana, and CKB #179

Description

@truthixify

Tier: M (2-4 days) | Type: test

Context. test/chains/stellar/properties.test.ts covers scalar arithmetic and derivation invariants for Stellar (PR #46) but the other three chains rely on hand-rolled fixture tests. A regression in the scan.ts or keys.ts of EVM / Solana / CKB won't be caught by the same class of property, and the differential harness only exists for Stellar.

Scope.

  • Mirror the Stellar property suite for evm, solana, ckb: key-derivation determinism, meta-address round-trips, scan inclusion invariant, view-tag false-negative rate.
  • Reuse fast-check conventions (FC_RUNS env, seeded runs).
  • Wire each into pnpm test:fuzz matrix.
  • Time-budget: each suite completes under 60s at default FC_RUNS.

Acceptance.

  • test/chains/{evm,solana,ckb}/properties.test.ts exist and pass
  • FC_RUNS=100000 completes under 5 min per chain locally
  • Same invariants tested across all four chains (checklist in each file header)
  • Added to the nightly fuzz CI job

Files. test/chains/evm/properties.test.ts (new), test/chains/solana/properties.test.ts (new), test/chains/ckb/properties.test.ts (new), .github/workflows/ci.yml.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdripsFunded via Drips Networkhelp wantedExtra attention is neededstellar-waveAuto-created for Wave 8testTest coverage / harnesswave-8Auto-created for Wave 8

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions