Convert voteCounters in governParam.js to a WeakStore #4340
Labels
Governance
Governance
performance
Performance related issues
resource-exhaustion
Threats to availability from resource exhaustion attacks
technical-debt
What is the Problem Being Solved?
All persistent state in contract code should be in one of our Stores.
governParams.js
currently uses a WeakSet in one place. It should be converted to a WeakStore before the Purple Team exercise.Description of the Design
Straight conversion.
Security Considerations
This adds robustness by supporting unlimited growth of the collection.
Test Plan
Existing tests are sufficient.
The text was updated successfully, but these errors were encountered: