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 } diff --git a/client/client_test.go b/client/client_test.go index 2251a472..086a691d 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"))), 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.