Skip to content

Commit

Permalink
stake-contract: remove MINIMUM_STAKE
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia authored and moCello committed Aug 5, 2024
1 parent d3b78ac commit e9664f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions contracts/stake/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,11 @@

extern crate alloc;

use execution_core::{dusk, transfer::TRANSFER_CONTRACT, Dusk};
use execution_core::transfer::TRANSFER_CONTRACT;

mod state;
use state::StakeState;

/// The minimum amount of Dusk one can stake.
pub const MINIMUM_STAKE: Dusk = dusk(1_000.0);

static mut STATE: StakeState = StakeState::new();

// Transactions
Expand Down
2 changes: 1 addition & 1 deletion contracts/stake/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use execution_core::{
signatures::bls::PublicKey as BlsPublicKey,
stake::{
next_epoch, Stake, StakeAmount, StakeData, StakeEvent, Withdraw, EPOCH,
STAKE_CONTRACT, STAKE_WARNINGS,
MINIMUM_STAKE, STAKE_CONTRACT, STAKE_WARNINGS,
},
transfer::TRANSFER_CONTRACT,
};
Expand Down

0 comments on commit e9664f4

Please sign in to comment.