Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unused import build warnings #3175

Merged
merged 1 commit into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/apps/src/lib/node/ledger/shell/finalize_block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -764,12 +764,12 @@ mod test_finalize_block {
BondId, SlashType, ValidatorState, WeightedValidator,
};
use namada::proof_of_stake::{unjail_validator, ADDRESS as pos_address};
use namada::replay_protection;
use namada::tendermint::abci::types::{Misbehavior, MisbehaviorKind};
use namada::token::{Amount, DenominatedAmount, NATIVE_MAX_DECIMAL_PLACES};
use namada::tx::data::Fee;
use namada::tx::{Authorization, Code, Data};
use namada::vote_ext::ethereum_events;
use namada::{address, replay_protection};
use namada_sdk::eth_bridge::storage::vote_tallies::BridgePoolRoot;
use namada_sdk::eth_bridge::MinimumConfirmations;
use namada_sdk::governance::ProposalVote;
Expand Down
6 changes: 3 additions & 3 deletions crates/apps/src/lib/node/ledger/shell/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ use masp_primitives::transaction::Transaction;
use namada::core::address::Address;
use namada::core::chain::ChainId;
use namada::core::ethereum_events::EthereumEvent;
use namada::core::hints;
use namada::core::key::*;
use namada::core::storage::{BlockHeight, Key, TxIndex};
use namada::core::time::DateTimeUtc;
use namada::core::{address, hints};
use namada::ethereum_bridge::protocol::validation::bridge_pool_roots::validate_bp_roots_vext;
use namada::ethereum_bridge::protocol::validation::ethereum_events::validate_eth_events_vext;
use namada::ethereum_bridge::protocol::validation::validator_set_update::validate_valset_upd_vext;
Expand Down Expand Up @@ -417,7 +417,7 @@ where
any(test, feature = "testing", feature = "benches"),
not(feature = "integration"),
))]
let native_token = address::testing::nam();
let native_token = namada::address::testing::nam();
// ... Otherwise, look it up from the genesis file
#[cfg(not(all(
any(test, feature = "testing", feature = "benches"),
Expand Down Expand Up @@ -1958,14 +1958,14 @@ mod test_utils {
mod shell_tests {
use namada::core::storage::Epoch;
use namada::eth_bridge::storage::eth_bridge_queries::is_bridge_comptime_enabled;
use namada::replay_protection;
use namada::token::read_denom;
use namada::tx::data::protocol::{ProtocolTx, ProtocolTxType};
use namada::tx::data::Fee;
use namada::tx::{Authorization, Code, Data, Signed};
use namada::vote_ext::{
bridge_pool_roots, ethereum_events, ethereum_tx_data_variants,
};
use namada::{address, replay_protection};

use super::*;
use crate::node::ledger::shell::token::DenominatedAmount;
Expand Down
2 changes: 1 addition & 1 deletion crates/apps/src/lib/node/ledger/shell/process_proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,14 +537,14 @@ mod test_process_proposal {
use namada::eth_bridge::storage::eth_bridge_queries::{
is_bridge_comptime_enabled, EthBridgeQueries,
};
use namada::replay_protection;
use namada::state::StorageWrite;
use namada::token::{read_denom, Amount, DenominatedAmount};
use namada::tx::data::Fee;
use namada::tx::{Authorization, Code, Data, Signed};
use namada::vote_ext::{
bridge_pool_roots, ethereum_events, validator_set_update,
};
use namada::{address, replay_protection};

use super::*;
use crate::node::ledger::shell::test_utils::{
Expand Down
Loading