Function precompile_utils::solidity::revert::revert
source · pub fn revert(msg: impl Into<String>) -> PrecompileFailure
Expand description
Generate an encoded revert from a simple String.
Returns a PrecompileFailure
that fits in an EvmResult::Err
.