Skip to content

Commit

Permalink
fmt + lint
Browse files Browse the repository at this point in the history
  • Loading branch information
itegulov committed Sep 13, 2024
1 parent 7c0de25 commit 985cf8a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions core/lib/dal/src/models/storage_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ use zksync_types::{
api,
block::{L1BatchHeader, L2BlockHeader},
commitment::{L1BatchMetaParameters, L1BatchMetadata},
fee_model::{BatchFeeInput, L1PeggedBatchFeeModelInput, PubdataIndependentBatchFeeModelInput},
fee_model::BatchFeeInput,
l2_to_l1_log::{L2ToL1Log, SystemL2ToL1Log, UserL2ToL1Log},
Address, Bloom, L1BatchNumber, L2BlockNumber, ProtocolVersionId, H256,
Address, Bloom, L1BatchNumber, L2BlockNumber, H256,
};

/// This is the gas limit that was used inside blocks before we started saving block gas limit into the database.
Expand Down
5 changes: 3 additions & 2 deletions core/node/block_reverter/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
use std::{collections::HashSet, sync::Mutex};

use super::*;
use assert_matches::assert_matches;
use async_trait::async_trait;
use test_casing::test_casing;
Expand All @@ -11,13 +10,15 @@ use zksync_dal::Connection;
use zksync_merkle_tree::TreeInstruction;
use zksync_object_store::{Bucket, MockObjectStore};
use zksync_state::interface::ReadStorage;
use zksync_types::fee_model::BatchFeeInput;
use zksync_types::{
block::{L1BatchHeader, L2BlockHeader},
fee_model::BatchFeeInput,
snapshots::SnapshotVersion,
AccountTreeId, L2BlockNumber, ProtocolVersion, ProtocolVersionId, StorageKey, StorageLog,
};

use super::*;

fn gen_storage_logs() -> Vec<StorageLog> {
(0..10)
.map(|i| {
Expand Down
1 change: 0 additions & 1 deletion core/node/fee_model/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use std::{fmt, fmt::Debug, sync::Arc};

use anyhow::Context as _;
use async_trait::async_trait;
use zksync_dal::{ConnectionPool, Core, CoreDal};
use zksync_types::{
Expand Down

0 comments on commit 985cf8a

Please sign in to comment.