Move version! from core:: to clap_utils:: (#6944)
* Move version! from core to clap-utils * Completely move version! from core:: to clap_utils:: * rustfmt * Do remaining transition after rebase
This commit is contained in:
@ -967,7 +967,7 @@ impl RpcSol for RpcSolImpl {
|
||||
|
||||
fn get_version(&self, _: Self::Metadata) -> Result<RpcVersionInfo> {
|
||||
Ok(RpcVersionInfo {
|
||||
solana_core: crate::version!().to_string(),
|
||||
solana_core: solana_clap_utils::version!().to_string(),
|
||||
})
|
||||
}
|
||||
|
||||
@ -1714,7 +1714,7 @@ pub mod tests {
|
||||
let expected = json!({
|
||||
"jsonrpc": "2.0",
|
||||
"result": {
|
||||
"solana-core": crate::version!().to_string()
|
||||
"solana-core": solana_clap_utils::version!().to_string()
|
||||
},
|
||||
"id": 1
|
||||
});
|
||||
|
Reference in New Issue
Block a user