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

Run OCW miner for staking election every once in a while on westend #7193

Closed
Ank4n opened this issue May 7, 2023 · 0 comments · Fixed by #7248
Closed

Run OCW miner for staking election every once in a while on westend #7193

Ank4n opened this issue May 7, 2023 · 0 comments · Fixed by #7248
Assignees
Labels
U2-some_time_soon Issue is worth doing soon.

Comments

@Ank4n
Copy link
Contributor

Ank4n commented May 7, 2023

The EPM pallet uses a multi-phase process to select winners from a set of validators. The first phase, called the signed phase, involves accepting a solution from an offchain staking miner. Following this is an unsigned phase in which the validator computes and submit a solution as an inherent using an offchain worker. This solution is usually of lower quality than the one computed by the staking miner and is not typically used if the chain has already received a good signed solution. However, it is important to ensure that the offchain worker can provide a valid solution when needed.

In order to verify that offchain workers are functioning correctly, we can disable the signed phase during some of the elections on our Westend testnet. This means that we will only accept solutions from offchain workers for a certain number of elections (for example, 1 out of every 4 elections).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
U2-some_time_soon Issue is worth doing soon.
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants