Skip to content

op calldataload (specs)#34

Closed
roynalnaruto wants to merge 6 commits into
feature/calldatacopyfrom
feat/calldataload
Closed

op calldataload (specs)#34
roynalnaruto wants to merge 6 commits into
feature/calldatacopyfrom
feat/calldataload

Conversation

@roynalnaruto
Copy link
Copy Markdown

No description provided.

@roynalnaruto roynalnaruto changed the base branch from master to feature/calldatacopy February 8, 2022 10:54
@icemelon icemelon force-pushed the feature/calldatacopy branch 2 times, most recently from 64a2ab7 to 780fdb3 Compare February 16, 2022 05:37
CPerezz and others added 3 commits February 16, 2022 17:05
* Add GASPRICE specs markdown file

* Add GASPRICE spec impl

* Add GASPRICE spec impl tests

* Apply fmt
* impl calldatacopy spec

* add docs

* fix

* lint

* rebase and fix

* address comments

Co-authored-by: Haichen Shen <shenhaichen@gmail.com>
ed255 and others added 2 commits February 21, 2022 11:18
- Update the state proof document
- Write the spec of the state circuit in python from scratch following
  the current `rw_table` design.
- Add state circuit tests
- List of changes:
    - Renamed key and aux columns so start with index 0, in order to
      make it more readable when working with code were we have arrays
      called `keys`.  This way `key0` == `keys[0]`.
    - Add a new key column so that we have a cloumn exclusive for
      address keys, which allows us to reuse the key order constraints
      for addresses for all operations.
    - Add the boilerplate for the missing operations
    - Remove value2 column (used for `valuePrev`) in some Write
      operations
* 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

* update

* fix test_sload

* t# This is a combination of 2 commits.

fix test_sstore

* rename

* format .md

* fix

* better naming

* fix

* update markdown

* update python

* update markdown

* update sload codes

* update test_sload

* update test_sstore

* change lookup for CalleeAddress from TxContextLookup to CallContextLookup

* Update tx refund (#36)

* update markdown

* update python

* update test

* format codes

* improve

* Fix to FQ (from int) as PR-109.

* Fix to return FQ for some functions in `instruction.py`, and run `make fmt`.

* remove "intrinsic gas" comments

Co-authored-by: Han <tinghan0110@gmail.com>

* update account_storage_read, use tx_id, enforce following stak_push

* fix test_sload

* move storage_gas to param.py

* fix

* update account_storage_write_with_reversion, use tx_id, constrain value equal

* fix

Co-authored-by: HAOYUatHZ <haoyu@protonmail.com>
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
Co-authored-by: Steven Gu <asongala@163.com>
Co-authored-by: Han <tinghan0110@gmail.com>
@icemelon
Copy link
Copy Markdown
Member

could you rebase and send pr to upstream?

@roynalnaruto
Copy link
Copy Markdown
Author

Closing since PR has been filed to upstream: here

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.

5 participants