dashpay / grovedb

Storage solution with proofs and secondary indices.
MIT License
30 stars 17 forks source link

feat: State sync APIs should use encoded Ops #297

Closed ogabrielides closed 4 months ago

ogabrielides commented 4 months ago

Issue being fixed or feature implemented

Platform ABCI isn't aware of Ops structure. Therefore, grovedb state sync related APIs should always use encoded into bytes ops.

What was done?

Wrote utility functions util_encode_vec_ops and util_decode_vec_ops and adjusted fetch_chunk and apply_chunk.

How Has This Been Tested?

Breaking Changes

Checklist:

For repository code-owners and collaborators only