anchor.diff:                                            Msg#apbstarttransaction.properties)).
   
   read_transaction_test() ->
  -    Objects = [{<<"key1">>, riak_dt_pncounter, <<"bucket1">>},
  -               {<<"key2">>, riak_dt_orset, <<"bucket2">>}],
  +    Objects = [{<<"key1">>, antidote_crdt_counter, <<"bucket1">>},
  +               {<<"key2">>, antidote_crdt_orset, <<"bucket2">>}],
       TxId = term_to_binary({12}),
            %% Dummy value, structure of TxId is opaque to client
       EncRecord = antidote_pb_codec:encode(read_objects, {Objects, TxId}),
  
positive.code: encode(update_op, {Object={_Key, Type, _Bucket}, Op, Param}) ->
      EncObject = encode(bound_object, Object),
      case Type of
          riak_dt_pncounter -> EncUp = encode(counter_update, {Op, Param}),
                           #apbupdateop{boundobject=EncObject, optype = 1, counterop = EncUp};
          riak_dt_orset -> SetUp = encode(set_update, {Op, Param}),
                           #apbupdateop{boundobject=EncObject, optype = 2, setop=SetUp};
          crdt_pncounter -> EncUp = encode(counter_update, {Op, Param}),
                           #apbupdateop{boundobject=EncObject, optype = 1, counterop = EncUp};
          crdt_orset -> SetUp = encode(set_update, {Op, Param}),
                       #apbupdateop{boundobject=EncObject, optype = 2, setop=SetUp};
          riak_dt_gcounter -> EncUp = encode(counter_update, {Op, Param}),
                           #apbupdateop{boundobject=EncObject, optype = 1, counterop = EncUp};
          riak_dt_lwwreg -> EncUp = encode(reg_update, {Op, Param}),
                           #apbupdateop{boundobject=EncObject, optype = 3, regop = EncUp}
  
      end;
  
  
negative.code: encode(bound_object, {Key, Type, Bucket}) ->
      #apbboundobject{key=Key, type=encode(type,Type), bucket=Bucket};
  
  encode(type, antidote_crdt_counter) -> 3;
  encode(type, antidote_crdt_orset) -> 4;
  encode(type, antidote_crdt_lwwreg) -> 5;
  
  encode(reg_update, {assign, Value}) ->
      #apbregupdate{optype = 1, value=Value};
  