Currently I am starting my node with one authority, and the genesis config for grandpa looks like this :
grandpa: GrandpaConfig { authorities: vec![] },
Would it be possible to assign some privileged accounts more weight in the Grandpa voting round after adding them to this authorities
list like so?
grandpa: GrandpaConfig { authorities: intial_authorities.map(|x| (x.3.clone(), 10)) }
where assume x.3
is the GrandpaId
of initial_authorities
. What kind of changes would this entail?
Edit: This doesn't work with the sessions pallet as it panics with an authority already initialized error. Anyway to bypass this behaviour and set custom weights to our grandpa authorities on genesis?