Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix spelling issues #106

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading