inspect: resurrect the inspect command (#9655)

resurrect the inspect command from #6785

Co-authored-by: Sam Kleinman <garen@tychoish.com>
Co-authored-by: Thane Thomson <connect@thanethomson.com>
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
This commit is contained in:
William Banfield
2022-12-07 12:15:55 -05:00
committed by GitHub
co-authored by Sam Kleinman Thane Thomson Callum Waters
parent ac48630fdb
commit 3324f49fb7
53 changed files with 1500 additions and 356 deletions
+3 -3
View File
@@ -141,7 +141,7 @@ func startNode(cfg *Config) error {
nodeKey,
cc,
node.DefaultGenesisDocProviderFunc(tmcfg),
node.DefaultDBProvider,
config.DefaultDBProvider,
node.DefaultMetricsProvider(tmcfg.Instrumentation),
nodeLogger,
)
@@ -157,8 +157,8 @@ func startLightClient(cfg *Config) error {
return err
}
dbContext := &node.DBContext{ID: "light", Config: tmcfg}
lightDB, err := node.DefaultDBProvider(dbContext)
dbContext := &config.DBContext{ID: "light", Config: tmcfg}
lightDB, err := config.DefaultDBProvider(dbContext)
if err != nil {
return err
}