pub fn upsert_metadata<T: Config>(
metadata: T::BlockProducerMetadata,
signature: CrossChainSignature,
cross_chain_pub_key: CrossChainPublicKey,
)
Expand description
Inserts or updates metadata for the block producer identified by cross_chain_pub_key
.
Arguments:
metadata
: new metadata valuesignature
: 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
cross_chain_pub_key
: public key identifying the block producer
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::upsert_metadata
.