From c4f37418d2d075e9d1d071f7b75d03abc176f18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1?= <47506558+MegaRedHand@users.noreply.github.com> Date: Thu, 6 Jul 2023 12:27:12 -0300 Subject: [PATCH] Reexport whole `felt` module 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. --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 5bf63855b..e0f5b0b34 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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; @@ -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;