diff --git a/configuration/Cargo.toml b/configuration/Cargo.toml index 5b9d0f5e..9663ada1 100644 --- a/configuration/Cargo.toml +++ b/configuration/Cargo.toml @@ -9,7 +9,7 @@ license.workspace = true [dependencies] anyhow = "1.0.70" -aws-sdk-s3 = "1.68.0" +aws-sdk-s3 = { version = "1.68.0", features = ["behavior-version-latest"] } dotenv = "0.15.0" lazy_static = "1.4.0" regex = "1.10.2" diff --git a/configuration/src/configs/tx_details_storage.rs b/configuration/src/configs/tx_details_storage.rs index c82f01d5..d722ac4a 100644 --- a/configuration/src/configs/tx_details_storage.rs +++ b/configuration/src/configs/tx_details_storage.rs @@ -22,7 +22,7 @@ impl TxDetailsStorageConfig { self.secret_key.clone(), None, None, - "tx-storage-provider", // It is + "Static", ); // Build AWS SDK config diff --git a/database/Cargo.toml b/database/Cargo.toml index 5e88c08b..3e1e8683 100644 --- a/database/Cargo.toml +++ b/database/Cargo.toml @@ -19,7 +19,7 @@ hex = "0.4.3" lazy_static = "1.4.0" prometheus = "0.13.4" serde_json = "1.0.117" -sqlx = { version = "0.8.2", features = [ +sqlx = { version = "0.8.3", features = [ "runtime-tokio-native-tls", "postgres", "migrate", diff --git a/rpc-server/src/utils.rs b/rpc-server/src/utils.rs index 6a570db9..2c952065 100644 --- a/rpc-server/src/utils.rs +++ b/rpc-server/src/utils.rs @@ -263,7 +263,7 @@ async fn task_optimistic_block_status() { .get(); loop { // check every second - tokio::time::sleep(std::time::Duration::from_secs(1)).await; + tokio::time::sleep(std::time::Duration::from_secs(2)).await; // get the current final block height let current_final = crate::metrics::LATEST_BLOCK_HEIGHT_BY_FINALITIY diff --git a/tx-details-storage/Cargo.toml b/tx-details-storage/Cargo.toml index a7aff007..9f555e22 100644 --- a/tx-details-storage/Cargo.toml +++ b/tx-details-storage/Cargo.toml @@ -11,4 +11,4 @@ license.workspace = true [dependencies] anyhow = "1.0.70" -aws-sdk-s3 = "1.68.0" +aws-sdk-s3 = { version = "1.68.0", features = ["behavior-version-latest"] }