Skip to content

Commit

Permalink
wip: sync operator
Browse files Browse the repository at this point in the history
  • Loading branch information
dndll committed Jan 30, 2024
1 parent 079e2eb commit 6808b15
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
**/target
/vendor
/build/*

.direnv

Expand Down
5 changes: 5 additions & 0 deletions bin/operator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ version.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[[bin]]
name = "sync"
path = "src/main.rs"
required-features = [ "sync" ]

[dependencies]
cfg-if = "*"
near-light-clientx.workspace = true
Expand Down
Empty file added build/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions succintx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{
"name": "sync",
"framework": "plonky2x",
"baseDir": "./bin/operator",
"buildCommand": "mkdir -p build && RUST_LOG=debug cargo run -p near-light-client-succint-operator --release --features=sync build && mv ./target/release/operator ./build/sync",
"baseDir": ".",
"buildCommand": "cargo build --release --bin sync && mv target/release/sync build/ && RUST_LOG=debug ./build/sync build",
"proveCommand": "RUST_LOG=debug ./build/sync prove input.json",
"requiredArtifacts": [
"sync"
Expand Down

0 comments on commit 6808b15

Please sign in to comment.