From 057ed7d690802e7846e7bd57280326ca42ca59b9 Mon Sep 17 00:00:00 2001 From: Herr Seppia Date: Tue, 30 Jul 2024 14:29:37 +0200 Subject: [PATCH] rusk: remove `MINIMUM_STAKE` --- rusk/src/lib/chain.rs | 2 -- rusk/tests/services/stake.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/rusk/src/lib/chain.rs b/rusk/src/lib/chain.rs index e65ace9dbc..cf58aa484d 100644 --- a/rusk/src/lib/chain.rs +++ b/rusk/src/lib/chain.rs @@ -21,8 +21,6 @@ use rusk_abi::VM; use crate::http::RuesEvent; -pub const MINIMUM_STAKE: Dusk = dusk(1000.0); - #[derive(Debug, Clone, Copy)] pub struct RuskTip { pub current: [u8; 32], diff --git a/rusk/tests/services/stake.rs b/rusk/tests/services/stake.rs index 0648822309..5dbf9e8cd8 100644 --- a/rusk/tests/services/stake.rs +++ b/rusk/tests/services/stake.rs @@ -7,6 +7,7 @@ use std::path::Path; use std::sync::{Arc, RwLock}; +use execution_core::stake::MINIMUM_STAKE; use execution_core::{ dusk, signatures::bls::PublicKey as BlsPublicKey, @@ -15,7 +16,6 @@ use execution_core::{ }; use rand::prelude::*; use rand::rngs::StdRng; -use rusk::node::MINIMUM_STAKE; use rusk::{Result, Rusk}; use std::collections::HashMap; use tempfile::tempdir;