-
Notifications
You must be signed in to change notification settings - Fork 11
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
LFVM: set
and setByte
test
#759
Merged
Merged
Conversation
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
facuMH
force-pushed
the
facundo/lfvm-setbyte
branch
2 times, most recently
from
September 12, 2024 08:43
d57c1ce
to
d86f2be
Compare
facuMH
force-pushed
the
facundo/lfvm-setbyte
branch
2 times, most recently
from
September 12, 2024 12:10
93f29c5
to
277d3ce
Compare
LuisPH3
previously approved these changes
Sep 12, 2024
facuMH
force-pushed
the
facundo/lfvm-setbyte
branch
from
September 13, 2024 14:08
277d3ce
to
d44c174
Compare
facuMH
force-pushed
the
facundo/lfvm-setbyte
branch
from
September 16, 2024 14:06
d44c174
to
46ae2df
Compare
facuMH
force-pushed
the
facundo/lfvm-setbyte
branch
from
September 17, 2024 09:34
4109226
to
9768f6f
Compare
Merged
facuMH
requested review from
HerbertJordan,
LuisPH3 and
simonlechner
and removed request for
simonlechner,
LuisPH3 and
HerbertJordan
September 17, 2024 11:15
facuMH
force-pushed
the
facundo/lfvm-setbyte
branch
from
September 27, 2024 09:13
179646b
to
181c71b
Compare
facuMH
requested review from
HerbertJordan,
simonlechner and
LuisPH3
and removed request for
HerbertJordan
September 27, 2024 09:13
HerbertJordan
previously approved these changes
Sep 27, 2024
facuMH
force-pushed
the
facundo/lfvm-setbyte
branch
from
September 27, 2024 13:39
c130f3d
to
2b3cb29
Compare
LuisPH3
approved these changes
Sep 27, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
facuMH
force-pushed
the
facundo/lfvm-setbyte
branch
from
September 30, 2024 08:15
2b3cb29
to
df244c7
Compare
…814) * Improve memory's set implementation and associated unit tests * fix linter issues --------- Co-authored-by: facuMH <facumolina15@gmail.com>
facuMH
force-pushed
the
facundo/lfvm-setbyte
branch
from
October 1, 2024 07:10
df244c7
to
f278c54
Compare
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.
This PR is part of a series of PRs that aim to make private and improve the memory methods.
In this PR:
SetByte
andSetWord
are now private functions.Set
functions is removed since we are moving towards enforcing that memory can not attempt to read/write without expanding first.SetWithCapacityAndGasCheck
is renamed toset
, simplified to simply callgetSlice
from LFVM: CopyWord and GetSlice* test #761 and then copy from input value to the slice.setByte
andsetWord
is implemented as a specialization ofsetWithCapacityAndGasCheck
.set
,setByte
andsetWord
.This is part of #682
This PR will rework set to be a specialization+copy of
getSlice
from #761