Skip to content

Commit

Permalink
Bump versions (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-casper authored Feb 28, 2024
1 parent b552709 commit 820fce5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rpc_sidecar/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use std::{
use tracing::warn;

/// Minimal casper protocol version supported by this sidecar.
pub const SUPPORTED_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::from_parts(1, 5, 4);
pub const SUPPORTED_PROTOCOL_VERSION: ProtocolVersion = ProtocolVersion::from_parts(2, 0, 0);

/// The exit code is used to indicate that the client has shut down due to version mismatch.
pub const CLIENT_SHUTDOWN_EXIT_CODE: u8 = 0x3;
Expand Down
2 changes: 1 addition & 1 deletion rpc_sidecar/src/rpcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub use error_code::ErrorCode;

use crate::{ClientError, NodeClient};

pub const CURRENT_API_VERSION: ApiVersion = ApiVersion(SemVer::new(1, 5, 3));
pub const CURRENT_API_VERSION: ApiVersion = ApiVersion(SemVer::new(2, 0, 0));

/// This setting causes the server to ignore extra fields in JSON-RPC requests other than the
/// standard 'id', 'jsonrpc', 'method', and 'params' fields.
Expand Down

0 comments on commit 820fce5

Please sign in to comment.