Skip to content

Commit d828a91

Browse files
docs: Add environment documentation link and description (backport #23330) (#23337)
Co-authored-by: GarmashAlex <[email protected]>
1 parent 348975e commit d828a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UPGRADING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ For the same instructions than for legacy app wiring to enable sign mode textual
284284
### Depinject `app_config.go` / `app.yml`
285285

286286
With the introduction of [environment in modules](#core-api), depinject automatically creates the environment for all modules.
287-
Learn more about environment [here](https://example.com) <!-- TODO -->. Given the fields of environment, this means runtime creates a kv store service for all modules by default. It can happen that some modules do not have a store necessary (such as `x/auth/tx` for instance). In this case, the store creation should be skipped in `app_config.go`:
287+
The 'Environment struct provides essential services](https://docs.cosmos.network/main/learn/advanced/core#environment) to modules including logging, event handling, gas metering, header access, routing, and both KV and memory store services. Given the fields of environment, this means runtime creates a kv store service for all modules by default. It can happen that some modules do not have a store necessary (such as `x/auth/tx` for instance). In this case, the store creation should be skipped in `app_config.go`:
288288

289289
```diff
290290
InitGenesis: []string{

0 commit comments

Comments
 (0)