Skip to content

Commit

Permalink
Re-export some types
Browse files Browse the repository at this point in the history
  • Loading branch information
fmkra committed Oct 24, 2024
1 parent a130db2 commit 9c131d2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,16 @@ mod tests;
#[cfg(feature: 'feature_change_my_name')]
use cairo_verifier::{
deserialization::stark::StarkProofWithSerde, stark::{StarkProof, StarkProofImpl},
settings::{VerifierSettings, CairoVersion},
};
#[cfg(feature: 'feature_change_my_name')]
use starknet::contract_address::ContractAddressZero;

// re-export
use cairo_verifier::{
contracts::fact_registry_interface::{IFactRegistry, IFactRegistryDispatcher, IFactRegistryDispatcherTrait},
settings::{FactHash, VerificationHash, PresetHash, SecurityBits, JobId, CairoVersion, HasherBitLength, StoneVersion, VerifierSettings, VerifierPreset, VerifierConfiguration, split_settings},
};

#[cfg(feature: 'dex')]
use cairo_verifier::air::layouts::dex::public_input::DexPublicInputImpl as PublicInputImpl;

Check failure on line 48 in src/lib.cairo

View workflow job for this annotation

GitHub Actions / verify-example-proofs (cairo0, dex, keccak, 160_lsb, stone5)

Identifier not found.

Check failure on line 48 in src/lib.cairo

View workflow job for this annotation

GitHub Actions / verify-example-proofs (cairo1, dex, keccak, 160_lsb, stone5)

Identifier not found.
#[cfg(feature: 'recursive')]
Expand All @@ -52,6 +58,7 @@ use cairo_verifier::air::layouts::starknet::public_input::StarknetPublicInputImp
use cairo_verifier::air::layouts::starknet_with_keccak::public_input::StarknetWithKeccakPublicInputImpl as PublicInputImpl;

Check failure on line 58 in src/lib.cairo

View workflow job for this annotation

GitHub Actions / verify-example-proofs (cairo0, starknet_with_keccak, keccak, 160_lsb, stone5)

Identifier not found.

Check failure on line 58 in src/lib.cairo

View workflow job for this annotation

GitHub Actions / verify-example-proofs (cairo1, starknet_with_keccak, keccak, 160_lsb, stone5)

Identifier not found.


#[cfg(feature: 'feature_change_my_name')]
const SECURITY_BITS: u32 = 50;

#[cfg(feature: 'feature_change_my_name')]
Expand Down

0 comments on commit 9c131d2

Please sign in to comment.