Updated mix_id to correctly use u32 as opposed to u64
This commit is contained in:
@@ -238,7 +238,7 @@ pub enum V2MigrationOperation {
|
||||
proxy: Option<Addr>,
|
||||
|
||||
#[serde(rename = "a4")]
|
||||
new_mix_id: Option<u64>,
|
||||
new_mix_id: Option<u32>,
|
||||
},
|
||||
|
||||
#[serde(rename = "m3")]
|
||||
@@ -304,7 +304,7 @@ pub enum SpecialV2ExecuteMsg {
|
||||
owner: Addr,
|
||||
|
||||
#[serde(rename = "a2")]
|
||||
mix_id: u64,
|
||||
mix_id: u32,
|
||||
|
||||
#[serde(rename = "a3")]
|
||||
amount: Coin,
|
||||
|
||||
@@ -123,7 +123,7 @@ pub enum ExecuteMsg {
|
||||
AuthorisedUpdateToV2 {
|
||||
owner: String,
|
||||
node_identity: IdentityKey,
|
||||
mix_id: u64,
|
||||
mix_id: u32,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ use mixnet_contract_common::IdentityKey;
|
||||
use vesting_contract_common::PledgeData;
|
||||
|
||||
pub(crate) type BlockTimestampSecs = u64;
|
||||
pub(crate) type NodeId = u64;
|
||||
pub(crate) type NodeId = u32;
|
||||
|
||||
pub const KEY: Item<'_, u32> = Item::new("key");
|
||||
const ACCOUNTS: Map<'_, String, Account> = Map::new("acc");
|
||||
|
||||
Reference in New Issue
Block a user