Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Light client PoC #1644

Merged
merged 66 commits into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from 50 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
2aeb742
port mptwg
ChihChengLiang Sep 8, 2023
3a091f0
Automatic compilation of mptwitness
Sep 8, 2023
a2aef87
wip
Sep 8, 2023
b17a27c
wrapper ready
Sep 12, 2023
cd61b0d
lc poc
Sep 12, 2023
4086d87
somehow refactor
Sep 14, 2023
43ffe96
fix compilation
Sep 14, 2023
e0514ec
Fix endianess
Sep 14, 2023
c054b97
wip
Sep 14, 2023
aa331ce
basic lc witness
Sep 15, 2023
b0c229e
Circuit wip
Sep 17, 2023
2a47aae
basic countdown
Sep 17, 2023
d8987e7
base working
Sep 17, 2023
4e0d6dd
mini-refactor
Sep 17, 2023
42ce6d6
basic circuit working
Sep 17, 2023
23f61aa
fixed lookups
Sep 18, 2023
6509f37
leftover
Sep 18, 2023
42f997b
refactor
Sep 18, 2023
8665484
Added real prover
Sep 18, 2023
f2202cd
refactor
Sep 18, 2023
47ffed1
Neighbour node fix for hashed branches.
miha-stopar Sep 18, 2023
bb0d9e4
started basic server
Sep 19, 2023
3205718
Account nodes appended; CodeHashChanged proof type renamed; test added
miha-stopar Sep 19, 2023
9c29bf4
MPTWG placeholder leaf RLP fix
miha-stopar Sep 20, 2023
d58d770
Create object if it doesn't exist.
miha-stopar Sep 21, 2023
13fac61
Add keccak circuit to LightClientCircuit
ed255 Sep 21, 2023
d296d86
Assign keccak correctly
ed255 Sep 21, 2023
e951357
Parametrize circuit; pick correct degree for tests
ed255 Sep 22, 2023
6100beb
Drifted account leaf partially fixed; logging msgs removed
miha-stopar Sep 22, 2023
063ce78
Neighbour node fix
miha-stopar Sep 25, 2023
e50e2e4
gofmt
miha-stopar Sep 25, 2023
3507fae
Fixed end root problem
miha-stopar Sep 27, 2023
beed49c
Test removed as the case that is covered should not occur and is prev…
miha-stopar Sep 27, 2023
ab08632
Add useful logs
ed255 Sep 27, 2023
bf1831b
Merge branch 'mptwg-neighbour-node'
Sep 28, 2023
49690cf
Prepare tests
Sep 28, 2023
0e7a383
Merge branch 'zklight-keccak' of github.com:privacy-scaling-explorati…
Sep 28, 2023
a4fb5a2
keccak as feature
Sep 28, 2023
8621239
Merge branch 'main' into mptwg-neighbour-node
miha-stopar Sep 28, 2023
03bda52
Merge branch 'main' of github.com:privacy-scaling-explorations/zkevm-…
Sep 28, 2023
5378dce
Lookup for deleted leaf fixed
miha-stopar Sep 28, 2023
b2246cb
Formatting fix
miha-stopar Sep 28, 2023
a186ff1
Merge branch 'mptwg-neighbour-node' of github.com:privacy-scaling-exp…
Sep 28, 2023
1cdb8a0
Setting the RLP of placeholder leaf when no storage trie fixed; two t…
miha-stopar Oct 3, 2023
0e1c70b
tidy up
Oct 4, 2023
f783be5
Merge branch 'main' into zklight
adria0 Oct 5, 2023
1090dd0
Revert changes in linux linking
adria0 Oct 5, 2023
b5af73f
ci passing
Oct 5, 2023
b764062
Merge branch 'main' into zklight
adria0 Oct 5, 2023
f3a8950
Disable failing golang witness tests
Oct 5, 2023
8d9171f
Merge branch 'zklight' of github.com:privacy-scaling-explorations/zke…
Oct 5, 2023
0fe9a2b
Wrong account by PrefetchAccount now ignored.
miha-stopar Oct 6, 2023
0583074
Comments addressed
miha-stopar Oct 6, 2023
40f48ff
Account leaf below branch placeholder fix; tests
miha-stopar Oct 9, 2023
750b00d
Merge branch 'main' into mptwg-neighbour-node
miha-stopar Oct 10, 2023
b3e1f3f
Formatting go files.
miha-stopar Oct 10, 2023
dfbc7cf
Fix
Oct 11, 2023
e8dc4c1
Merge branch 'mptwg-neighbour-node' of github.com:privacy-scaling-exp…
Oct 11, 2023
0ac09df
fix k
Oct 11, 2023
0317670
Address @miha-stopar and @rrtoledo comments
Oct 13, 2023
d5c0e99
Merge branch 'main' of github.com:privacy-scaling-explorations/zkevm-…
Oct 13, 2023
58ba874
Use gadget to compare words, clean-up mods
Oct 19, 2023
11cf9e8
Merge branch 'main' of github.com:privacy-scaling-explorations/zkevm-…
Oct 19, 2023
c263f88
Fix imports
Oct 19, 2023
15449fb
Merge branch 'main' into zklight
adria0 Oct 23, 2023
86e26c9
Merge branch 'main' into zklight
adria0 Oct 25, 2023
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
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[target.'cfg(target_os="macos")']
rustflags = ["-C", "link-args=-framework CoreFoundation -framework Security"]

[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "link-arg=-Wl,--allow-multiple-definition"]
6 changes: 6 additions & 0 deletions .github/workflows/main-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
runs-on: ["${{github.run_id}}", self-hosted, c5.9xlarge]

steps:
- name: Install OpenSSL lib
run: sudo apt-get -y install libssl-dev

- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -87,6 +90,9 @@ jobs:
runs-on: ["${{github.run_id}}", self-hosted, c5.9xlarge]

steps:
- name: Install OpenSSL lib
run: sudo apt-get -y install libssl-dev

- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
update = none
path = integration-tests/contracts/vendor/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "light-client-poc/go-ethereum"]
path = light-client-poc/go-ethereum
url = https://github.com/adria0/go-ethereum
Loading
Loading