Function delete_metadata

Source
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 producer
  • signature: a signature of [MetadataSignedMessage] created from this inherent’s arguments and the current Partner Chain’s genesis UTXO, created using the private key corresponding to cross_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.