2019-11-28 16:06:09 +00:00
|
|
|
package state
|
2019-11-25 17:39:11 +00:00
|
|
|
|
|
|
|
// StorageItem is the value to be stored with read-only flag.
|
2021-03-05 14:06:54 +00:00
|
|
|
type StorageItem []byte
|
2021-09-24 14:22:45 +00:00
|
|
|
|
|
|
|
// StorageItemWithKey is a storage item with corresponding key.
|
|
|
|
type StorageItemWithKey struct {
|
|
|
|
Key []byte
|
|
|
|
Item StorageItem
|
|
|
|
}
|