0g-chain/x/swap/keeper/invariant_test.go
Nick DeLuca 911f9f59d6
Hook Regression Test + Deposit Refactor (#967)
* add regression test for hooks; refactor deposit to commit pool and
shares in one place with commit after validation checks; panic on pool
and share set methods if the record is invalid

* use correct hook ordering; add regression test for order - fails if
hooks are not called before or after share record set
2021-07-15 17:29:11 -05:00

20 lines
388 B
Go

package keeper_test
import (
"testing"
//"github.com/kava-labs/kava/x/swap"
"github.com/kava-labs/kava/x/swap/testutil"
//"github.com/kava-labs/kava/x/swap/types"
"github.com/stretchr/testify/suite"
//sdk "github.com/cosmos/cosmos-sdk/types"
)
type invariantTestSuite struct {
testutil.Suite
}
func TestGenesisTestSuite(t *testing.T) {
suite.Run(t, new(invariantTestSuite))
}