Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
b7a2e81
Added and implemented all primitives of a new storage. Implemented `s…
xgreenx Apr 11, 2022
2c06fcc
Simplified storage straits, moved check for atomic to separate trait.
xgreenx Apr 12, 2022
992706e
Refactored StorageLayout.
xgreenx Apr 15, 2022
17b433a
Updated key to be more readble
xgreenx Apr 15, 2022
09fb544
BE looks better than LE=)
xgreenx Apr 15, 2022
184c550
Fix comment
xgreenx Apr 15, 2022
58c21ac
Removed all storage collections
xgreenx May 6, 2022
2a1dea4
Merge branch 'master' into features/storage-rework
xgreenx May 6, 2022
5644402
Merged with master. Added tests that `StorageValue` and `StorageMappi…
xgreenx May 6, 2022
7e4b56d
Removed `SpreadLayout` and all related stuff and traits.
xgreenx May 9, 2022
4ab1b5f
Updated all examples to use the latest changes.
xgreenx May 11, 2022
76c50ee
Removed `StorageType2`. `StorageType` is used everywhere now.
xgreenx May 12, 2022
750bce2
Merge branch 'master' into features/storage-rework
xgreenx May 12, 2022
e8bf915
Make clippy happy
xgreenx May 12, 2022
6f868fb
Make clippy happy.
xgreenx May 12, 2022
b74b9fd
Update comment
xgreenx May 12, 2022
02f478f
Unified metadata and storage key generation. The metadata contains al…
xgreenx May 17, 2022
414d0c0
Merge branch 'master' into features/storage-rework
xgreenx May 17, 2022
b8e74bd
Update metadata to version 4
xgreenx May 17, 2022
da38d41
Fixed tests
xgreenx May 17, 2022
145850f
Merge branch 'master' into features/storage-rework
xgreenx May 17, 2022
f107ca1
Implement `TypeInfo` and `StorageLayout` in `storage_item` macro by d…
xgreenx May 17, 2022
078a04a
Fix tests
xgreenx May 17, 2022
f719a74
Merge branch 'master' into features/storage-rework
xgreenx May 18, 2022
6fe995c
Merge with new release
xgreenx May 18, 2022
ca8a270
Temporary use version 3 for metadata
xgreenx May 18, 2022
294ffc3
Fix ink-waterfall
xgreenx May 18, 2022
9ff2b0c
Size improvements
xgreenx May 18, 2022
52d4070
Merge branch 'master' into features/storage-rework
xgreenx May 18, 2022
44ec9e7
Merge mother
xgreenx May 18, 2022
58c969f
More inline)
xgreenx May 18, 2022
8c93461
Revert back optimization with encode. Better to do it in follow up
xgreenx May 18, 2022
099442b
More size improvements
xgreenx May 19, 2022
377a26d
Revert back panic on pull)
xgreenx May 19, 2022
97fa7b3
One more optimization. When it will be end???=)
xgreenx May 19, 2022
07d3619
Merge branch 'master' into features/storage-rework
xgreenx May 19, 2022
3db8e6d
Added comments why we don't need `extract_from_slice`
xgreenx May 19, 2022
e88d535
Removed `V4` of metadata. It will be updated in follow-up PR.
xgreenx May 19, 2022
c34e67c
We need to pass len...)
xgreenx May 19, 2022
0e136cf
Make clippy happy
xgreenx May 19, 2022
358c00d
Removed `Key`. Prepared the api for transparent hashing.
xgreenx May 20, 2022
2aeb623
Remove bench
xgreenx May 20, 2022
2d34b1d
Improve of dns example by adding one ref=DDDDDD
xgreenx May 20, 2022
88977bc
Merge branch 'master' into features/storage-rework
xgreenx May 21, 2022
45390a6
Merge branch 'master' into features/storage-rework
xgreenx May 25, 2022
9502e34
Renamed everything. Introduces `Storable`
xgreenx May 26, 2022
6441dfc
Make clippy happy
xgreenx May 27, 2022
7fa8cd0
Fixed storable tests
xgreenx Jun 3, 2022
334160c
Fixed storable tests and clippy
xgreenx Jun 3, 2022
d6bfac6
Fix spellcheck
xgreenx Jun 3, 2022
5f05846
Merge branch 'master' into features/storage-rework
xgreenx Jul 11, 2022
e1fe78e
Merge branch 'master' into features/storage-rework
xgreenx Jul 12, 2022
11c86dd
Use unstable functions(with transparent hashing) to work with storage.
xgreenx Jul 12, 2022
345ca79
Fix clippy
xgreenx Jul 12, 2022
b8e46bd
Fix readme
xgreenx Jul 12, 2022
eae9152
Apply suggestions from code review
xgreenx Jul 13, 2022
2b35bd5
Update crates/lang/ir/src/ir/storage_item/config.rs
xgreenx Jul 13, 2022
1873108
Added suggested panic on unwrap
xgreenx Jul 13, 2022
9436889
Merge branch 'master' into features/storage-rework
xgreenx Jul 20, 2022
188d46d
Update to 4.0.0
xgreenx Jul 20, 2022
e6f77d8
Merge branch 'master' into features/storage-rework
xgreenx Jul 20, 2022
9b022f3
Updated errors.
xgreenx Jul 20, 2022
07698e0
Fixed strerr text
xgreenx Jul 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Temporary use version 3 for metadata
  • Loading branch information
xgreenx committed May 18, 2022
commit ca8a270fc5a2e645243a0707bd8c0e9c445dd83c
4 changes: 2 additions & 2 deletions crates/metadata/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ pub enum MetadataVersioned {
/// Version 2 of the contract metadata.
V2(MetadataVersionDeprecated),
/// Version 3 of the contract metadata.
V3(MetadataVersionDeprecated),
V3(InkProject),
/// Version 4 of the contract metadata.
V4(InkProject),
}

impl From<InkProject> for MetadataVersioned {
fn from(ink_project: InkProject) -> Self {
MetadataVersioned::V4(ink_project)
MetadataVersioned::V3(ink_project)
}
}

Expand Down