#![deny(clippy::unwrap_used)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
use once_cell::sync::Lazy;
pub static SUBSTORE_PREFIXES: Lazy<Vec<String>> = Lazy::new(|| {
vec![
penumbra_ibc::IBC_SUBSTORE_PREFIX.to_string(),
COMETBFT_SUBSTORE_PREFIX.to_string(),
]
});
pub static COMETBFT_SUBSTORE_PREFIX: &'static str = "cometbft-data";
pub mod app_version;
pub use app_version::APP_VERSION;
pub mod genesis;
pub mod params;
cfg_if::cfg_if! {
if #[cfg(feature="component")] {
pub mod app;
pub mod metrics;
pub mod rpc;
pub mod server;
mod action_handler;
mod community_pool_ext;
mod penumbra_host_chain;
pub use crate::{
action_handler::AppActionHandler, app::StateWriteExt,
community_pool_ext::CommunityPoolStateReadExt, metrics::register_metrics,
penumbra_host_chain::PenumbraHost,
};
pub struct Compat<'a, T>(&'a T);
}
}