Commit 01b100ad authored by Guanqun Lu's avatar Guanqun Lu Committed by Gav Wood
Browse files

add mutate api (#695)

* runtime-storage: add 'mutate' api

* support mutate for StorageValue

* try adding 'mutate' for map

* dispatch on Option<> type

* add check for prev_some

* consolidate the wrap type

* unify wrap type handling

* add sample for StorageValue
parent db02933d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment