@Override
  public V remove(final int index) {
    undoLog.add(new UndoEntry<>(index, false, delegate.get(index)));
    return delegate.remove(index);
  }
Create an UndoList backed by another List instance.

@param delegate The List instance to use for backing storage
evm/src/main/java/org/hyperledger/besu/collections/undo/UndoList.java