At the moment the proposals authors can specify the duration of the voting period. By setting this duration to the maximum allowed value malicious actors can spam the system by submitting a lot of such proposals, forcing the ledger to use a lot of memory to keep this state around.
We should limit this to something like an epoch, but we can make this upper limit a parameter of the environment.
At the moment the proposals authors can specify the duration of the voting period. By setting this duration to the maximum allowed value malicious actors can spam the system by submitting a lot of such proposals, forcing the ledger to use a lot of memory to keep this state around.
We should limit this to something like an epoch, but we can make this upper limit a parameter of the environment.