refactor(bank): move bank balances to use collections (#15327)

This commit is contained in:
testinginprod
2023-04-11 13:06:04 +00:00
committed by GitHub
parent 3d1a0b8840
commit 7ab0dfc494
28 changed files with 230 additions and 354 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ type TestContext struct {
CMS store.CommitMultiStore
}
func DefaultContextWithDB(t *testing.T, key, tkey storetypes.StoreKey) TestContext {
func DefaultContextWithDB(t testing.TB, key, tkey storetypes.StoreKey) TestContext {
db := dbm.NewMemDB()
cms := store.NewCommitMultiStore(db, log.NewNopLogger(), metrics.NewNoOpMetrics())
cms.MountStoreWithDB(key, storetypes.StoreTypeIAVL, db)