filecoin-project / go-amt-ipld

Implementation of an array mapped trie using go and ipld
Other
9 stars 15 forks source link

Test mutation of values during iteration #32

Open anorth opened 4 years ago

anorth commented 4 years ago

The specs-actors repo has a couple of instances of mutating values stored in an AMT (keeping the index constant) while iterating it. Demonstrate that this is ok with a unit test.

anorth commented 4 years ago

@acruikshank I recall you did something here and we resolved it was ok. Did you add tests?