From 08eb017397c4e6d44268cd645c0a68f849203012 Mon Sep 17 00:00:00 2001 From: adria0 Date: Mon, 5 Feb 2024 12:23:26 +0100 Subject: [PATCH] better docs --- bin/mpt-test/README.md | 19 +++++++++++++++++++ bin/mpt-test/test_mainnet_blocks.sh | 1 + 2 files changed, 20 insertions(+) create mode 100644 bin/mpt-test/README.md create mode 100755 bin/mpt-test/test_mainnet_blocks.sh diff --git a/bin/mpt-test/README.md b/bin/mpt-test/README.md new file mode 100644 index 0000000000..25a88e8061 --- /dev/null +++ b/bin/mpt-test/README.md @@ -0,0 +1,19 @@ +# mpt-test + +This tool aims to verify mainnet blocks for the MPT circuit. + +## Running tests + +Just run `cargo run --release` + +## Adding new blocks to prove + +In order to add more blocks to prove you have to: + +- Add new entry in the `access-lists` folder +- Set the environment variable `WEB3_SERVICE_PROVIDER` to a mainnet JSON-RPC provider +- Run the tests again + + +## How + diff --git a/bin/mpt-test/test_mainnet_blocks.sh b/bin/mpt-test/test_mainnet_blocks.sh new file mode 100755 index 0000000000..57a9fb01c1 --- /dev/null +++ b/bin/mpt-test/test_mainnet_blocks.sh @@ -0,0 +1 @@ +cargo run --release