Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
NunoAlexandre committed Oct 30, 2023
1 parent 7c08e3d commit 1ba6cdd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pallets/block-rewards/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ use sp_runtime::traits::BadOrigin;
use super::*;
use crate::mock::*;

const REWARD: u128 = 100 * crate::mock::ExistentialDeposit::get();
// The Reward amount
// NOTE: This value needs to be > ExistentialDeposit, otherwise the tests will fail

This comment has been minimized.

Copy link
@lemunozm

lemunozm Nov 14, 2023

Contributor

Thanks for this comment @NunoAlexandre !

// as it's not allowed to transfer a value below the ED threshold.
const REWARD: u128 = 100 + ExistentialDeposit::get();

#[test]
fn check_special_privileges() {
Expand Down

0 comments on commit 1ba6cdd

Please sign in to comment.