penumbra_sdk_app/app/
state_key.rs1pub mod app_version {
2 pub fn safeguard() -> &'static str {
3 "application/version/safeguard"
4 }
5}
6
7pub mod genesis {
8 pub fn app_state() -> &'static str {
9 "application/genesis/app_state"
10 }
11}
12
13pub mod data {
14 pub fn chain_id() -> &'static str {
15 "application/data/chain_id"
16 }
17}
18
19pub mod cometbft_data {
20 use crate::COMETBFT_SUBSTORE_PREFIX;
21
22 pub fn transactions_by_height(block_height: u64) -> String {
23 format!(
24 "{}/transactions_by_height/{block_height:020}",
25 COMETBFT_SUBSTORE_PREFIX
26 )
27 }
28}