Skip to content

Commit

Permalink
Fix: use the right layout to run Starknet programs
Browse files Browse the repository at this point in the history
Use the `starknet_with_keccak` layout instead of the `plain` layout.
  • Loading branch information
Olivier Desenfans committed Nov 22, 2023
1 parent bcd361d commit befac08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion madara-prover-rpc-server/src/cairo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub fn run_in_proof_mode(
program_content: &[u8],
) -> Result<(CairoRunner, VirtualMachine), CairoRunError> {
let proof_mode = true;
let layout = "plain";
let layout = "starknet_with_keccak";

let cairo_run_config = CairoRunConfig {
entrypoint: "main",
Expand Down

0 comments on commit befac08

Please sign in to comment.