cosmos-sdk/x
Amaury b3e922d08b
refactor: Move TxDecoder into its own middleware (#10612)
* WIP: middleware refactor

* refactor `tx.Request`

* Add MsgResponses any in sdk.Result

* add helper functions in abci

* refactor tips

* review changes

* Fix mock tests

* Update baseapp/abci.go

* Update baseapp/abci.go

* Update types/tx/middleware.go

* Update types/tx/middleware.go

* tx.Response to abci conversion

* refactor makeABCIData

* Add comments

* Fix build

* fix build error

* fix tests

* fix test

* fix tests

* Fix TestSimulateTx

* fix tests

* fix test

* Fix build

* Simplify code

* fix test build

* Use repeated bytes in txMsgData

* Fix grpc-gateway test

* Make proto-gen

* Automagically register MsgResponse

* review changes

* Use froydi's trick

* Use Any in TxMsgData

* Finally remove API breaking change

* Revert unnecessary stuff

* refactor: Move TxDecoder into its own middleware

* Add test for txDecoderMiddleware

* Fix some baseapp tests

* Fix some more tests

* Fix mock tests

* Fix middleware tests

* Add cl

* Fix tests

* Update types/tx/middleware.go

Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>

Co-authored-by: atheesh <atheesh@vitwit.com>
Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
2021-12-06 10:26:15 +01:00
..
auth refactor: Move TxDecoder into its own middleware (#10612) 2021-12-06 10:26:15 +01:00
authz fix: move new gov messages to v1beta2 (#10632) 2021-11-30 11:09:16 +00:00
bank chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
capability perf: avoid unnecessary byteslice->string before fmt %s verb (#10364) 2021-10-14 08:53:38 +00:00
crisis chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
distribution style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
epoching style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
evidence chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
feegrant fix!: Add --fee-payer CLI flag, rename --fee-account to --fee-granter (#10625) 2021-12-01 11:47:40 +00:00
genutil chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
gov docs: update gov spec with proposal changes (#10594) 2021-12-02 19:13:08 +01:00
group fix: move new gov messages to v1beta2 (#10632) 2021-11-30 11:09:16 +00:00
mint feat(mint): Implement custom inflation function. (#10441) 2021-11-08 10:56:10 +00:00
nft docs: adr-43 update and nft proto comments (#10615) 2021-11-29 08:53:04 +00:00
params chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
simulation chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
slashing style: lint go and markdown (#10060) 2021-10-30 13:43:04 +00:00
staking chore: bump TM to v0.35.0 release candidate (#10210) 2021-11-16 11:24:38 -08:00
upgrade refactor: Move TxDecoder into its own middleware (#10612) 2021-12-06 10:26:15 +01:00
README.md docs: fix module spec ordering (#9870) 2021-08-09 08:09:17 +00:00

List of Modules

Here are some production-grade modules that can be used in Cosmos SDK applications, along with their respective documentation:

  • Auth - Authentication of accounts and transactions for Cosmos SDK application.
  • Authz - Authorization for accounts to perform actions on behalf of other accounts.
  • Bank - Token transfer functionalities.
  • Capability - Object capability implementation.
  • Crisis - Halting the blockchain under certain circumstances (e.g. if an invariant is broken).
  • Distribution - Fee distribution, and staking token provision distribution.
  • Evidence - Evidence handling for double signing, misbehaviour, etc.
  • Feegrant - Grant fee allowances for executing transactions.
  • Governance - On-chain proposals and voting.
  • Mint - Creation of new units of staking token.
  • Params - Globally available parameter store.
  • Slashing - Validator punishment mechanisms.
  • Staking - Proof-of-Stake layer for public blockchains.
  • Upgrade - Software upgrades handling and coordination.

To learn more about the process of building modules, visit the building modules reference documentation.

IBC

The IBC module for the SDK has moved to its own repository.