Skip to content

Commit

Permalink
fix: unknown version error no platform version 6
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Nov 6, 2024
1 parent b21b4f1 commit 78ccacb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/rs-platform-version/src/version/protocol_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ use crate::version::v2::PLATFORM_V2;
use crate::version::v3::PLATFORM_V3;
use crate::version::v4::PLATFORM_V4;
use crate::version::v5::PLATFORM_V5;
use crate::version::v6::PLATFORM_V6;
use crate::version::ProtocolVersion;
pub use versioned_feature_core::*;

Expand All @@ -41,6 +42,7 @@ pub const PLATFORM_VERSIONS: &[PlatformVersion] = &[
PLATFORM_V3,
PLATFORM_V4,
PLATFORM_V5,
PLATFORM_V6,
];

#[cfg(feature = "mock-versions")]
Expand All @@ -49,7 +51,7 @@ pub static PLATFORM_TEST_VERSIONS: OnceLock<Vec<PlatformVersion>> = OnceLock::ne
#[cfg(feature = "mock-versions")]
const DEFAULT_PLATFORM_TEST_VERSIONS: &[PlatformVersion] = &[TEST_PLATFORM_V2, TEST_PLATFORM_V3];

pub const LATEST_PLATFORM_VERSION: &PlatformVersion = &PLATFORM_V5;
pub const LATEST_PLATFORM_VERSION: &PlatformVersion = &PLATFORM_V6;

pub const DESIRED_PLATFORM_VERSION: &PlatformVersion = LATEST_PLATFORM_VERSION;

Expand Down

0 comments on commit 78ccacb

Please sign in to comment.