This repository contains solana-conformance test vectors. Each file is one Protobuf serialized test input.
Path | Type |
---|---|
instr/inputs/**/*.bin |
org.solana.sealevel.v1.InstrContext |
instr/fixtures/**/*.bin |
org.solana.sealevel.v1.InstrFixture |
- Any new mismatches are added to
instr/inputs/fuzz-mismatches
- Once mismatches are debugged, create a fixture out of them (see solana-conformance to see how its done)
- Add the fixture to
instr/fixtures/<program>
depending on which native program the mismatch came from
CI will regress against any fixtures in this directory and produce a coverage report on every PR.
Refer to solana-conformance. Use create-fixture
with desired inputs to create human-readable fixtures from instruction context messages, using a Solana target to generate instruction effects.