Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
149 views

When to use StorageDoubleMap `clear_prefix` vs `drain_prefix`?

Hey Substrate community, there are two different methods to remove multiple items for one specific first key from a StorageDoubleMap. There is clear_prefix and drain_prefix. clear_prefix provides ...
Chralt's user avatar
  • 543