Skip to content

Commit

Permalink
chore(driver): use tracing macros (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
refcell authored Nov 19, 2024
1 parent 9599fb8 commit 77a51c5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

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

10 changes: 5 additions & 5 deletions crates/driver/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ use alloy_consensus::{BlockBody, Sealable};
use alloy_primitives::B256;
use alloy_rlp::Decodable;
use core::fmt::Debug;
use op_alloy_consensus::{OpBlock, OpTxEnvelope, OpTxType};
use op_alloy_genesis::RollupConfig;
use op_alloy_protocol::L2BlockInfo;
use op_alloy_rpc_types_engine::OpAttributesWithParent;

use kona_derive::{
errors::{PipelineError, PipelineErrorKind},
traits::{Pipeline, SignalReceiver},
types::Signal,
};
use op_alloy_consensus::{OpBlock, OpTxEnvelope, OpTxType};
use op_alloy_genesis::RollupConfig;
use op_alloy_protocol::L2BlockInfo;
use op_alloy_rpc_types_engine::OpAttributesWithParent;
use tracing::{error, info, warn};

use crate::{
DriverError, DriverPipeline, DriverResult, Executor, ExecutorConstructor, PipelineCursor,
Expand Down
3 changes: 3 additions & 0 deletions crates/driver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

extern crate alloc;

#[macro_use]
extern crate tracing;

mod errors;
pub use errors::{DriverError, DriverResult};

Expand Down
1 change: 0 additions & 1 deletion crates/driver/src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use kona_derive::{
traits::{Pipeline, SignalReceiver},
types::{ActivationSignal, ResetSignal, StepResult},
};
use tracing::{info, warn};

/// The Driver's Pipeline
///
Expand Down

0 comments on commit 77a51c5

Please sign in to comment.