Skip to main content

evm_version_from_mask

Function evm_version_from_mask 

Source
fn evm_version_from_mask(mask: U256) -> EvmVersion
Expand description

Maps the probe result to the newest version whose probe and all earlier probes succeeded.

A node that fails every probe predates Shanghai. Paris is returned then, the newest version without PUSH0.