From 697019ce473269f6ae1fc8a8d8b7a7c8aa6bc916 Mon Sep 17 00:00:00 2001 From: man0s <95379755+losman0s@users.noreply.github.com> Date: Thu, 22 Aug 2024 22:15:37 +0800 Subject: [PATCH] cli: swb pull variant for oracle setup --- clients/rust/marginfi-cli/src/entrypoint.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/rust/marginfi-cli/src/entrypoint.rs b/clients/rust/marginfi-cli/src/entrypoint.rs index 10cb6e62..19b067a6 100644 --- a/clients/rust/marginfi-cli/src/entrypoint.rs +++ b/clients/rust/marginfi-cli/src/entrypoint.rs @@ -175,6 +175,7 @@ pub enum OracleTypeArg { PythLegacy, Switchboard, PythPushOracle, + SwitchboardPull, } impl From for OracleSetup { @@ -183,6 +184,7 @@ impl From for OracleSetup { OracleTypeArg::PythLegacy => OracleSetup::PythLegacy, OracleTypeArg::Switchboard => OracleSetup::SwitchboardV2, OracleTypeArg::PythPushOracle => OracleSetup::PythPushOracle, + OracleTypeArg::SwitchboardPull => OracleSetup::SwitchboardPull, } } }