Skip to content

Commit

Permalink
Merge pull request #2569 from eqlabs/vbar/v06-main
Browse files Browse the repository at this point in the history
fix: add RootRpcVersion::V06
  • Loading branch information
vbar authored Feb 4, 2025
2 parents 4bd4d91 + c4c33a2 commit 90d6e5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/pathfinder/src/bin/pathfinder/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ impl Color {

#[derive(clap::ValueEnum, Debug, Clone, Copy, PartialEq)]
pub enum RootRpcVersion {
V06,
V07,
V08,
}
Expand Down
1 change: 1 addition & 0 deletions crates/pathfinder/src/bin/pathfinder/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ Hint: This is usually caused by exceeding the file descriptor limit of your syst
};

let default_version = match config.rpc_root_version {
config::RootRpcVersion::V06 => pathfinder_rpc::RpcVersion::V06,
config::RootRpcVersion::V07 => pathfinder_rpc::RpcVersion::V07,
config::RootRpcVersion::V08 => pathfinder_rpc::RpcVersion::V08,
};
Expand Down

0 comments on commit 90d6e5f

Please sign in to comment.