-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'shuo/hash_of_nested_map' into 'master'
feat: hash_of_map supports nested Map This MR extend the `hash_of_map` function to support compute the hash of nested Map. 1. extend `Enum RawHttpRequestVal` with new variant Map 2. implement the hash_val method for Map 3. hashing only takes references. This avoids unnecessary clone of values at each level of the nested Map 4. use this new way to compute the response hash 5. add unit tests to guard hash_of_map from potential future accidental changes 6. update spec compliance test for the new functionality and response hash See merge request dfinity-lab/public/ic!15585
- Loading branch information
Showing
5 changed files
with
135 additions
and
49 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
Oops, something went wrong.