From 1c4f9abd03dcb6f67b635ebbf41258c8f3e5c41b Mon Sep 17 00:00:00 2001 From: Valentyn Faychuk Date: Tue, 21 Jan 2025 22:17:57 +0200 Subject: [PATCH] update sgx library to get patch for vulnerabilities --- Cargo.toml | 2 +- src/solana.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5e180de..5176c9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,7 +33,7 @@ tower-http = { version = "0.6", features = ["full"] } hyper = "1.4" hyper-util = "0.1" hyper-rustls = { version = "0.27", features = ["http2"] } -detee-sgx = { git = "https://gitea.detee.cloud/general/detee-sgx", features = ["tonic", "occlum", "sealing"] } +detee-sgx = { git = "https://gitea.detee.cloud/general/detee-sgx", branch = "dthc", features = ["tonic", "occlum", "sealing"] } [build-dependencies] tonic-build = "0.12" diff --git a/src/solana.rs b/src/solana.rs index b03e6c4..0a72202 100644 --- a/src/solana.rs +++ b/src/solana.rs @@ -48,6 +48,7 @@ impl SolClient { } pub async fn mint(&self, recipient: &str) -> Result> { + // TODO: add the priority fee for the case when the solana network is congested use std::str::FromStr; let recipient = solana_sdk::pubkey::Pubkey::from_str(recipient)?; let associated_token_address = self.create_token_account(&recipient).await?;