mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-04 22:33:11 +00:00
* perf: optimizing parameters sizing * chore: feedback Co-authored-by: markspanbroek <mark@spanbroek.net> * style: formatting * perf: more optimizations * chore: fixes * chore: fix certora spec * chore: more fixes for certora spec * chore: more and more fixes for certora spec * fix: ends type * test(certora): timestamp conversion * test(certora): timestamp conversion again * test(certora): timestamp conversion revert to assert_uint64 * test(certora): timestamp with mathint * test(certora): timestamp back with uint64 with require * Add missing configuration * Fix previous merge * Update StorageRequested to use int64 for expiry * requestDurationLimit => uint64 --------- Co-authored-by: markspanbroek <mark@spanbroek.net> Co-authored-by: Arnaud <arnaud@status.im> Co-authored-by: Eric <5089238+emizzle@users.noreply.github.com>
22 lines
606 B
JavaScript
22 lines
606 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
|
|
zkeyHash: "",
|
|
},
|
|
reservations: {
|
|
maxReservations: 3,
|
|
},
|
|
requestDurationLimit: 60*60*24*30 // 30 days
|
|
}
|