Skip to content

Commit

Permalink
using recursive layout
Browse files Browse the repository at this point in the history
  • Loading branch information
matzayonc committed May 30, 2024
1 parent e6bdb59 commit a00578d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions crates/saya/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async-trait.workspace = true
cairo-proof-parser.workspace = true
cairo-vm.workspace = true
convert_case.workspace = true
dojo-world = { workspace = true, features = [ "contracts", "metadata", "migration", "manifest" ] }
dojo-world = { workspace = true, features = [ "contracts", "manifest", "metadata", "migration" ] }
flate2.workspace = true
futures.workspace = true
itertools.workspace = true
Expand Down Expand Up @@ -47,8 +47,8 @@ cairo-felt = "0.9.1"
num-bigint = "0.4.4"
num-traits = "0.2.18"

prover-sdk = { git = "https://github.com/neotheprogramist/http-prover", rev = "69a3dc93f477c57ffeed32154d70a2a37aea7485" }
prover-sdk = { git = "https://github.com/neotheprogramist/http-prover", rev = "05aa9dbb7fdd5618693cead978d4ab0eebbf8f80" }

[features]
default = []
cairo1differ = [] # Not fully functional at the moment
cairo1differ = [ ] # Not fully functional at the moment
default = [ ]
4 changes: 2 additions & 2 deletions crates/saya/core/src/prover/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub async fn prepare_input_cairo0(
let program = serde_json::from_str(&serde_json::to_string(&program)?)?;
let program_input: Value = serde_json::from_str(&arguments)?;

Ok(Cairo0ProverInput { program, program_input })
Ok(Cairo0ProverInput { program, program_input, layout: "recursive".into() })
}

pub async fn prepare_input_cairo1(
Expand All @@ -49,5 +49,5 @@ pub async fn prepare_input_cairo1(
let program = serde_json::from_str(&serde_json::to_string(&program)?)?;

let program_input = Value::Array(vec![Value::String(arguments)]);
Ok(Cairo1ProverInput { program, program_input })
Ok(Cairo1ProverInput { program, program_input, layout: "recursive".into() })
}

0 comments on commit a00578d

Please sign in to comment.