Skip to content

Commit 5ff41c0

Browse files
committed
implement mollusk conformance testing
1 parent 7e0b15e commit 5ff41c0

File tree

139 files changed

+664824
-32792
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+664824
-32792
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ jobs:
141141
exit 1;
142142
fi
143143
144-
fd_conformance:
145-
name: Builtin-BPF Conformance Test
144+
conformance:
145+
name: Conformance Test
146146
runs-on: ubuntu-latest
147147
needs: build_programs
148148
steps:
@@ -160,16 +160,17 @@ jobs:
160160
run: |
161161
sudo apt-get update
162162
sudo apt-get install -y libudev-dev pkg-config
163+
cargo install mollusk-svm-cli
163164
164165
- name: Restore Program Builds
165166
uses: actions/cache/restore@v4
166167
with:
167168
path: ./**/*.so
168169
key: ${{ runner.os }}-builds-${{ github.sha }}
169170

170-
- name: Builtin-BPF Conformance Test
171+
- name: Conformance Test
171172
shell: bash
172-
run: pnpm zx ./scripts/ci/fd-conformance.mjs
173+
run: pnpm zx ./scripts/ci/conformance.mjs
173174

174175
## SKIP: IDL is hand-cranked here for now.
175176
##

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
**/*.rs.bk
77
node_modules
88
test-ledger
9+
base.so
910
dist
1011
solana-conformance

Cargo.lock

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
[workspace]
22
resolver = "2"
33
members = ["clients/rust", "program"]
4-
# Required for CI
5-
exclude = ["solana-conformance/impl/solfuzz-agave"]
64

75
[workspace.package]
86
authors = ["Anza Technology Maintainers <[email protected]>"]

program/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ solana-program = { workspace = true }
2424
thiserror = { workspace = true }
2525

2626
[dev-dependencies]
27-
mollusk-svm = { workspace = true, features = ["fuzz-fd"] }
27+
mollusk-svm = { workspace = true, features = ["fuzz"] }
2828
mollusk-svm-bencher = { workspace = true }
2929
solana-sdk = { workspace = true }
3030

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)