Mark Spanbroek 945f6008c8 Increase proof period to 90 seconds on hardhat network
reason: on windows, integration tests run so slow that
they cannot fill a slot within 60 seconds
2024-11-14 14:53:37 +01:00

20 lines
466 B
JavaScript

module.exports = {
collateral: {
repairRewardPercentage: 10,
maxNumberOfSlashes: 2,
slashCriterion: 2,
slashPercentage: 20,
},
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
}
}