diff --git a/x/auth/mock/simulate_block.go b/x/auth/mock/simulate_block.go index 4db7bf630..16b250f4c 100644 --- a/x/auth/mock/simulate_block.go +++ b/x/auth/mock/simulate_block.go @@ -52,6 +52,7 @@ func GenTx(msg sdk.Msg, seq []int64, priv ...crypto.PrivKeyEd25519) auth.StdTx { return auth.NewStdTx(msg, fee, sigs) } +// check a transaction result func SignCheck(t *testing.T, app *baseapp.BaseApp, msg sdk.Msg, seq []int64, priv ...crypto.PrivKeyEd25519) sdk.Result { tx := GenTx(msg, seq, priv...) res := app.Check(tx)