Wrong era used in ECIP1017 test
It is era 49, and should correspond to ECIP1017/ECIP1039's era 50.
This commit is contained in:
parent
bef85fb876
commit
8e89be775c
@ -523,9 +523,8 @@ mod tests {
|
|||||||
|
|
||||||
let block_number = 250000000;
|
let block_number = 250000000;
|
||||||
let (eras, reward) = ecip1017_eras_block_reward(eras_rounds, start_reward, block_number);
|
let (eras, reward) = ecip1017_eras_block_reward(eras_rounds, start_reward, block_number);
|
||||||
assert_eq!(48, eras);
|
assert_eq!(49, eras);
|
||||||
assert!(U256::from_str("65697BFA9ACB").unwrap() != reward);
|
assert_eq!(U256::from_str("51212FFBAF0A").unwrap(), reward);
|
||||||
assert_eq!(U256::from_str("65697BFA9ACD").unwrap(), reward);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user