Replies: 1 comment 2 replies
-
Are you able to use the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For
NonNull::add
we currently have the following harness:This is technically creating a slice out of the original array and calling
add
to shift the pointer.Since we want to cover more integer types and also be efficient, would it be appropriate to verify this way(take
u8
as example):In this case, the only valid value for count would be 1(will be restricted by the contract), which will move the pointer to point to the end of the integer. I tried it and all verification checks passed for this example. @zhassan-aws
Beta Was this translation helpful? Give feedback.
All reactions