Skip to content

Commit d0a1398

Browse files
mpokesainoeMSalopek
authored
docs: add docs on modules (#2269)
* add docs/build folder * add module structure * add provider messages to docs -- wip * add message description to docs * add provider params * add consumer params * remove params.md * fix links * add overview * add IBC channel handshake * add OnRecvPacket * move democracy module to build/modules * remove duplicate democracy module page * add begin/end-block info * udpate intro section * add info on provider state * add consumer state * add state intro * add TODOs * add CLI * WIP - add provider CLI, gRPC, REST docs * fix typos * add consumer docs wip * provider docs nits * consumer docs nits * consumer docs improvement * merge main * add collapsible sections * update overview * docs: fix broken docs; cleanup versions (#2321) * docs: update config and supported verisons * fix broken config * fix broken version import * add back missing image * expand toc level * fix broken link --------- Co-authored-by: Simon Noetzlin <[email protected]> Co-authored-by: MSalopek <[email protected]>
1 parent 6aced39 commit d0a1398

26 files changed

+4650
-343
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ release/
55
docs/tla/states/
66
*.out
77
vendor/
8-
build/
8+
/build/
99
.vscode
1010
.idea
1111
__debug_*

docs/build_deploy.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,5 @@ echo "building docusaurus main docs"
55
cp supported_versions.json versions.json
66
npm ci && npm run build
77

8-
# copy "legacy" docs directory into the final build directory
9-
# the directory is in "docs/legacy" of the source branch (legacy-docs-page)
10-
# the build environment must be in "./docs" for this to work as expected
11-
git checkout origin/legacy-docs-page -- legacy
12-
cp -r ./legacy ./build/
138
mv build ~/output
149
echo "done building docusaurus main docs"

docs/docs/build/_category_.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"label": "Build",
3+
"position": 3
4+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
sidebar_position: 1
3+
---
4+
5+
# Overview
6+
7+
ICS consists of two main modules:
8+
9+
* [x/provider](./02-provider.md)
10+
* Provides to consumer chains updated information of opted in validators.
11+
* Distributes ICS rewards to opted in validators.
12+
* Jails and slashes validators that misbehave on consumer chains.
13+
* [x/consumer](./03-consumer.md)
14+
* Sends to the consensus engine the validator sets received from the provider chain.
15+
* Splits consumer block rewards and sends ICS rewards to the provider chain.
16+
* Notifies the provider chain of downtime infractions.
17+
18+
Note that `x/types` contains types shared by both modules.
19+
20+
In addition, the following modules are added to ICS to extend its functionality:
21+
22+
* [x/democracy](04-democracy.md)

0 commit comments

Comments
 (0)