Skip to content

Commit

Permalink
Fix contract part2 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
fmkra committed Aug 15, 2024
1 parent 7ae148d commit 2acbb39
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 24 deletions.
7 changes: 2 additions & 5 deletions Scarb.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
name = "cairo_verifier"
version = "0.1.0"



[[target.starknet-contract]]
[lib]
sierra = true
casm = true

[lib]
[[target.starknet-contract]]
sierra = true
casm = true

Expand Down
34 changes: 17 additions & 17 deletions deploy/starknet_with_keccak.toml
Original file line number Diff line number Diff line change
@@ -1,71 +1,71 @@
[[call]]
call_type = "deploy"
class_hash = "0x17b946d2ff930604756b54af37a6552b681a524f8704ee39dfd01d182a2f427"
class_hash = "0x01d7338e998a3cfe1151fc8522e0e7208ae6d620a7654d9c2249fe32fe21b281"
inputs = []
id = "contract_1_part_1"
unique = false

[[call]]
call_type = "deploy"
class_hash = "0x239d6a9303dd2a4cfdf4efaae568df8b8147e82c1639f90851d9a80384c43d0"
class_hash = "0x07fecd4461e47b8cf1ac339f1f2c8bc06c9a80e4353cd0bcf5acd0e41662ba2d"
inputs = []
id = "contract_1_part_2"
unique = false

[[call]]
call_type = "deploy"
class_hash = "0x50a0554c1d5cba00ae4745796fa64a81a1fb99171fd4ee33afde30d9763604a"
class_hash = "0x0128f32b1363d6f83f0bae224bb3ec9de112090167da94bafbf2d5917dec31db"
inputs = []
id = "contract_1_part_3"
unique = false

[[call]]
call_type = "deploy"
class_hash = "0x49ae0d9fb298ec404703a6029c56b0be80623bd72a13cb3b80dba58f9104dc9"
class_hash = "0x0262a1af6614c3c9ed7b4922dada2d187d7756e02bc1940c22b5197741cf1c8d"
inputs = []
id = "contract_1_part_4"
unique = false

[[call]]
call_type = "deploy"
class_hash = "0x2236d23d77342ccdc460ec017c40653ea90f02179cb29d4b37bc88deaa29fde"
class_hash = "0x00261d1290811d440655a0ae2ca3bde5e91511462962448ff5459523b6ccde98"
inputs = []
id = "contract_1_part_5"
unique = false

[[call]]
call_type = "deploy"
class_hash = "0x1fa8c0caf52b8d87129dc811879ce9526d55a21486e053cd3fcd412e5373eea"
class_hash = "0x0678cf8c4c9fce2a9ea044036704cfb2cda6543f02407dc21f510958b7c29487"
inputs = []
id = "contract_1_part_6"
unique = false

[[call]]
call_type = "deploy"
class_hash = "0x78223c837100de57d98180c660d20ca69324eaf1ca77f778173b12f506be768"
class_hash = "0x063d3a2509c30d33ae9189e6c7e3c6354ede001f92a982569451b334100a798a"
inputs = []
id = "contract_1_part_7"
unique = false

[[call]]
call_type = "deploy"
class_hash = "0x60ed97da980fb6610abdc7117ff62b0156b02008fd8289bce76d5c3e2c045e3"
inputs = ["0x7", "contract_1_part_1", "contract_1_part_2", "contract_1_part_3", "contract_1_part_4", "contract_1_part_5", "contract_1_part_6", "contract_1_part_7"]
id = "contract_1"
class_hash = "0x2d4eb74c22f33983f27885787f5c70bb5eaf5bdc1f2f297278b3084448aa471"
inputs = []
id = "contract_2_part1"
unique = false

[[call]]
call_type = "deploy"
class_hash = "0x3cef34bc5fa15938e0c8401398ee96d2277c4b1bd0855f952b8770e14a3f7d6"
class_hash = "0x2bfcd7eac7a43c552cb1b0b5b1d488f9af1c9162b21b723518504a73c3b333b"
inputs = []
id = "contract_2_part1"
id = "contract_2_part2"
unique = false

[[call]]
call_type = "deploy"
class_hash = "0x1b9ef9fafe141c000ae467f43d8a9efad39343890ef827e9d2268977a82b889"
inputs = []
id = "contract_2_part2"
class_hash = "0x60ed97da980fb6610abdc7117ff62b0156b02008fd8289bce76d5c3e2c045e3"
inputs = ["0x7", "contract_1_part_1", "contract_1_part_2", "contract_1_part_3", "contract_1_part_4", "contract_1_part_5", "contract_1_part_6", "contract_1_part_7"]
id = "contract_1"
unique = false

[[call]]
Expand All @@ -77,7 +77,7 @@ unique = false

[[call]]
call_type = "deploy"
class_hash = "0x0773ee3a60343f252127645db51ac3750be118339f647b69e0a9f43c359aac40"
class_hash = "0x2bffec1440f370cd6531b119ba4b20a57b5279e4acacce99fba86c92f65a012"
inputs = ["contract_1", "contract_2"]
id = "main_contract"
id = "cairo_verifier"
unique = false
4 changes: 2 additions & 2 deletions src/air/layouts/starknet_with_keccak/contract.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ mod StarknetWithKeccakLayoutContract1part7 {

#[starknet::contract]
mod StarknetWithKeccakLayoutContract2part1 {
use super::IStarknetWithKeccakLayoutContract2;
use super::IStarknetWithKeccakLayoutContract2parts;
use cairo_verifier::air::layouts::starknet_with_keccak::{
global_values::GlobalValues,
autogenerated::eval_oods_polynomial_inner_part1,
Expand Down Expand Up @@ -520,7 +520,7 @@ mod StarknetWithKeccakLayoutContract2part1 {

#[starknet::contract]
mod StarknetWithKeccakLayoutContract2part2 {
use super::IStarknetWithKeccakLayoutContract2;
use super::IStarknetWithKeccakLayoutContract2parts;
use cairo_verifier::air::layouts::starknet_with_keccak::{
global_values::GlobalValues,
autogenerated::eval_oods_polynomial_inner_part2,
Expand Down

0 comments on commit 2acbb39

Please sign in to comment.