-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add changelogs and readmes (#192)
* feat(all): add changelogs to all crates missing * feat: update TOML files and changelogs for first agents release * feat(docs): add readmes to agents + RUNNING-AGENTS.md * feat(docs): add AGENT-OPERATIONS.md * feat(docs): adds RUNNING-WATCHER.md * docs(watcher): explain watcher funding amounts: * fix(docs): add linebreak * feat(docs): port agent gas values to configuration/gas * fix(docs): remove all doc file ports * fix(docs): remove refs to running agents docs in agent readmes * fix(docs): only link repos to root
- Loading branch information
1 parent
bad5648
commit 952f150
Showing
22 changed files
with
138 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
### Unreleased | ||
|
||
- adds a changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,8 @@ version = "0.1.0" | |
edition = "2021" | ||
authors = ["James Prestwich <[email protected]>", "The Nomad Developers <[email protected]>"] | ||
description = "Nomad sparse merle tree" | ||
repository = "https://github.com/nomad-xyz/rust/accumulator" | ||
repository = "https://github.com/nomad-xyz/rust" | ||
license = "MIT OR Apache-2.0" | ||
|
||
exclude = [ | ||
"*.sh", | ||
".git*" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
### Unreleased | ||
|
||
- adds a changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
[package] | ||
name = "kathy" | ||
version = "0.1.0" | ||
authors = ["James Prestwich <james@prestwi.ch>"] | ||
authors = ["James Prestwich <james@nomad.xyz>", "Luke Tchang <[email protected]>"] | ||
edition = "2021" | ||
description = "Nomad kathy agent" | ||
repository = "https://github.com/nomad-xyz/rust" | ||
license = "MIT OR Apache-2.0" | ||
exclude = [ | ||
"*.sh", | ||
".git*" | ||
] | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Kathy Agent | ||
|
||
Kathy is strictly used in development and staging environments for testing purposes. The role of kathy is to enqueue randomly generated cross-chain messages to the home contract. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
### Unreleased | ||
|
||
- adds a changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
[package] | ||
name = "processor" | ||
version = "0.1.0" | ||
authors = ["anna-caroll <[email protected]>"] | ||
authors = ["Luke Tchang <[email protected]>", "James Prestwich <[email protected]>"] | ||
edition = "2021" | ||
description = "Nomad processor agent" | ||
repository = "https://github.com/nomad-xyz/rust" | ||
license = "MIT OR Apache-2.0" | ||
exclude = [ | ||
"*.sh", | ||
".git*" | ||
] | ||
|
||
[dependencies] | ||
tokio = { version = "1.0.1", features = ["rt", "macros"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Processor Agent | ||
|
||
The processor proves the validity of pending messages and sends them to end recipients. | ||
|
||
It is an off-chain actor that does the following: | ||
|
||
- Observe the home | ||
- Maintain local merkle tree with all leaves | ||
- Observe 1 or more replicas | ||
- Maintain list of messages corresponding to each leaf | ||
- Generate and submit merkle proofs for pending (unproven) messages | ||
- Dispatch proven messages to end recipients |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
### Unreleased | ||
|
||
- adds a changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
[package] | ||
name = "relayer" | ||
version = "0.1.0" | ||
authors = ["ltchang <[email protected]>"] | ||
authors = ["Luke Tchang <[email protected]>", "James Prestwich <[email protected]>"] | ||
edition = "2021" | ||
description = "Nomad relayer agent" | ||
repository = "https://github.com/nomad-xyz/rust" | ||
license = "MIT OR Apache-2.0" | ||
exclude = [ | ||
"*.sh", | ||
".git*" | ||
] | ||
|
||
[dependencies] | ||
tokio = { version = "1.0.1", features = ["rt", "macros"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
## Relayer Agent | ||
|
||
The relayer forwards updates from the home to one or more replicas. | ||
|
||
It is an off-chain actor that does the following: | ||
|
||
- Observe the home | ||
- Observe 1 or more replicas | ||
- Polls home for new signed updates (since replica's current root) and submits them to replica | ||
- Polls replica for confirmable updates (that have passed their optimistic time window) and confirms if available (updating replica's current root) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
### Unreleased | ||
|
||
- adds a changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
[package] | ||
name = "updater" | ||
version = "0.1.0" | ||
authors = ["James Prestwich <[email protected]>"] | ||
authors = ["James Prestwich <[email protected]>", "Luke Tchang <[email protected]>"] | ||
edition = "2021" | ||
description = "Nomad updater agent" | ||
repository = "https://github.com/nomad-xyz/rust" | ||
license = "MIT OR Apache-2.0" | ||
exclude = [ | ||
"*.sh", | ||
".git*" | ||
] | ||
|
||
[dependencies] | ||
tokio = { version = "1.0.1", features = ["rt", "macros"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## Updater Agent | ||
|
||
The updater is responsible for signing attestations of new roots. | ||
|
||
It is an off-chain actor that does the following: | ||
|
||
- Observe the home chain contract | ||
- Sign attestations to new roots | ||
- Publish the signed attestation to the home chain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
### Unreleased | ||
|
||
- adds a changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
[package] | ||
name = "watcher" | ||
version = "0.1.0" | ||
authors = ["Luke Tchang <[email protected]>"] | ||
authors = ["Luke Tchang <[email protected]>", "James Prestwich <[email protected]>"] | ||
edition = "2021" | ||
description = "Nomad watcher agent" | ||
repository = "https://github.com/nomad-xyz/rust" | ||
license = "MIT OR Apache-2.0" | ||
exclude = [ | ||
"*.sh", | ||
".git*" | ||
] | ||
|
||
[dependencies] | ||
tokio = { version = "1.0.1", features = ["rt", "macros"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## Watcher Agent | ||
|
||
The watcher observes the Updater's interactions with the Home contract (by watching the Home contract) and reacts to malicious or faulty attestations. It also observes any number of replicas to ensure the Updater does not bypass the Home and go straight to a replica. | ||
|
||
It is an off-chain actor that does the following: | ||
|
||
- Observe the home | ||
- Observe 1 or more replicas | ||
- Maintain a DB of seen updates | ||
- Submit double-update proofs | ||
- Submit invalid update proofs | ||
- If configured, issue an emergency halt transaction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
### Unreleased | ||
|
||
- adds a changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ version = "0.1.0-rc.24" | |
edition = "2021" | ||
authors = ["James Prestwich <[email protected]>", "The Nomad Developers <[email protected]>"] | ||
description = "Nomad project configuration file utilities" | ||
repository = "https://github.com/nomad-xyz/rust/configuration" | ||
repository = "https://github.com/nomad-xyz/rust" | ||
license = "MIT OR Apache-2.0" | ||
exclude = [ | ||
"*.sh", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
### Unreleased | ||
|
||
- adds a changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
### Unreleased | ||
|
||
- adds a changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Changelog | ||
|
||
### Unreleased | ||
|
||
- adds a changelog |