feat(accounts/base): give chains the possibility to pick their chosen pubkey types for the base accounts (#21466)

This commit is contained in:
testinginprod
2024-09-03 17:09:04 +00:00
committed by GitHub
parent 54b49d4bcc
commit 8431dbd38a
12 changed files with 1591 additions and 189 deletions
@@ -78,7 +78,7 @@ func initFixture(t *testing.T) *fixture {
queryRouter := baseapp.NewGRPCQueryRouter()
handler := directHandler{}
account := baseaccount.NewAccount("base", signing.NewHandlerMap(handler))
account := baseaccount.NewAccount("base", signing.NewHandlerMap(handler), baseaccount.WithSecp256K1PubKey())
accountsKeeper, err := accounts.NewKeeper(
cdc,
runtime.NewEnvironment(runtime.NewKVStoreService(keys[accounts.StoreKey]), log.NewNopLogger(), runtime.EnvWithQueryRouterService(queryRouter), runtime.EnvWithMsgRouterService(router)),