-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Limitation for Storage Size on Integration Testing for set_contract_storage() #1961
Open
ramirez7358
wants to merge
14
commits into
use-ink:master
Choose a base branch
from
CoinFabrik:set-contract-storage-integration-test-size-validation
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Missing Limitation for Storage Size on Integration Testing for set_contract_storage() #1961
ramirez7358
wants to merge
14
commits into
use-ink:master
from
CoinFabrik:set-contract-storage-integration-test-size-validation
Commits on Oct 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for abbf40a - Browse repository at this point
Copy the full SHA abbf40aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 18f3f85 - Browse repository at this point
Copy the full SHA 18f3f85View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf463e5 - Browse repository at this point
Copy the full SHA cf463e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1110e01 - Browse repository at this point
Copy the full SHA 1110e01View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5d0b5f - Browse repository at this point
Copy the full SHA a5d0b5fView commit details
Commits on Oct 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a74dae6 - Browse repository at this point
Copy the full SHA a74dae6View commit details
Commits on Nov 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 27e671b - Browse repository at this point
Copy the full SHA 27e671bView commit details
Commits on Nov 6, 2023
-
Modified condition in set_contract_storage
Changed the limit to encoded_value.len() + encoded_key.len() > 2**14
Configuration menu - View commit details
-
Copy full SHA for 18d242c - Browse repository at this point
Copy the full SHA 18d242cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c585f0d - Browse repository at this point
Copy the full SHA c585f0dView commit details
Commits on Nov 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c2df2d1 - Browse repository at this point
Copy the full SHA c2df2d1View commit details -
try_insert() and try_set() were ignoring that insert() and set() increase the length of the key by 4. After making the off-chain set_contract_storage() respect the size limit, this was causing some tests to fail. The tests were updated to test the correct limits.
Configuration menu - View commit details
-
Copy full SHA for 598cb04 - Browse repository at this point
Copy the full SHA 598cb04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e1c3b6 - Browse repository at this point
Copy the full SHA 7e1c3b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8f4b9d - Browse repository at this point
Copy the full SHA e8f4b9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f86c010 - Browse repository at this point
Copy the full SHA f86c010View commit details
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.