Skip to main content

Module const_fold

Module const_fold 

Source
Expand description

Constant folding for EVM arithmetic during abstract interpretation.

Functionsยง

const_fold_gas ๐Ÿ”’
Returns the compiler gas cost of constant-folding the given opcode with the given inputs.
try_const_fold ๐Ÿ”’
Try to constant-fold an instruction.