refactor: simplify hooks implementation (#13396)

This commit is contained in:
Julien Robert
2022-09-27 20:37:26 +02:00
committed by GitHub
parent dcb0c9c04c
commit 53519ea5b3
24 changed files with 209 additions and 212 deletions
+1 -2
View File
@@ -1,9 +1,8 @@
#!/usr/bin/env bash
mockgen_cmd="go run github.com/golang/mock/mockgen"
mockgen_cmd="mockgen"
$mockgen_cmd -source=client/account_retriever.go -package mock -destination testutil/mock/account_retriever.go
$mockgen_cmd -package mock -destination testutil/mock/tendermint_tm_db_DB.go github.com/tendermint/tm-db DB
$mockgen_cmd -source db/types.go -package mock -destination testutil/mock/db/types.go
$mockgen_cmd -source=types/module/module.go -package mock -destination testutil/mock/types_module_module.go
$mockgen_cmd -source=types/invariant.go -package mock -destination testutil/mock/types_invariant.go
$mockgen_cmd -source=types/router.go -package mock -destination testutil/mock/types_router.go