Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* verify bytecode boilerplate * wip(verify-bytecode): fetch creation code and constructor args * nit: todo comment * verify-bytecode: integrate build args and compile project * nits: use env eth_rpc_url * verify-bytecode: try_match * createFork * deploy contract on fork * verify-bytecode: cmp runtime code * constructor_args_range in bytecode * fix: NonceTooHigh issue and append constructor_args to local_bytecode * pretty print * verify-bytecode: pinpoint compiler settings match * verify-bytecode: cross check provided constructor args * handle revm changes * rm ethers_core as dep * nits * nit: is_runtime param * remove constructor args range check * nit * notify user on args mismatch, use args from etherscan by default. * fix: handle create2 deployments * add: checks for code at address and name mismatch * nits * add(verify-bytecode): check for bytecode hash config details and notify accordingly * use cache * nits * use verification type enum * nits * add(verify-bytecode): `--json` feature * fmt nits Co-authored-by: evalir <hi@enriqueortiz.dev> * control flow nits * select cache version * nits and cleanup * use etherscan compiler version * smol nits * nit * fix(verify-bytecode): integrate alloy provider --------- Co-authored-by: evalir <hi@enriqueortiz.dev>
- Loading branch information