mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
911f9f59d6
* 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
20 lines
388 B
Go
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))
|
|
}
|