Skip to content

Commit

Permalink
alias fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Mar 15, 2024
1 parent 626141d commit 16628b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
4 changes: 2 additions & 2 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def select_types() -> str:
"""Prompts the user to select a type."""
questions = [
inquirer.List("layout_type", message="Select layout", choices=LAYOUT_TYPES),
inquirer.List("hash_type", message="Select hash", choices=HASH_TYPES)
inquirer.List("hash_type", message="Select hash", choices=HASH_TYPES),
]
answers = inquirer.prompt(questions)
return (answers["layout_type"], answers["hash_type"])
Expand All @@ -32,7 +32,7 @@ def main(layout_type=None, hash_type=None):
sys.exit(1)

current_directory = Path("src")
for file_path in current_directory.rglob("*"):
for file_path in current_directory.rglob("*.cairo"):
if file_path.is_file():
process_file(file_path, [layout_type, hash_type])

Expand Down
5 changes: 1 addition & 4 deletions fact_registry/src/verifier.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ trait ICairoVerifier<TContractState> {

#[starknet::component]
mod CairoVerifier {
use cairo_verifier::{
stark::{StarkProof, StarkProofImpl},
air::layouts::recursive::public_input::RecursivePublicInputImpl,
};
use cairo_verifier::{PublicInputImpl, stark::{StarkProof, StarkProofImpl}};

#[storage]
struct Storage {}
Expand Down
10 changes: 5 additions & 5 deletions src/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ mod tests;
use cairo_verifier::{
deserialization::stark::StarkProofWithSerde, stark::{StarkProof, StarkProofImpl},
// === DEX BEGIN ===
// air::layouts::dex::public_input::DexPublicInputImpl,
// air::layouts::dex::public_input::DexPublicInputImpl as PublicInputImpl,
// === DEX END ===
// === RECURSIVE BEGIN ===
air::layouts::recursive::public_input::RecursivePublicInputImpl,
air::layouts::recursive::public_input::RecursivePublicInputImpl as PublicInputImpl,
// === RECURSIVE END ===
// === RECURSIVE_WITH_POSEIDON BEGIN ===
// air::layouts::recursive_with_poseidon::public_input::RecursiveWithPoseidonPublicInputImpl,
// air::layouts::recursive_with_poseidon::public_input::RecursiveWithPoseidonPublicInputImpl as PublicInputImpl,
// === RECURSIVE_WITH_POSEIDON END ===
// === SMALL BEGIN ===
// air::layouts::small::public_input::SmallPublicInputImpl,
// air::layouts::small::public_input::SmallPublicInputImpl as PublicInputImpl,
// === SMALL END ===
// === STARKNET BEGIN ===
// air::layouts::starknet::public_input::StarknetPublicInputImpl,
// air::layouts::starknet::public_input::StarknetPublicInputImpl as PublicInputImpl,
// === STARKNET END ===
};

Expand Down

0 comments on commit 16628b0

Please sign in to comment.