temp fix for params init, finish later

This commit is contained in:
2022-09-22 21:48:07 +00:00
parent 8b201e32de
commit 2fbd031988
4 changed files with 22 additions and 7 deletions

View File

@@ -14,7 +14,26 @@ func ParamKeyTable() paramtypes.KeyTable {
// NewParams creates a new Params instance
func NewParams() Params {
return Params{}
// return Params{}
// temp fix
return Params{
GpuModels: map[string]uint32{
"gtx-1050-ti": 0,
"gtx-1650-ti": 0,
},
AuctionTime: 10,
ProviderMinLockedUClr: 500_000_000,
ProviderLockedSlashUClr: 100_000_000,
AuctionGas: 10,
MinLeasePeriod: 3_600, // 1 hour
MaxLeasePeriod: 8_035_200, // 3 months
MaxVerifiedProviders: 1000,
ProviderAuditFrequency: 400,
ProviderAuditLength: 4,
AllowedAuctionDenoms: []string{"uclr", "uusdc"},
}
}
// DefaultParams returns a default set of parameters