Skip to content

Commit

Permalink
core: mv BlockHeight, BlockHash, Epoch, Epochs, Header into chain mod
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Aug 19, 2024
1 parent 54f376b commit 421ea30
Show file tree
Hide file tree
Showing 121 changed files with 899 additions and 861 deletions.
2 changes: 1 addition & 1 deletion crates/apps_lib/src/cli/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use borsh_ext::BorshSerializeExt;
use color_eyre::eyre::Result;
use itertools::sorted;
use ledger_namada_rs::{BIP44Path, NamadaApp};
use namada_core::storage::BlockHeight;
use namada_core::chain::BlockHeight;
use namada_sdk::address::{Address, DecodeError};
use namada_sdk::io::Io;
use namada_sdk::key::*;
Expand Down
3 changes: 2 additions & 1 deletion crates/apps_lib/src/client/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use masp_primitives::sapling::Node;
use masp_primitives::transaction::components::I128Sum;
use masp_primitives::zip32::ExtendedFullViewingKey;
use namada_sdk::address::{Address, InternalAddress, MASP};
use namada_sdk::chain::{BlockHeight, Epoch};
use namada_sdk::collections::{HashMap, HashSet};
use namada_sdk::control_flow::time::{Duration, Instant};
use namada_sdk::events::Event;
Expand All @@ -37,7 +38,7 @@ use namada_sdk::queries::{Client, RPC};
use namada_sdk::rpc::{
self, enriched_bonds_and_unbonds, query_epoch, TxResponse,
};
use namada_sdk::storage::{BlockHeight, BlockResults, Epoch};
use namada_sdk::storage::BlockResults;
use namada_sdk::tendermint_rpc::endpoint::status;
use namada_sdk::token::MaspDigitPos;
use namada_sdk::tx::display_batch_resp;
Expand Down
3 changes: 1 addition & 2 deletions crates/apps_lib/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ use std::num::NonZeroU64;
use std::path::{Path, PathBuf};

use directories::ProjectDirs;
use namada_sdk::chain::ChainId;
use namada_sdk::chain::{BlockHeight, ChainId};
use namada_sdk::collections::HashMap;
use namada_sdk::storage::BlockHeight;
use namada_sdk::time::Rfc3339String;
use serde::{Deserialize, Serialize};
use thiserror::Error;
Expand Down
2 changes: 1 addition & 1 deletion crates/benches/process_wrapper.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use criterion::{criterion_group, criterion_main, Criterion};
use namada_apps_lib::address;
use namada_apps_lib::chain::BlockHeight;
use namada_apps_lib::key::RefTo;
use namada_apps_lib::state::TxIndex;
use namada_apps_lib::storage::BlockHeight;
use namada_apps_lib::time::DateTimeUtc;
use namada_apps_lib::token::{Amount, DenominatedAmount, Transfer};
use namada_apps_lib::tx::data::{Fee, WrapperTx};
Expand Down
Loading

0 comments on commit 421ea30

Please sign in to comment.