WIP: Implementing App w/ tests
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ import (
|
||||
|
||||
// Handler handles both ABCI DeliverTx and CheckTx requests.
|
||||
// Iff ABCI.CheckTx, ctx.IsCheckTx() returns true.
|
||||
type Handler func(ctx Context, ms store.MultiStore, tx Tx) Result
|
||||
type Handler func(ctx Context, store store.MultiStore, tx Tx) Result
|
||||
|
||||
+2
-6
@@ -1,14 +1,10 @@
|
||||
package types
|
||||
|
||||
import (
|
||||
cmn "github.com/tendemrint/tmlibs/common"
|
||||
abci "github.com/tendermint/abci/types"
|
||||
)
|
||||
|
||||
type KVPair struct {
|
||||
Key []byte
|
||||
Value []byte
|
||||
}
|
||||
|
||||
// Result is the union of ResponseDeliverTx and ResponseCheckTx.
|
||||
type Result struct {
|
||||
|
||||
@@ -35,5 +31,5 @@ type Result struct {
|
||||
ValSetDiff []abci.Validator
|
||||
|
||||
// Tags are used for transaction indexing and pubsub.
|
||||
Tags []KVPair
|
||||
Tags []cmn.KVPair
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user