From eb95630ef4c937bd2a2927d14e5b33bf313e54fc Mon Sep 17 00:00:00 2001 From: Erwan Or Date: Thu, 28 Mar 2024 12:52:01 -0400 Subject: [PATCH] app: increment halt counter penumbra: update `COMPATIBILTIY.md` app: increment `APP_VERSION` add docstring comment for APP_VERSION --- COMPATIBILITY.md | 3 ++- crates/core/app/src/app/mod.rs | 2 +- crates/core/app/src/lib.rs | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/COMPATIBILITY.md b/COMPATIBILITY.md index 8e3149a450..493c9938c9 100644 --- a/COMPATIBILITY.md +++ b/COMPATIBILITY.md @@ -1,3 +1,4 @@ | Application version (Name)| Penumbra crate version | CometBFT | Protobuf | | ------------------------- | ---------------------- | -------- | -------- | -| 1 (Testnet 69) | v0.69.1 | v0.37.5 | v1 | +| 1 (Testnet 70) | v0.70.x | v0.37.5 | v1 | +| 2 (Testnet 71) | v0.71.x | v0.37.5 | v1 | diff --git a/crates/core/app/src/app/mod.rs b/crates/core/app/src/app/mod.rs index ac3493a75c..e08991de43 100644 --- a/crates/core/app/src/app/mod.rs +++ b/crates/core/app/src/app/mod.rs @@ -619,7 +619,7 @@ impl App { /// /// Increment this manually after fixing the root cause for a chain halt: updated nodes will then be /// able to proceed past the block height of the halt. -const TOTAL_HALT_COUNT: u64 = 0; +const TOTAL_HALT_COUNT: u64 = 1; #[async_trait] pub trait StateReadExt: StateRead { diff --git a/crates/core/app/src/lib.rs b/crates/core/app/src/lib.rs index f7dfe88b9e..77cabcb848 100644 --- a/crates/core/app/src/lib.rs +++ b/crates/core/app/src/lib.rs @@ -19,7 +19,9 @@ pub use crate::{ use once_cell::sync::Lazy; -pub const APP_VERSION: u64 = 1; +/// Representation of the Penumbra application version. Notably, this is distinct +/// from the crate version(s). This number should only ever be incremented. +pub const APP_VERSION: u64 = 2; pub static SUBSTORE_PREFIXES: Lazy> = Lazy::new(|| { vec![