public Builder chainId(final BigInteger chainId) {
      this.chainId = chainId;
      return this;
    }
Set the optional chain id.

@param chainId the chain id
@return this builder
ethereum/core/src/main/java/org/hyperledger/besu/ethereum/core/CodeDelegation.java