Skip to main content

assert_node_feature

Function assert_node_feature 

Source
pub fn assert_node_feature()
Expand description

Panics when compiled without the node feature. Node binaries call this at startup so a build without consensus support fails immediately instead of at the first gated consensus call (header validation or proposal, epoch root update, L1 deposit fetch). The node binaries also require the feature through their Cargo dependency on this crate, so this only fires if that declaration is removed.