When somebody states their intention to become a validator on the network they need to go
through the staking extension pallet's validate() extrinsic. As part of this process we
want to ensure that anybody submitting their candidacy is running on suitable hardware,
and as such we need issue an attestation challenge.
This PR adds a call into the attestation pallet from the validate() extrinsic and only
accepts a caller as a candidate if they succesfully pass the attestation check.
When somebody states their intention to become a validator on the network they need to go through the staking extension pallet's
validate()
extrinsic. As part of this process we want to ensure that anybody submitting their candidacy is running on suitable hardware, and as such we need issue an attestation challenge.This PR adds a call into the attestation pallet from the
validate()
extrinsic and only accepts a caller as a candidate if they succesfully pass the attestation check.Draft since it's not finished yet.