Implement initial ABCI logic

This commit is contained in:
Aleksandr Bezobchuk
2018-08-24 11:56:43 -07:00
parent 50e0602923
commit f93135f0f8
6 changed files with 236 additions and 27 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ type internalAnteHandler func(
// transaction to an internal ante handler for performing transaction-level
// processing (e.g. fee payment, signature verification) before being passed
// onto it's respective handler.
func AnteHandler(am auth.AccountMapper) sdk.AnteHandler {
func AnteHandler(am auth.AccountMapper, _ auth.FeeCollectionKeeper) sdk.AnteHandler {
return func(sdkCtx sdk.Context, tx sdk.Tx) (newCtx sdk.Context, res sdk.Result, abort bool) {
var (
gasLimit int64