Repository picks up the mint and tags it with the unsupported tag
Remove mint from unsupported, add to extended list
Repository picks up mint and tags it with the whitelisted tag. However, the unsupported tag was never removed.
This patch adds a .clearTags() method which clears all tags in the token repository. This is the proposed usage which should address the error outlined above:
We ran into an issue where the
TokenRepository
did not handle a mint changing mintlists properly.Usage of the repository is like the following:
Code path that uncovered a bug in usage:
This patch adds a
.clearTags()
method which clears all tags in the token repository. This is the proposed usage which should address the error outlined above: