-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Special handlers which can be run during CheckTx (to call isCheckTx
)
#518
Comments
Awesome yeah and this needs to be clearly expressed in the basecoin example custom module types.. Working through this exact issue in gaia right now |
As per recent discussions - by default, sdk modules should NOT be run for check tx (beyond fees being deducted) - in the future we will create a special way to register routes which (against the default) do run in checkTx - for these kinds of routes those special handlers will need to reference |
isCheckTx
isCheckTx
)
Will close this. CheckTx will not run handlers |
…os#518) * Bump github.com/cosmos/cosmos-sdk from 0.40.0-rc6 to 0.40.0-rc7 Bumps [github.com/cosmos/cosmos-sdk](https://github.com/cosmos/cosmos-sdk) from 0.40.0-rc6 to 0.40.0-rc7. - [Release notes](https://github.com/cosmos/cosmos-sdk/releases) - [Changelog](https://github.com/cosmos/cosmos-sdk/blob/master/CHANGELOG.md) - [Commits](cosmos/cosmos-sdk@v0.40.0-rc6...v0.40.0-rc7) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * go.sum Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
As of #510, handlers run on CheckTx, but don't distinguish between chectx/delivertx.
According to https://github.com/tendermint/abci/blob/master/types/types.proto, the only difference between them is that CheckTx returns a fee and DeliverTx returns the gas_used.
How the SDK distinguishes Check/Deliver and how the fees/gas work needs to be documented and implemented (ie. part of #459)
The text was updated successfully, but these errors were encountered: