From 06df3f47d0ce351a14437cc8ccc09877d5876d39 Mon Sep 17 00:00:00 2001 From: Swarnabha Sinha Date: Tue, 12 Sep 2023 20:27:41 +0530 Subject: [PATCH 1/4] add: instruction for different binaries --- docs/demo.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/demo.md b/docs/demo.md index 71962f1..6970b60 100644 --- a/docs/demo.md +++ b/docs/demo.md @@ -73,6 +73,16 @@ You should see logs similar to this: ``` Copy the first json url from the table. (in our case it's `http://127.0.0.1:49601/`). +## Setting up DevNet on amd64 machine + +To set up a DevNet on amd64 machine follow these steps: + +1. Clone the github repo on your local machine +2. Run on the root directory: +```shell +make build GOOS=linux GOARCH=amd64 +```` + ## Set up an AWS network To deploy a devnet or a testnet in AWS using terraform follow the instructions [here](../deployment/readme.md). @@ -170,3 +180,5 @@ To import ERC20 tokens into your MetaMask wallet, follow these steps: - Token symbol: `TEST` - Token decimal: `18` 4. Click **Add custom token** and **Import tokens**. + + From 1befc7827598c313afdf0b885341dd9bca7e95b1 Mon Sep 17 00:00:00 2001 From: Swarnabha Sinha Date: Tue, 12 Sep 2023 20:32:35 +0530 Subject: [PATCH 2/4] add: link for the demo set-up --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bc19465..acb9a94 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,7 @@ For detailed instructions on installation, configuration, and usage, refer to th To deploy a devnet or a testnet in AWS using terraform follow the instructions [here](/deployment/readme.md). +**NOTE:** The current `OpEVM` binaries are compiled in `arm64` architecture. If you'd like to run `OpEVM` on a different build please check the instructions [here](https://github.com/availproject/op-evm/blob/%40feature/different-binary-setup/docs/demo.md#setting-up-devnet-on-amd64-machine). ## Testing Fraudproof Testing fraud-proof processing is relatively straightforward. Sequencer implementation contains so called fraud server, which provides an HTTP interface which can be used to trigger a one time fraud construction into next produced block. Watchtower will then catch this and produce a fraud-proof block, which leads to dispute resolution process. From df336eefdf9e2ade457c3ebbe9abb9b74286e226 Mon Sep 17 00:00:00 2001 From: Swarnabha Sinha Date: Thu, 14 Sep 2023 12:52:45 +0530 Subject: [PATCH 3/4] fix: steps for different binaries --- README.md | 2 +- docs/demo.md | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index acb9a94..d09e1f0 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ For detailed instructions on installation, configuration, and usage, refer to th To deploy a devnet or a testnet in AWS using terraform follow the instructions [here](/deployment/readme.md). -**NOTE:** The current `OpEVM` binaries are compiled in `arm64` architecture. If you'd like to run `OpEVM` on a different build please check the instructions [here](https://github.com/availproject/op-evm/blob/%40feature/different-binary-setup/docs/demo.md#setting-up-devnet-on-amd64-machine). +**NOTE:** The pre-compiled `OpEVM` binaries are designed for the `arm64` architecture. If you wish to run `OpEVM` on a different architecture, such as `amd64`, please refer to the [specific setup instructions](https://github.com/availproject/op-evm/blob/%40feature/different-binary-setup/docs/demo.md#setting-up-devnet-on-amd64-machine). ## Testing Fraudproof Testing fraud-proof processing is relatively straightforward. Sequencer implementation contains so called fraud server, which provides an HTTP interface which can be used to trigger a one time fraud construction into next produced block. Watchtower will then catch this and produce a fraud-proof block, which leads to dispute resolution process. diff --git a/docs/demo.md b/docs/demo.md index 6970b60..8fc3f5a 100644 --- a/docs/demo.md +++ b/docs/demo.md @@ -75,10 +75,9 @@ Copy the first json url from the table. (in our case it's `http://127.0.0.1:4960 ## Setting up DevNet on amd64 machine -To set up a DevNet on amd64 machine follow these steps: +To set up a DevNet on an amd64 machine, run the following: -1. Clone the github repo on your local machine -2. Run on the root directory: +Run on the root directory: ```shell make build GOOS=linux GOARCH=amd64 ```` From fd1a7df4327e03ba8395e63d84b15240577c00ac Mon Sep 17 00:00:00 2001 From: Swarnabha Sinha Date: Tue, 19 Sep 2023 21:54:13 +0530 Subject: [PATCH 4/4] fix: relative linking --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d09e1f0..187562d 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ For detailed instructions on installation, configuration, and usage, refer to th To deploy a devnet or a testnet in AWS using terraform follow the instructions [here](/deployment/readme.md). -**NOTE:** The pre-compiled `OpEVM` binaries are designed for the `arm64` architecture. If you wish to run `OpEVM` on a different architecture, such as `amd64`, please refer to the [specific setup instructions](https://github.com/availproject/op-evm/blob/%40feature/different-binary-setup/docs/demo.md#setting-up-devnet-on-amd64-machine). +**NOTE:** The pre-compiled `OpEVM` binaries are designed for the `arm64` architecture. If you wish to run `OpEVM` on a different architecture, such as `amd64`, please refer to the [specific setup instructions](https://github.com/availproject/op-evm/blob/main/docs/demo.md#setting-up-devnet-on-amd64-machine). ## Testing Fraudproof Testing fraud-proof processing is relatively straightforward. Sequencer implementation contains so called fraud server, which provides an HTTP interface which can be used to trigger a one time fraud construction into next produced block. Watchtower will then catch this and produce a fraud-proof block, which leads to dispute resolution process.