@Override
  public boolean equals(final Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    final CodeV1 codeV1 = (CodeV1) o;
    return codeHash.equals(codeV1.codeHash) && Objects.equals(eofLayout, codeV1.eofLayout);
  }
Instantiates a new CodeV1.

@param eofLayout the layout
evm/src/main/java/org/hyperledger/besu/evm/code/CodeV1.java