-
Notifications
You must be signed in to change notification settings - Fork 430
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide a
StorageVec
datastructure (#1995)
Provide a vector like data structure, built on top of Mapping. This allows to retrieve elements from the vector and grow the vector without loading and pushing all elements.
- Loading branch information
Showing
10 changed files
with
957 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -121,3 +121,10 @@ payability | |
unpayable | ||
initializer | ||
WebSocket/S | ||
StorageVec | ||
KiB | ||
GB | ||
BufferTooSmall | ||
KeyNotFound | ||
ink_env | ||
^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,7 @@ pub mod storage { | |
pub use ink_storage::{ | ||
Lazy, | ||
Mapping, | ||
StorageVec, | ||
}; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.