瀏覽代碼

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

Bart Platak 4 月之前
父節點
當前提交
22713af7ff
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      Cargo.lock
  2. 1 1
      apps/pyth-lazer-agent/Cargo.toml
  3. 1 1
      apps/pyth-lazer-agent/src/http_server.rs

+ 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";