Prechádzať zdrojové kódy

fix(pyth-lazer-agent) Fix the jRPC path (#2870)

Bart Platak 4 mesiacov pred
rodič
commit
22713af7ff

+ 1 - 1
Cargo.lock

@@ -5611,7 +5611,7 @@ dependencies = [
 
 [[package]]
 name = "pyth-lazer-agent"
-version = "0.2.0"
+version = "0.3.0"
 dependencies = [
  "anyhow",
  "backoff",

+ 1 - 1
apps/pyth-lazer-agent/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "pyth-lazer-agent"
-version = "0.2.0"
+version = "0.3.0"
 edition = "2024"
 
 [dependencies]

+ 1 - 1
apps/pyth-lazer-agent/src/http_server.rs

@@ -33,7 +33,7 @@ pub struct RelayerRequest(pub http::Request<Incoming>);
 
 const PUBLISHER_WS_URI_V1: &str = "/v1/publisher";
 const PUBLISHER_WS_URI_V2: &str = "/v2/publisher";
-const JRPC_WS_URI_V1: &str = "/v1/jprc";
+const JRPC_WS_URI_V1: &str = "/v1/jrpc";
 
 const READINESS_PROBE_PATH: &str = "/ready";
 const LIVENESS_PROBE_PATH: &str = "/live";