From 01ac75726dd754b5d22160f20dd71be214e3c5b9 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Sun, 21 Jul 2024 13:56:17 +0300 Subject: [PATCH 1/3] change to plural running.md --- docs/running.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/running.md b/docs/running.md index ce91f590..326e178c 100644 --- a/docs/running.md +++ b/docs/running.md @@ -107,7 +107,7 @@ WriteTimeout = "60s" MaxRequestsPerIPAndSecond = 500 ``` -3. Now you can generate a file for the Ethereum private key of the committee member. Note that this private key should be representing one of the address of the committee. To generate the private key, run: +3. Now you can generate a file for the Ethereum private key of the committee member. Note that this private key should be representing one of the addresses of the committee. To generate the private key, run: ```docker run -d -v .:/key hermeznetwork/zkevm-node /app/zkevm-node encryptKey --pk **** --pw **** -o /key``` @@ -119,4 +119,4 @@ Replace the **** for your actual private key and a password of your choice. Afte 6. Check the logs to see if everything is going fine: `docker compose logs`. -Note: the DAN endpoint (in this example using the port 8444) should be reachable in the URL indicated on the data availability smart contract. \ No newline at end of file +Note: the DAN endpoint (in this example using the port 8444) should be reachable in the URL indicated on the data availability smart contract. From 872accef2e3e78e890f8015b75210005d97f5c97 Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Sun, 21 Jul 2024 13:57:05 +0300 Subject: [PATCH 2/3] correct spelling client.go --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 1d33d948..4cdc2535 100644 --- a/client/client.go +++ b/client/client.go @@ -37,7 +37,7 @@ func (f *factory) New(url string) Client { return New(url) } -// Client wraps all the available endpoints of the data abailability committee node server +// Client wraps all the available endpoints of the data availability committee node server type client struct { url string } From 856428d9fb257ab54a496cf5c3b2fe52dcacc01e Mon Sep 17 00:00:00 2001 From: Elias Rad <146735585+nnsW3@users.noreply.github.com> Date: Sun, 21 Jul 2024 13:58:24 +0300 Subject: [PATCH 3/3] fix spelling client_test.go --- client/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client_test.go b/client/client_test.go index 1e5b0c16..d3de11e1 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -251,7 +251,7 @@ func TestClient_ListOffChainData(t *testing.T) { err error }{ { - name: "successfully got offhcain data", + name: "successfully got offchain data", hashes: []common.Hash{common.BytesToHash([]byte("hash"))}, result: fmt.Sprintf(`{"result":{"%s":"%s"}}`, common.BytesToHash([]byte("hash")).Hex(), hex.EncodeToString([]byte("offchaindata"))),