From 1642dcde66c8a7ca93bf3da941f5476054c39b47 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Thu, 30 Jun 2022 14:11:25 +0100 Subject: [PATCH] docs: remove app wiring from module docs (#12393) --- x/auth/spec/08_app_wiring.md | 5 ----- x/auth/spec/README.md | 1 - x/authz/spec/06_app_wiring.md | 5 ----- x/authz/spec/README.md | 1 - x/bank/module.go | 2 +- x/capability/spec/03_app_wiring.md | 5 ----- x/capability/spec/README.md | 1 - x/distribution/spec/09_app_wiring.md | 5 ----- x/distribution/spec/README.md | 1 - x/evidence/spec/01_concepts.md | 6 ------ x/mint/spec/01_concepts.md | 6 ------ x/nft/spec/01_concepts.md | 6 ------ x/params/spec/03_app_wiring.md | 6 ------ x/params/spec/README.md | 1 - x/upgrade/spec/05_app_wiring.md | 5 ----- x/upgrade/spec/README.md | 1 - 16 files changed, 1 insertion(+), 56 deletions(-) delete mode 100644 x/auth/spec/08_app_wiring.md delete mode 100644 x/authz/spec/06_app_wiring.md delete mode 100644 x/capability/spec/03_app_wiring.md delete mode 100644 x/distribution/spec/09_app_wiring.md delete mode 100644 x/params/spec/03_app_wiring.md delete mode 100644 x/upgrade/spec/05_app_wiring.md diff --git a/x/auth/spec/08_app_wiring.md b/x/auth/spec/08_app_wiring.md deleted file mode 100644 index 8ec976864c..0000000000 --- a/x/auth/spec/08_app_wiring.md +++ /dev/null @@ -1,5 +0,0 @@ -# App Wiring - -The minimal app-wiring configuration for `x/auth` is as follows: - -+++ https://github.com/cosmos/cosmos-sdk/blob/188e1ec30dffaad020cd4a72747e3da49d714a78/x/auth/testutil/app.yaml \ No newline at end of file diff --git a/x/auth/spec/README.md b/x/auth/spec/README.md index e3d27c4a94..1090bb6baa 100644 --- a/x/auth/spec/README.md +++ b/x/auth/spec/README.md @@ -43,4 +43,3 @@ This module is used in the Cosmos Hub. * [REST](07_client.md#rest) * **[Vesting](07_client.md#vesting)** * [CLI](07_client.md#vesting#cli) -8. **[App Wiring](08_app_wiring.md)** diff --git a/x/authz/spec/06_app_wiring.md b/x/authz/spec/06_app_wiring.md deleted file mode 100644 index 25246c847c..0000000000 --- a/x/authz/spec/06_app_wiring.md +++ /dev/null @@ -1,5 +0,0 @@ -# App Wiring - -The minimal app-wiring configuration for `x/authz` is as follows: - -+++ https://github.com/cosmos/cosmos-sdk/blob/main/x/authz/testutil/app.yaml \ No newline at end of file diff --git a/x/authz/spec/README.md b/x/authz/spec/README.md index 7b8816da4e..ac73d76dba 100644 --- a/x/authz/spec/README.md +++ b/x/authz/spec/README.md @@ -28,4 +28,3 @@ granting arbitrary privileges from one account (the granter) to another account * [CLI](05_client.md#cli) * [gRPC](05_client.md#grpc) * [REST](05_client.md#rest) -6. **[App Wiring](06_app_wiring.md)** diff --git a/x/bank/module.go b/x/bank/module.go index 50df9eb098..afc1f0003c 100644 --- a/x/bank/module.go +++ b/x/bank/module.go @@ -208,7 +208,7 @@ func (am AppModule) WeightedOperations(simState module.SimulationState) []simtyp ) } -// App Wiring +// New App Wiring Setup func init() { appmodule.Register(&modulev1.Module{}, diff --git a/x/capability/spec/03_app_wiring.md b/x/capability/spec/03_app_wiring.md deleted file mode 100644 index b8d4e29961..0000000000 --- a/x/capability/spec/03_app_wiring.md +++ /dev/null @@ -1,5 +0,0 @@ -# App Wiring - -The minimal app-wiring configuration for `x/capability` is as follows: - -+++ https://github.com/cosmos/cosmos-sdk/blob/main/x/capability/testutil/app.yaml diff --git a/x/capability/spec/README.md b/x/capability/spec/README.md index d20a2a9f7a..96a2dcbd97 100644 --- a/x/capability/spec/README.md +++ b/x/capability/spec/README.md @@ -75,4 +75,3 @@ func NewApp(...) *App { 1. **[Concepts](01_concepts.md)** 1. **[State](02_state.md)** -1. **[App Wiring](03_app_wiring.md)** diff --git a/x/distribution/spec/09_app_wiring.md b/x/distribution/spec/09_app_wiring.md deleted file mode 100644 index 5f3561b387..0000000000 --- a/x/distribution/spec/09_app_wiring.md +++ /dev/null @@ -1,5 +0,0 @@ -# App Wiring - -The minimal app-wiring configuration for `x/distribution` is as follows: - -+++ https://github.com/cosmos/cosmos-sdk/blob/main/x/distribution/testutil/app.yaml diff --git a/x/distribution/spec/README.md b/x/distribution/spec/README.md index c6adeff85d..969c08b9ec 100644 --- a/x/distribution/spec/README.md +++ b/x/distribution/spec/README.md @@ -104,4 +104,3 @@ to set up a script to periodically withdraw and rebond rewards. 8. **[Client](08_client.md)** * [CLI](08_client.md#cli) * [gRPC](08_client.md#grpc) -9. **[App Wiring](09_app_wiring.md)** diff --git a/x/evidence/spec/01_concepts.md b/x/evidence/spec/01_concepts.md index e18c8c25fc..926a573bb1 100644 --- a/x/evidence/spec/01_concepts.md +++ b/x/evidence/spec/01_concepts.md @@ -76,9 +76,3 @@ by the `Handler` should be persisted. // slashing and potential jailing. type Handler func(sdk.Context, Evidence) error ``` - -## App Wiring - -The minimal app-wiring configuration for `x/evidence` is as follows: - -+++ https://github.com/cosmos/cosmos-sdk/blob/main/x/evidence/testutil/app.yaml diff --git a/x/mint/spec/01_concepts.md b/x/mint/spec/01_concepts.md index 9356b16eb7..11669404d1 100644 --- a/x/mint/spec/01_concepts.md +++ b/x/mint/spec/01_concepts.md @@ -26,9 +26,3 @@ It can be broken down in the following way: rate will stay constant * If the inflation rate is above the goal %-bonded the inflation rate will decrease until a minimum value is reached - -## App Wiring - -The minimal app-wiring configuration for `x/mint` is as follows: - -+++ https://github.com/cosmos/cosmos-sdk/blob/main/x/mint/testutil/app.yaml diff --git a/x/nft/spec/01_concepts.md b/x/nft/spec/01_concepts.md index d4f72ecdfa..ae4bbd99f7 100644 --- a/x/nft/spec/01_concepts.md +++ b/x/nft/spec/01_concepts.md @@ -11,9 +11,3 @@ order: 1 ## NFT The full name of NFT is Non-Fungible Tokens. Because of the irreplaceable nature of NFT, it means that it can be used to represent unique things. The nft implemented by this module is fully compatible with Ethereum ERC721 standard. - -## App Wiring - -The minimal app-wiring configuration for `x/nft` is as follows: - -+++ https://github.com/cosmos/cosmos-sdk/blob/main/x/nft/testutil/app.yaml diff --git a/x/params/spec/03_app_wiring.md b/x/params/spec/03_app_wiring.md deleted file mode 100644 index d25e491226..0000000000 --- a/x/params/spec/03_app_wiring.md +++ /dev/null @@ -1,6 +0,0 @@ - -# App Wiring - -The minimal app-wiring configuration for `x/params` is as follows: - -+++ https://github.com/cosmos/cosmos-sdk/blob/main/x/params/testutil/app.yaml diff --git a/x/params/spec/README.md b/x/params/spec/README.md index 2952d7bd92..6f0387a01c 100644 --- a/x/params/spec/README.md +++ b/x/params/spec/README.md @@ -27,4 +27,3 @@ The following contents explains how to use params module for master and user mod * [Key](02_subspace.md#key) * [KeyTable](02_subspace.md#keytable) * [ParamSet](02_subspace.md#paramset) -3. * **[App-Wiring](03_app_wiring.md)** diff --git a/x/upgrade/spec/05_app_wiring.md b/x/upgrade/spec/05_app_wiring.md deleted file mode 100644 index c06b45afe7..0000000000 --- a/x/upgrade/spec/05_app_wiring.md +++ /dev/null @@ -1,5 +0,0 @@ -# App Wiring - -The minimal app-wiring configuration for `x/upgrade` is as follows: - -+++ https://github.com/cosmos/cosmos-sdk/blob/main/x/upgrade/testutil/app.yaml diff --git a/x/upgrade/spec/README.md b/x/upgrade/spec/README.md index 2522ef0e05..73ea2268ac 100644 --- a/x/upgrade/spec/README.md +++ b/x/upgrade/spec/README.md @@ -29,4 +29,3 @@ recover from. * [CLI](04_client.md#cli) * [REST](04_client.md#rest) * [gRPC](04_client.md#grpc) -5. **[App Wiring](05_app_wiring.md)