mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07:31:02 +00:00
Small fixes coretime related fixes (#3188)
The PR contains small fixes for: * A test `HostConfig v11` storage migration - v11 was compared with itself instead of with `v10`. * Outdated comment for `ClaimQueue` * Typos
This commit is contained in:
committed by
GitHub
parent
2ab3f03f0b
commit
4d78c6eb89
@@ -38,7 +38,7 @@ fn default_is_consistent() {
|
||||
fn scheduled_session_is_two_sessions_from_now() {
|
||||
new_test_ext(Default::default()).execute_with(|| {
|
||||
// The logic here is really tested only with scheduled_session = 2. It should work
|
||||
// with other values, but that should receive a more rigorious testing.
|
||||
// with other values, but that should receive a more rigorous testing.
|
||||
on_new_session(1);
|
||||
assert_eq!(Configuration::scheduled_session(), 3);
|
||||
});
|
||||
@@ -136,7 +136,7 @@ fn pending_next_session_but_we_upgrade_once_more() {
|
||||
// update.
|
||||
assert_ok!(Configuration::set_validation_upgrade_cooldown(RuntimeOrigin::root(), 99));
|
||||
|
||||
// This should result in yet another configiguration change scheduled.
|
||||
// This should result in yet another configuration change scheduled.
|
||||
assert_eq!(Configuration::config(), initial_config);
|
||||
assert_eq!(
|
||||
PendingConfigs::<Test>::get(),
|
||||
@@ -179,7 +179,7 @@ fn scheduled_session_config_update_while_next_session_pending() {
|
||||
assert_ok!(Configuration::set_validation_upgrade_cooldown(RuntimeOrigin::root(), 99));
|
||||
assert_ok!(Configuration::set_code_retention_period(RuntimeOrigin::root(), 98));
|
||||
|
||||
// This should result in yet another configiguration change scheduled.
|
||||
// This should result in yet another configuration change scheduled.
|
||||
assert_eq!(Configuration::config(), initial_config);
|
||||
assert_eq!(
|
||||
PendingConfigs::<Test>::get(),
|
||||
|
||||
Reference in New Issue
Block a user