chore: package release prep + update UPGRADING.md (#22864)

This commit is contained in:
Julien Robert
2024-12-16 09:04:23 +00:00
committed by GitHub
parent 5761530e50
commit 8ff9f48bb4
10 changed files with 80 additions and 36 deletions
+2
View File
@@ -63,6 +63,8 @@ While there are no definitive guidelines for writing modules, here are some impo
The SDK provides a set of APIs that a module can implement, and a set of services that a module can use.
Those APIs are defined in the `cosmossdk.io/core/appmodule` package, and are used to defined the module capabilities, which is used by `runtime` during the wiring of the application.
Whenever possible, a module should strive to use only the core APIs (`cosmossdk.io/core`) and not import the `github.com/cosmos/cosmos-sdk` module. This makes modules reusable accross SDK versions and reduces the risk of breaking changes.
Learn more about the core APIs for modules [here](../../learn/advanced/02-core.md).
## Main Components of Cosmos SDK Modules