pub fn set_chain_context(runtime_id: Namespace, consensus_chain_context: &str)
Expand description

Configure the global chain domain separation context.

The domain separation context is computed as:

Base-16(H(<runtime-id> || <consensus-chain-context>))

§Panics

This function will panic in case the global chain domain separation context was already set.