pub fn resolve_precompile_address(&self, address: u16) -> Option<PrecompileAddress> {
        let address = PrecompileAddress::try_from(address).ok()?;
        let is_v28_precompile = matches!(
            address,
            PrecompileAddress::Modexp
                | PrecompileAddress::ECAdd
                | PrecompileAddress::ECMul
                | PrecompileAddress::ECPairing
        );

        if is_v28_precompile && !self.enable_v28_precompiles {
            None
        } else {
            Some(address)
        }
    }
Returns `PrecompileAddress` if there is indeed a precompile under provided address.
Takes into account that v28 precompiles can be disabled.
core/lib/multivm/src/versions/vm_latest/old_vm/oracles/precompile.rs