pub fn delete_metadata<T: Config>(
cross_chain_pub_key: CrossChainPublicKey,
signature: CrossChainSignature,
valid_before: u64,
)
Expand description
Deletes metadata for the block producer identified by cross_chain_pub_key
.
The deposit funds will be returned.
Arguments:
cross_chain_pub_key
: public key identifying the block producersignature
: a signature of [MetadataSignedMessage] created from this inherent’s arguments and the current Partner Chain’s genesis UTXO, created using the private key corresponding tocross_chain_pub_key
valid_before
: timestamp in seconds up to which the signature is considered valid
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::delete_metadata
.