You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 5, 2024. It is now read-only.
Copy file name to clipboardexpand all lines: bin/mpt-test/README.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ This tool aims to verify mainnet blocks for the MPT circuit.
4
4
5
5
## Running tests
6
6
7
-
Just run `cargo run --release`
7
+
Just run `./test_mainnet_blocks.sh`
8
8
9
9
## Adding new blocks to prove
10
10
@@ -13,7 +13,11 @@ In order to add more blocks to prove you have to:
13
13
- Add new entry in the `access-lists` folder
14
14
- Set the environment variable `WEB3_SERVICE_PROVIDER` to a mainnet JSON-RPC provider
15
15
- Run the tests again
16
+
- You will have to upload the cache file again (web3_rpc_cache.bin) and update the `test_mainnet_blocks.sh` file
16
17
18
+
## How can get an access list for other blocks?
17
19
18
-
## How
20
+
There's a [modified version of geth](https://github.com/adria0/go-ethereum/tree/zklight) that [tracks access lists](https://github.com/adria0/go-ethereum/commit/fd2d7cea3747e1003a817cd18e200bf2b00be03c#diff-c3757dc9e9d868f63bc84a0cc67159c1d5c22cc5d8c9468757098f0492e0658cR1306) and allows to retrieve them via [RPC eth_accessListByNumber call](https://github.com/adria0/go-ethereum/commit/fd2d7cea3747e1003a817cd18e200bf2b00be03c#diff-c426ecd2f7d247753b9ea8c1cc003f21fa412661c1f967d203d4edf8163da344R1587), so you can deploy this version and grab some access lists there.
21
+
22
+
Note: of course this is just a method for testing , do not use in production.
0 commit comments