Skip to content

Commit

Permalink
package rename eth_essentials_cairo_vm_hints
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Oct 28, 2024
1 parent 6ede980 commit 4faa431
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 22 deletions.
36 changes: 18 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cairo_vm_hints/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "cairo_vm_hints"
name = "eth_essentials_cairo_vm_hints"
version = "0.1.0"
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions cairo_vm_hints/src/hint_processor/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::hints::run_hint;
use crate::hints;
use cairo_vm::{
hint_processor::{
builtin_hint_processor::builtin_hint_processor_definition::{
Expand Down Expand Up @@ -39,7 +39,7 @@ impl HintProcessorLogic for CustomHintProcessor {
.downcast_ref::<HintProcessorData>()
.ok_or(HintError::WrongHintData)?;

run_hint(vm, exec_scopes, hint_data, constants)
hints::run_hint(vm, exec_scopes, hint_data, constants)
}
}

Expand Down
7 changes: 6 additions & 1 deletion cairo_vm_hints/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#![deny(warnings)]
#![forbid(unsafe_code)]
pub mod hint_processor;
pub mod hints;
pub mod mmr;
pub mod utils;

use bincode::enc::write::Writer;
use cairo_vm::air_public_input::PublicInputError;
use cairo_vm::cairo_run::{self, EncodeTraceError};
Expand All @@ -16,7 +21,7 @@ use cairo_vm::vm::runners::cairo_pie::CairoPie;
// #[cfg(feature = "with_tracer")]
// use cairo_vm::vm::runners::cairo_runner::CairoRunner;
use cairo_vm::vm::runners::cairo_runner::RunResources;
use cairo_vm_hints::hint_processor::ExtendedHintProcessor;
use hint_processor::ExtendedHintProcessor;
// #[cfg(feature = "with_tracer")]
// use cairo_vm_tracer::error::trace_data_errors::TraceDataError;
// #[cfg(feature = "with_tracer")]
Expand Down

0 comments on commit 4faa431

Please sign in to comment.