Skip to content

add sload & sstore specs#26

Closed
0xmountaintop wants to merge 7 commits into
rw_table/add_auxfrom
new_sload_sstore
Closed

add sload & sstore specs#26
0xmountaintop wants to merge 7 commits into
rw_table/add_auxfrom
new_sload_sstore

Conversation

@0xmountaintop
Copy link
Copy Markdown

@0xmountaintop 0xmountaintop commented Jan 17, 2022

@0xmountaintop 0xmountaintop force-pushed the new_sload_sstore branch 3 times, most recently from dc96f21 to 4a1a18f Compare January 17, 2022 06:56
@0xmountaintop 0xmountaintop marked this pull request as ready for review January 18, 2022 03:49
2. opId === OpcodeId(0x55) for `SSTORE`
2. state transition:
- gc
- `SLOAD`: +5 (2 stack operations + 1 storage reads + 2 access_list reads/writes)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I know where the 2 access_list reads/writes happen ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check the "lookup" section below

Comment thread specs/opcode/54SLOAD_55SSTORE.md Outdated
@0xmountaintop 0xmountaintop reopened this Jan 24, 2022
@0xmountaintop
Copy link
Copy Markdown
Author

tests fail. need to fix

@0xmountaintop 0xmountaintop force-pushed the new_sload_sstore branch 2 times, most recently from a160ff6 to 3fdf272 Compare January 24, 2022 14:02
0xmountaintop and others added 4 commits January 25, 2022 10:38
* init: increase RwTable size

* fix test except begin_tx

* fix test_ begin_tx

* clean up

* lint codes

* fix call_context_lookup

* fix stack_lookup

* update

* fix

* fix

Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
@scroll-dev
Copy link
Copy Markdown

moved to privacy-ethereum#106

@scroll-dev scroll-dev closed this Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants