evm_cfg_builder icon indicating copy to clipboard operation
evm_cfg_builder copied to clipboard

Refactor CFG.__init__

Open joshwatson opened this issue 6 years ago • 0 comments

Make CFG's init method pure, so that it's only storing the bytecode. Additionally, create @classmethod factory methods to generate a new CFG object from hex or bytes.

joshwatson avatar Feb 05 '19 21:02 joshwatson