public static WaveletDelta deserialize(ProtocolWaveletDelta delta) {
List<WaveletOperation> ops = Lists.newArrayList();
for (ProtocolWaveletOperation op : delta.getOperationList()) {
WaveletOperationContext context = new WaveletOperationContext(
ParticipantId.ofUnsafe(delta.getAuthor()), Constants.NO_TIMESTAMP, 1);
ops.add(deserialize(op, context));
}
HashedVersion hashedVersion = deserialize(delta.getHashedVersion());
return new WaveletDelta(new ParticipantId(delta.getAuthor()), hashedVersion, ops);
}