-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: Fix partial key storage iteration (#1298)
* storage/fix: Use partial key instead of root key for iter Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * storage: Allow partial key construction Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * storage: Allow less provided types than num of hashes Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * storage: Error on more fields than types Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * testing: Check partial key iteration Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * storage: Rename variable wrt partial address bytes Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * storage: Identical storage key to root key if no keys are provided Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> --------- Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
- Loading branch information
Showing
4 changed files
with
89 additions
and
6 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
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
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