mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 11:01:01 +00:00
Use RuntimeHoldReason for the NIS pallet HoldReason (#7017)
* Use RuntimeHoldReason for the NIS pallet HoldReason * Update substrate * Fixes * Fixes * Fixes * Fixes * Move encoding test to tests.rs
This commit is contained in:
@@ -25,6 +25,11 @@ use runtime_common::MinimumMultiplier;
|
||||
use separator::Separatable;
|
||||
use sp_runtime::FixedPointNumber;
|
||||
|
||||
#[test]
|
||||
fn nis_hold_reason_encoding_is_correct() {
|
||||
assert_eq!(NisHoldReason::get().encode(), [38, 0]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn remove_keys_weight_is_sensible() {
|
||||
use runtime_common::crowdloan::WeightInfo;
|
||||
|
||||
Reference in New Issue
Block a user