feat: use comet async clients (#20757)

This commit is contained in:
Marko 2024-06-24 20:56:09 +02:00 committed by GitHub
parent fe2a40ee4d
commit 7678585b13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -137,7 +137,7 @@ func (s *CometBFTServer[T]) Start(ctx context.Context) error {
cometConfig,
pvm.LoadOrGenFilePV(cometConfig.PrivValidatorKeyFile(), cometConfig.PrivValidatorStateFile()),
nodeKey,
proxy.NewLocalClientCreator(s.App),
proxy.NewConsensusSyncLocalClientCreator(s.App),
getGenDocProvider(cometConfig),
cmtcfg.DefaultDBProvider,
node.DefaultMetricsProvider(cometConfig.Instrumentation),