test(data_store): add tests for remove_u128, remove_bytes32, increment_u128, decrement_u128 (#574) - #671
Open
VedantMadane wants to merge 1 commit into
Conversation
…t_u128, decrement_u128 (SO4-Markets#574) - Implement \ emove_bytes32\ on \DataStore\ to match its sibling removal functions - Add unit tests for \ emove_u128\, \ emove_bytes32\, \increment_u128\, \decrement_u128\ - Add unauthorized caller and underflow panic tests for each function Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses the test coverage gap in
data_storeaccessors:remove_bytes32onDataStoreto match its sibling removal functions (remove_i128,remove_address,remove_bool,remove_u128).remove_u128,remove_bytes32,increment_u128, anddecrement_u128.decrement_u128.Closes #574