fixed beta clippy: lints + updated cosmwasm to 1.4

This commit is contained in:
Jędrzej Stuczyński
2024-03-27 15:41:28 +00:00
parent ebf9a98a1e
commit 7e6feb0cd2
132 changed files with 661 additions and 1150 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ pub(super) async fn annotate_nodes_with_details(
compute_apy_from_reward(&mixnode, reward_estimate, current_interval);
let family = mix_to_family
.get(&mixnode.bond_information.identity().to_string())
.get(mixnode.bond_information.identity())
.cloned();
annotated.push(MixNodeBondAnnotated {
+1 -1
View File
@@ -21,7 +21,7 @@ use schemars::gen::SchemaGenerator;
use schemars::schema::{InstanceType, Schema};
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use std::convert::TryFrom;
use thiserror::Error;
use time::OffsetDateTime;
+1 -1
View File
@@ -6,7 +6,7 @@ use crate::node_status_api::{FIFTEEN_MINUTES, ONE_HOUR};
use crate::storage::models::NodeStatus;
use log::warn;
use nym_mixnet_contract_common::MixId;
use std::convert::TryInto;
use time::OffsetDateTime;
// A temporary helper structs used to produce reports for active nodes.