Skip to content

Commit

Permalink
Merge branch 'tiago/remove-build-warning' (#3175)
Browse files Browse the repository at this point in the history
* origin/tiago/remove-build-warning:
  Fix unused import build warnings
  • Loading branch information
brentstone committed May 8, 2024
2 parents 50ae0ef + c1cdd35 commit 1c1b0cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
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 @@ -763,7 +763,6 @@ 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::sdk::events::Event;
use namada::tendermint::abci::types::{Misbehavior, MisbehaviorKind};
use namada::token::{
Expand All @@ -775,6 +774,7 @@ mod test_finalize_block {
use namada::tx::event::Code as CodeAttr;
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 @@ -416,7 +416,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 @@ -536,14 +536,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

0 comments on commit 1c1b0cc

Please sign in to comment.