onflow / atree

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

Add `OrderedMap.SetType()` to allow updating TypeInfo #375

Closed fxamacker closed 6 months ago

fxamacker commented 7 months ago

Closes #373

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

This PR allows updating static types of OrderedMap container.


codecov-commenter commented 6 months ago

Codecov Report

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

Project coverage is 66.09%. Comparing base (e1a76d5) to head (8e77472).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/stable-cadence #375 +/- ## ========================================================== + Coverage 66.03% 66.09% +0.06% ========================================================== Files 14 14 Lines 8225 8233 +8 ========================================================== + Hits 5431 5442 +11 + Misses 2115 2113 -2 + Partials 679 678 -1 ```

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