public Optional<Bytes> getChainId() {
    return evm.getChainId();
  }
Returns the ChainID this executor is using

@return the current chain ID
evm/src/main/java/org/hyperledger/besu/evm/fluent/EVMExecutor.java