A doubt about concept no. 119 in Solidity201 #32
Unanswered
toddteller
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
This is the concept:
a. If you are not reading or writing all the values in a slot at the same time, this can have the opposite effect, though: When one value is written to a multi-value storage slot, the storage slot has to be read first and then combined with the new value such that other data in the same slot is not destroyed.
"if you are not reading or writing all the values in a slot at the same time"
How can you write all the values in a slot at the same time? If not, is the opposite effect inevitable when writing?
Beta Was this translation helpful? Give feedback.
All reactions