Skip to content

Commit

Permalink
chore: fix spelling issues (#106)
Browse files Browse the repository at this point in the history
* change to plural running.md

* correct spelling client.go

* fix spelling  client_test.go
  • Loading branch information
nnsW3 authored Dec 3, 2024
1 parent 10406a1 commit e451625
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"))),
Expand Down
4 changes: 2 additions & 2 deletions docs/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -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```

Expand All @@ -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.
Note: the DAN endpoint (in this example using the port 8444) should be reachable in the URL indicated on the data availability smart contract.

0 comments on commit e451625

Please sign in to comment.