Explorar o código

fix(hip-3-pusher): config paths optional

Mike Rolish hai 1 mes
pai
achega
7a5d517b80

+ 1 - 1
apps/hip-3-pusher/pyproject.toml

@@ -1,6 +1,6 @@
 [project]
 name = "hip-3-pusher"
-version = "0.1.5"
+version = "0.1.6"
 description = "Hyperliquid HIP-3 market oracle pusher"
 readme = "README.md"
 requires-python = "==3.13.*"

+ 2 - 2
apps/hip-3-pusher/src/pusher/config.py

@@ -7,7 +7,7 @@ STALE_TIMEOUT_SECONDS = 5
 
 class KMSConfig(BaseModel):
     enable_kms: bool
-    aws_kms_key_id_path: FilePath
+    aws_kms_key_id_path: Optional[FilePath] = None
 
 
 class LazerConfig(BaseModel):
@@ -33,7 +33,7 @@ class HyperliquidConfig(BaseModel):
     market_name: str
     market_symbol: str
     use_testnet: bool
-    oracle_pusher_key_path: FilePath
+    oracle_pusher_key_path: Optional[FilePath] = None
     publish_interval: float
     publish_timeout: float
     enable_publish: bool

+ 1 - 1
apps/hip-3-pusher/uv.lock

@@ -329,7 +329,7 @@ wheels = [
 
 [[package]]
 name = "hip-3-pusher"
-version = "0.1.5"
+version = "0.1.6"
 source = { editable = "." }
 dependencies = [
     { name = "boto3" },