Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crates/neo-fold/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ path = "riscv-tests/test_riscv_fibonacci_compiled_full_prove_verify.rs"
name = "test_riscv_u64_output_compiled_full_prove_verify"
path = "riscv-tests/test_riscv_u64_output_compiled_full_prove_verify.rs"

[[test]]
name = "test_riscv_circuit_l2_transfer_compiled_trace_prove_verify"
path = "riscv-tests/test_riscv_circuit_l2_transfer_compiled_trace_prove_verify.rs"

[[test]]
name = "test_riscv_program_crosscheck"
path = "riscv-tests/test_riscv_program_crosscheck.rs"
Expand Down
2,141 changes: 2,141 additions & 0 deletions crates/neo-fold/riscv-tests/binaries/circuit_l2_transfer_rom.rs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[build]
target = "riscv32im-unknown-none-elf"

[target.riscv32im-unknown-none-elf]
rustflags = ["-C", "link-arg=-T../../../../nightstream-sdk/guest/riscv32im-unknown-none-elf.ld"]

[env]
# The repo sets RUSTFLAGS globally for host builds. That breaks cross-compiling this guest.
RUSTFLAGS = ""
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
351 changes: 351 additions & 0 deletions crates/neo-fold/riscv-tests/guests/circuit-l2-transfer/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions crates/neo-fold/riscv-tests/guests/circuit-l2-transfer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[package]
name = "circuit-l2-transfer"
version = "0.0.0"
edition = "2021"
publish = false

[[bin]]
name = "circuit_l2_transfer"
path = "src/main.rs"

# Standalone guest project: do not inherit the repo workspace.
[workspace]

[profile.release]
panic = "abort"

[dependencies]
nightstream-sdk = { path = "../../../../nightstream-sdk", default-features = false }
qp-poseidon-core = { version = "1.0.7", default-features = false, features = ["p3"] }

[patch.crates-io]
p3-field = { path = "vendor/p3-field" }
p3-matrix = { path = "vendor/p3-matrix" }
p3-dft = { path = "vendor/p3-dft" }
Loading