lp config: make default cmd not panic
This commit is contained in:
parent
e442bf156a
commit
24fcde40a4
@ -351,6 +351,7 @@ func DefaultLotusProvider() *LotusProviderConfig {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
return &LotusProviderConfig{
|
return &LotusProviderConfig{
|
||||||
|
Subsystems: ProviderSubsystemsConfig{},
|
||||||
Fees: LotusProviderFees{
|
Fees: LotusProviderFees{
|
||||||
DefaultMaxFee: DefaultDefaultMaxFee,
|
DefaultMaxFee: DefaultDefaultMaxFee,
|
||||||
MaxPreCommitGasFee: types.MustParseFIL("0.025"),
|
MaxPreCommitGasFee: types.MustParseFIL("0.025"),
|
||||||
@ -379,14 +380,5 @@ func DefaultLotusProvider() *LotusProviderConfig {
|
|||||||
PartitionCheckTimeout: Duration(20 * time.Minute),
|
PartitionCheckTimeout: Duration(20 * time.Minute),
|
||||||
SingleCheckTimeout: Duration(10 * time.Minute),
|
SingleCheckTimeout: Duration(10 * time.Minute),
|
||||||
},
|
},
|
||||||
/*
|
|
||||||
HarmonyDB: HarmonyDB{
|
|
||||||
Hosts: []string{"127.0.0.1"},
|
|
||||||
Username: "yugabyte",
|
|
||||||
Password: "yugabyte",
|
|
||||||
Database: "yugabyte",
|
|
||||||
Port: "5433",
|
|
||||||
},
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -72,8 +72,6 @@ type LotusProviderConfig struct {
|
|||||||
Fees LotusProviderFees
|
Fees LotusProviderFees
|
||||||
Addresses LotusProviderAddresses
|
Addresses LotusProviderAddresses
|
||||||
Proving ProvingConfig
|
Proving ProvingConfig
|
||||||
SealingParams SealingConfig // TODO defaults
|
|
||||||
SealerConfig // TODO defaults
|
|
||||||
Journal JournalConfig
|
Journal JournalConfig
|
||||||
Apis ApisConfig
|
Apis ApisConfig
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user