mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-04 06:13:09 +00:00
* feat: request duration limit * Merge master and use custom error * Remove slashCriterion --------- Co-authored-by: Arnaud <arnaud@status.im>
21 lines
588 B
JavaScript
21 lines
588 B
JavaScript
module.exports = {
|
|
collateral: {
|
|
repairRewardPercentage: 10,
|
|
maxNumberOfSlashes: 2,
|
|
slashPercentage: 20,
|
|
validatorRewardPercentage: 20, // percentage of the slashed amount going to the validators
|
|
},
|
|
proofs: {
|
|
// period has to be less than downtime * blocktime
|
|
// blocktime can be 1 second with hardhat in automine mode
|
|
period: 90, // seconds
|
|
timeout: 30, // seconds
|
|
downtime: 96, // number of blocks
|
|
downtimeProduct: 97, // number of blocks
|
|
},
|
|
reservations: {
|
|
maxReservations: 3,
|
|
},
|
|
requestDurationLimit: 60*60*24*30 // 30 days
|
|
}
|