EIP-2565
ModExp Gas Cost
FinalSplurge
Status history
- Draft20 Mar 2020
- Finaldate not observed
Abstract
To accurately reflect the real world operational cost of the ModExp precompile, this EIP specifies an algorithm for calculating the gas cost. This algorithm approximates the multiplication complexity cost and multiplies that by an approximation of the iterations required to execute the exponentiation.