@Override
  public CodeSection getCodeSection(final int section) {
    checkArgument(section >= 0, "Section number is positive");
    checkArgument(section < eofLayout.getCodeSectionCount(), "Section index is valid");
    return eofLayout.getCodeSection(section);
  }
Instantiates a new CodeV1.

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