revm-primitives 23.0.0

Revm primitives types
Documentation
1
2
3
4
5
6
7
8
//! EIP-7823: Set Upper Bounds for MODEXP
//!
//! Introduces an upper bound on the inputs of the MODEXP precompile.
//! This reduces the number of potential bugs and makes it easier to replace using EVMMAX.

/// Each of the modexp length inputs (length_of_BASE, length_of_EXPONENT and length_of_MODULUS)
/// MUST be less than or equal to 8192 bits (1024 bytes).
pub const INPUT_SIZE_LIMIT: usize = 1024;