Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Test static validator set changes in Aura #10468

Closed
HCastano opened this issue Mar 12, 2019 · 1 comment
Closed

Test static validator set changes in Aura #10468

HCastano opened this issue Mar 12, 2019 · 1 comment
Labels
M4-core ⛓ Core client code / Rust. P5-sometimesoon 🌲 Issue is worth doing soon.

Comments

@HCastano
Copy link
Contributor

As part of fixing #10306 through #10467 I figured it would be good to write a test to simulate a change in validators that were defined in a chain spec. This turned out to be a bit harder than expected so I plan to tackle it separately. The idea would be to create a new aura_test_multi_validators.json chain spec that has something like

"multi":
{
    "0": {
         "list": ["<address0>"]
    },
     "10": {
         "list": ["<address0>, <address1>"],
     }
}

and check the validator list at block 0. After making some fake blocks we should then jump to block transition_block + 1 and check the validator list again. At this point we should expect the new validator to be part of this list.

@HCastano HCastano added P5-sometimesoon 🌲 Issue is worth doing soon. M4-core ⛓ Core client code / Rust. labels Mar 12, 2019
@adria0
Copy link

adria0 commented Jul 27, 2020

Closing issue due to its stale state.

@adria0 adria0 closed this as completed Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
M4-core ⛓ Core client code / Rust. P5-sometimesoon 🌲 Issue is worth doing soon.
Projects
None yet
Development

No branches or pull requests

2 participants