Skip to content
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

Unifying type 2 and type 1. #768

Draft
wants to merge 81 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
912d386
Add type2 preninitialization
4l0n50 Sep 19, 2024
1b058c9
[WIP] Adding preinitialization
4l0n50 Sep 19, 2024
03ee738
Fix syntactic errors
4l0n50 Sep 25, 2024
f7c49b5
Fix syntactic errors on erc20
4l0n50 Sep 25, 2024
e0e3ec8
[WIP] Add state linked list to the kernel
4l0n50 Sep 26, 2024
46309d4
Update state accesses
4l0n50 Sep 26, 2024
23f4b17
Unify storage API + add type2 storage API
4l0n50 Sep 30, 2024
b096342
Missing files
4l0n50 Sep 30, 2024
a2b3995
Add type accounts interface
4l0n50 Oct 2, 2024
7cd4270
Missing file
4l0n50 Oct 2, 2024
4eb6175
Add initial and final smt
4l0n50 Oct 3, 2024
05935e5
Debugging erc20
4l0n50 Oct 4, 2024
aabc156
Missing files
4l0n50 Oct 4, 2024
e06d051
Fix erc20 up to hashing final tries
4l0n50 Oct 9, 2024
6529270
Fix initial smt hash in erc20
4l0n50 Oct 14, 2024
33f29db
Fix trie data size
4l0n50 Oct 15, 2024
946c09a
Fix set_final_tries
4l0n50 Oct 15, 2024
7fc95cb
Fix erc20 but constraints are failing
4l0n50 Oct 15, 2024
007a6ab
Fix CTLs
4l0n50 Oct 16, 2024
be1955d
Fix memory constraint
hratoanina Oct 16, 2024
8a165d5
[WIP] Adding scalable data final erc20 smt
4l0n50 Oct 16, 2024
609e8dc
Merge remote-tracking branch 'refs/remotes/origin/develop_w_type_2' i…
4l0n50 Oct 16, 2024
136d2df
Dont store 0s in create_scalable_l2_account
4l0n50 Oct 17, 2024
0219acc
Merge branch 'develop' into develop_w_type_2
hratoanina Oct 18, 2024
cec85fc
Merge branch 'type2_temp' into develop_w_type_2
hratoanina Oct 18, 2024
461f778
Adapt linked_list structs
hratoanina Oct 21, 2024
562ee7f
Use poseidon empty hash instead of keccak's
4l0n50 Oct 21, 2024
3a4f5fc
Fix remove key generation input
4l0n50 Oct 21, 2024
7605d49
Fix errors on deletions
4l0n50 Oct 22, 2024
53a4f58
Continue merge
hratoanina Oct 22, 2024
8a32380
Add fix from PR #661
4l0n50 Oct 22, 2024
6306f39
Merge contd
hratoanina Oct 22, 2024
530f86c
Fix randomStatetest368
4l0n50 Oct 23, 2024
5a637f7
Turn insert_key with value 0 delete into remove_key
4l0n50 Oct 23, 2024
1777969
Fix code padding
4l0n50 Oct 25, 2024
6d550d2
merge_continuation
LindaGuiga Oct 25, 2024
7e269d1
Continue changes/very slight cleanup
LindaGuiga Oct 29, 2024
8bc4b12
Fix more tests
4l0n50 Oct 29, 2024
013560d
Keep changes
LindaGuiga Oct 29, 2024
555cf85
Merge branch 'develop' into type2_merge_linda
LindaGuiga Oct 29, 2024
f77e018
Last fixes
4l0n50 Oct 30, 2024
4856261
Merge with type2_merge_linda
4l0n50 Oct 30, 2024
44009a8
Add AccountRlp trait
LindaGuiga Oct 30, 2024
2db77ff
Merge branch 'develop_w_type_2' into type2_merge_linda
LindaGuiga Oct 30, 2024
0d3be1b
Merge branch 'develop_w_type_2' into type2_merge_linda
LindaGuiga Oct 30, 2024
e9d0d49
Fix regressions
4l0n50 Oct 30, 2024
3e7cdb3
Start moving world to evm_arithmetization
LindaGuiga Oct 31, 2024
50ca088
Keep adapting code
LindaGuiga Nov 4, 2024
5112c95
Missing changes in latest commit
LindaGuiga Nov 4, 2024
a14df71
Merge with develop_w_type2
4l0n50 Nov 4, 2024
0feaaed
Merge again
4l0n50 Nov 4, 2024
2c2d137
Fix unit test compilation errors
LindaGuiga Nov 4, 2024
162c907
Merge branch 'develop_w_type_2' into type2_merge_linda
LindaGuiga Nov 4, 2024
90fc84a
Merge again
4l0n50 Nov 4, 2024
f3fbbe9
Fix all compilation errors
LindaGuiga Nov 4, 2024
00c6292
Some cleanup
LindaGuiga Nov 4, 2024
b512f48
Merge remote-tracking branch 'refs/remotes/origin/type2_merge_linda' …
4l0n50 Nov 5, 2024
7f89495
Merge remote-tracking branch 'origin/develop' into type2_merge_linda
Nashtare Nov 5, 2024
f8d3619
Fix MPT preinit
Nashtare Nov 5, 2024
76b78c9
Expand keys in tests
Nashtare Nov 5, 2024
1a33ec4
Fix
Nashtare Nov 5, 2024
942b8db
Refactor
Nashtare Nov 5, 2024
ff886b4
Fix erc20
4l0n50 Nov 5, 2024
c148375
Merge remote-tracking branch 'refs/remotes/origin/type2_merge_linda' …
4l0n50 Nov 6, 2024
9fa96a0
Fix beacon root storage keys
4l0n50 Nov 7, 2024
21e62aa
Fix trie data preinitialization
hratoanina Nov 7, 2024
5b893cd
Fix compile
Nashtare Nov 7, 2024
afe39b0
Fix sstore
4l0n50 Nov 7, 2024
a02a0f3
Merge remote-tracking branch 'refs/remotes/origin/type2_merge_linda' …
4l0n50 Nov 7, 2024
8db31fe
Refactor types
Nashtare Nov 7, 2024
f0bb4f0
Merge remote-tracking branch 'origin/develop' into type2_merge_linda
Nashtare Nov 7, 2024
923943b
Renaming
Nashtare Nov 7, 2024
2009f66
Some more fixes
Nashtare Nov 7, 2024
2cc321a
Fix more unit tests
4l0n50 Nov 8, 2024
de3e361
Merge remote-tracking branch 'origin/type2_merge_linda' into type2_me…
4l0n50 Nov 8, 2024
da3dc9d
Fix all unit tests
4l0n50 Nov 8, 2024
ce0f872
Implement World for StateWorld
Nashtare Nov 8, 2024
0762043
Merge remote-tracking branch 'origin/type2_merge_alonso' into type2_m…
Nashtare Nov 8, 2024
7ee409b
Merge remote-tracking branch 'origin/develop' into type2_merge_linda
Nashtare Nov 8, 2024
3a3e95e
Unify entrypoints
Nashtare Nov 8, 2024
5510116
Fix prepare_interpreter for some type2 tests
LindaGuiga Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ anyhow = "1.0.86"
async-stream = "0.3.5"
axum = "0.7.5"
bitflags = "2.5.0"
bitvec = "1.0.1"
bitvec = { version = "1.0.1", features = ["serde"] }
bytes = "1.6.0"
ciborium = "0.2.2"
ciborium-io = "0.2.2"
Expand All @@ -49,7 +49,7 @@ alloy-compat = "0.1.0"
copyvec = "0.2.0"
criterion = "0.5.1"
dotenvy = "0.15.7"
either = "1.12.0"
either = { version = "1.12.0", features = ["serde"] }
enum-as-inner = "0.6.0"
env_logger = "0.11.3"
eth_trie = "0.4.0"
Expand Down
8 changes: 7 additions & 1 deletion evm_arithmetization/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ keywords.workspace = true
alloy.workspace = true
alloy-compat.workspace = true
anyhow.workspace = true
bitflags.workspace = true
bitvec.workspace = true
bytes.workspace = true
ciborium.workspace = true
ciborium-io.workspace = true
copyvec.workspace = true
either.workspace = true
env_logger.workspace = true
Expand All @@ -34,6 +37,7 @@ log.workspace = true
mpt_trie.workspace = true
num.workspace = true
num-bigint.workspace = true
nunny.workspace = true
once_cell.workspace = true
pest.workspace = true
pest_derive.workspace = true
Expand All @@ -48,7 +52,8 @@ serde = { workspace = true, features = ["derive"] }
serde-big-array.workspace = true
serde_json.workspace = true
sha2.workspace = true
smt_trie = { workspace = true }
smt_trie.workspace = true
stackstack = "0.3.0"
starky = { workspace = true, features = ["parallel"] }
static_assertions.workspace = true
thiserror.workspace = true
Expand All @@ -58,6 +63,7 @@ tower-lsp = "0.20.0"
tracing.workspace = true
u4.workspace = true
url.workspace = true
winnow.workspace = true
zk_evm_common.workspace = true
zk_evm_proc_macro.workspace = true

Expand Down
Loading