onflow / atree

Atree provides scalable arrays and scalable ordered maps.
https://onflow.org
Apache License 2.0
39 stars 13 forks source link

Make smoke tests check recently added data deduplication feature #350

Closed fxamacker closed 8 months ago

fxamacker commented 9 months ago

Closes #349 Updates epic #292 and issue #296

Currently, the data deduplication feature added by PR https://github.com/onflow/atree/pull/342 is not being checked by smoke tests. We need to smoke test encoding/decoding to the new compact map format (which deduplicates nested Cadence composite types).

This PR adds nested composite types to smoke tests and checks encoding/decoding with the new compact map format to test data deduplication.