mirror of
https://github.com/colinear-labs/chain.git
synced 2026-03-05 03:54:33 -08:00
temp fix for params init, finish later
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user