Skip to content

Commit

Permalink
chore: Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sword-Smith committed Nov 4, 2024
1 parent 640b960 commit ff2ca0f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/mine_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ pub(crate) mod mine_loop_tests {
use num_traits::Pow;
use num_traits::Zero;
use tracing_test::traced_test;
use transaction_kernel::transaction_kernel_tests::pseudorandom_transaction_kernel;
use transaction_output::TxOutput;
use transaction_output::UtxoNotificationMedium;

Expand All @@ -577,9 +576,7 @@ pub(crate) mod mine_loop_tests {
use crate::models::proof_abstractions::tasm::program::TritonProverSync;
use crate::models::proof_abstractions::timestamp::Timestamp;
use crate::tests::shared::dummy_expected_utxo;
use crate::tests::shared::make_mock_transaction;
use crate::tests::shared::make_mock_transaction_with_mutator_set_hash;
use crate::tests::shared::mock_block_from_transaction_and_msa;
use crate::tests::shared::mock_genesis_global_state;
use crate::tests::shared::random_transaction_kernel;
use crate::util_types::test_shared::mutator_set::random_mmra;
Expand Down
2 changes: 1 addition & 1 deletion src/models/blockchain/block/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -930,10 +930,10 @@ mod block_tests {
use crate::mine_loop::make_coinbase_transaction;
use crate::models::blockchain::transaction::lock_script::LockScriptAndWitness;
use crate::models::state::wallet::WalletSecret;
use crate::tests::shared::invalid_block_with_transaction;
use crate::tests::shared::make_mock_block;
use crate::tests::shared::make_mock_block_with_valid_pow;
use crate::tests::shared::make_mock_transaction;
use crate::tests::shared::invalid_block_with_transaction;
use crate::tests::shared::mock_genesis_global_state;
use crate::util_types::mutator_set::archival_mmr::ArchivalMmr;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use std::sync::OnceLock;
use tasm_lib::twenty_first::prelude::Mmr;

use crate::models::blockchain::block::block_body::BlockBody;
use crate::models::blockchain::block::mutator_set_update::MutatorSetUpdate;
use crate::models::blockchain::block::Block;
use crate::models::blockchain::transaction::Transaction;

Expand Down
3 changes: 1 addition & 2 deletions src/models/blockchain/transaction/lock_script.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ use twenty_first::math::b_field_element::BFieldElement;
use twenty_first::math::bfield_codec::BFieldCodec;
use twenty_first::math::tip5::Digest;

use super::utxo::Utxo;
use crate::models::proof_abstractions::tasm::program::prove_consensus_program;
use crate::models::proof_abstractions::tasm::program::TritonProverSync;
use crate::prelude::twenty_first;

use super::utxo::Utxo;

#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, Eq, GetSize, BFieldCodec)]
pub struct LockScript {
pub program: Program,
Expand Down
1 change: 0 additions & 1 deletion src/models/blockchain/transaction/validity/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,6 @@ pub(crate) mod test {

use super::*;
use crate::models::blockchain::block::mutator_set_update::MutatorSetUpdate;
use crate::models::blockchain::block::Block;
use crate::models::blockchain::transaction::validity::single_proof::SingleProof;
use crate::models::blockchain::transaction::validity::update::Update;
use crate::models::blockchain::transaction::PrimitiveWitness;
Expand Down

0 comments on commit ff2ca0f

Please sign in to comment.