onflow / atree

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

Add `Array.SetType()` to allow updating TypeInfo #374

Closed fxamacker closed 6 months ago

fxamacker commented 7 months ago

Closes #372

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

This PR allows updating static types of Array container.


codecov-commenter commented 7 months ago

Codecov Report

Attention: Patch coverage is 69.23077% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 65.08%. Comparing base (86040b3) to head (431511d).

Files Patch % Lines
array.go 69.23% 3 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## feature/stable-cadence #374 +/- ## ========================================================== + Coverage 65.00% 65.08% +0.07% ========================================================== Files 14 14 Lines 8359 8372 +13 ========================================================== + Hits 5434 5449 +15 + Misses 2228 2227 -1 + Partials 697 696 -1 ```

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