Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Reexport whole felt module (#781)
Browse files Browse the repository at this point in the history
Some users would like to use `felt_str`, and to avoid having to
import the felt crate independently for this.
Reexporting the whole crate should reduce future work when functionality is added.
  • Loading branch information
MegaRedHand authored Jul 6, 2023
1 parent 29dd9e8 commit 4edb6d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use crate::{
transaction::{error::TransactionError, Transaction},
};

use cairo_vm::felt::Felt252;
use definitions::block_context::BlockContext;
use state::cached_state::CachedState;
use transaction::L1Handler;
Expand All @@ -31,7 +32,7 @@ pub use crate::services::api::contract_classes::deprecated_contract_class::{
pub use cairo_lang_starknet::casm_contract_class::CasmContractClass;
pub use cairo_lang_starknet::contract_class::ContractClass;
pub use cairo_lang_starknet::contract_class::ContractClass as SierraContractClass;
pub use cairo_vm::felt::Felt252;
pub use cairo_vm::felt;

pub mod core;
pub mod definitions;
Expand Down

0 comments on commit 4edb6d1

Please # to comment.