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 some comments #2218

Open
wants to merge 1 commit 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 app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ var (
// DefaultNodeHome default home directories for regen
DefaultNodeHome = os.ExpandEnv("$HOME/.regen")

// ModuleBasics is in charge of setting up basic, non-dependant module
// ModuleBasics is in charge of setting up basic, non-dependent module
// elements, such as codec registration and genesis verification.
ModuleBasics = module.NewBasicManager(
auth.AppModuleBasic{},
Expand Down
2 changes: 1 addition & 1 deletion images/regen-sandbox/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,6 @@ do
done

# wait again on the regen node process so it can be terminated with ctrl+C
echo "Node started & state inialized!"
echo "Node started & state initialized!"
wait $REGEN_PID

2 changes: 1 addition & 1 deletion x/data/spec/01_concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ If the data is altered in any way, both the content hash and the resulting ident

### Attest

Attesting to data is a way to validate a piece of data. Attesting to data is comparable to signing a legal document and implies the contents of the data are accepted to be true by the attestor to the best of their knowledge. When data is attested to, an attestor entry is stored on chain including the identifier ([IRI](#iri)) of the anchored data, the address of the attestor, and a timestamp representing the time at which the data was attested to. The attestor entry can be thought of as a digital signature (separate from but dependant upon a transaction signature).
Attesting to data is a way to validate a piece of data. Attesting to data is comparable to signing a legal document and implies the contents of the data are accepted to be true by the attestor to the best of their knowledge. When data is attested to, an attestor entry is stored on chain including the identifier ([IRI](#iri)) of the anchored data, the address of the attestor, and a timestamp representing the time at which the data was attested to. The attestor entry can be thought of as a digital signature (separate from but dependent upon a transaction signature).

Attesting to data is only supported with data that uses deterministic, canonical encoding (i.e. the attestor must provide a [graph content hash](#graph-content-hash)). If the data has not already been anchored, attesting to data will also anchor the data. If the same attestor attempts to attest to the same piece of data, the attestation will be ignored (i.e. the previous entry will not be updated and a new entry will not be added). Any number of different attestors can attest to the same piece of data.

Expand Down
4 changes: 2 additions & 2 deletions x/data/spec/07_client.md
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ Example Output:

### resolver

The `resovler` endpoint allows users to query a resolver by its unique identifier.
The `resolver` endpoint allows users to query a resolver by its unique identifier.

```bash
/regen/data/v1/resolver/{id}
Expand Down Expand Up @@ -603,7 +603,7 @@ of the data.
Example:

```bash
curl locahost:1317/regen/data/v1/resolvers/iri/regen:13toVgf5aZqSVSeJQv562xkkeoe3rr3bJWa29PHVKVf77VAkVMcDvVd.rdf
curl localhost:1317/regen/data/v1/resolvers/iri/regen:13toVgf5aZqSVSeJQv562xkkeoe3rr3bJWa29PHVKVf77VAkVMcDvVd.rdf
```

Example Output:
Expand Down