Fetch the code hash by id and by address, and compare them.
Optional
the passed contract object but with codeHash set
if unable to establish the code hash
Generated using TypeDoc
Fetch the code hash by id and by address, and compare them.