Skip to content

Conversation

0xalpharush
Copy link
Contributor

See firedancer-io/solana-conformance#148 for more context.

This doesn't ensure hardcoded features are activated, but it's helpful to validate inputs generated independently of solfuzz

mjain-jump
mjain-jump previously approved these changes Sep 8, 2025
Copy link
Collaborator

@mjain-jump mjain-jump left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@0xalpharush
Copy link
Contributor Author

I can run the vectors with the script locally, so I'm not sure why CI is failing

++ nproc
+ NUM_PROCESSES=20
+ '[' '' == '' ']'
++ mktemp -d
+ LOG_PATH=/tmp/tmp.6jiXOWav6r
+ echo 'LOG_PATH: /tmp/tmp.6jiXOWav6r'
LOG_PATH: /tmp/tmp.6jiXOWav6r
+ mkdir -p dump
+ '[' '!' -d dump/test-vectors ']'
+ cd dump/test-vectors
+ git pull -q
+ cd ../..
+ find dump/test-vectors/instr/fixtures -type f -name '*.fix'
+ xargs -P 20 -n 1000 ./target/release/test_exec_instr
+ find dump/test-vectors/txn/fixtures/precompile -type f -name '*.fix'
+ xargs -P 20 -n 1000 ./target/release/test_exec_txn
+ find dump/test-vectors/txn/fixtures/programs -type f -name '*.fix'
+ xargs -P 20 -n 1000 ./target/release/test_exec_txn
+ find dump/test-vectors/block/fixtures -type f -name '*.fix'
+ xargs -P 20 -n 1000 ./target/release/test_exec_block
+ find dump/test-vectors/syscall/fixtures -type f -name '*.fix'
+ xargs -P 20 -n 1000 ./target/release/test_exec_vm_syscall
+ find dump/test-vectors/vm_interp/fixtures -type f -name '*.fix'
+ xargs -P 20 -n 1000 ./target/release/test_exec_vm_interp
+ find dump/test-vectors/elf_loader/fixtures -type f -name '*.fix'
+ xargs -P 20 -n 1000 ./target/release/test_exec_elf_loader
++ grep -wR FAIL /tmp/tmp.6jiXOWav6r
++ wc -l
+ failed=0
++ grep -wR OK /tmp/tmp.6jiXOWav6r
++ wc -l
+ passed=140896
+ echo Test vectors success
Test vectors success

@0xalpharush
Copy link
Contributor Author

0xalpharush commented Sep 10, 2025

The features hitting the panic I introduced are marked as unsupported in solfuzz-agave enable_big_mod_exp_syscall, zk_token_sdk_enabled, remaining_compute_units_syscall_enabled with comments indicating FD does not support them.

Should the features not be activated in the test-vectors or just not enabled for fuzzing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants