onflow / atree

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

Add support for changing type info of atree maps (atree inlining branch) #377

Closed fxamacker closed 3 months ago

fxamacker commented 4 months ago

Updates #373

This feature is needed by Cadence migrations to update static types. For more details, see

This PR adds OrderedMap.SetType() to allow updating TypeInfo.

NOTE: Implementation of this in atree inlining branch is different than non-inlining branch(es).


codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.22%. Comparing base (36e70a5) to head (36e70a5).

:exclamation: Current head 36e70a5 differs from pull request most recent head 95dad1c. Consider uploading reports for the commit 95dad1c to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/array-map-inlining #377 +/- ## =========================================================== Coverage 63.22% 63.22% =========================================================== Files 15 15 Lines 10791 10791 =========================================================== Hits 6823 6823 Misses 3005 3005 Partials 963 963 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.