F-2024-0011·deployment-config
_wedxGroupAddress needs to be passed in constructor
TL;DR
The _wedxGroupAddress dependency is not parameterised in the constructor, reducing deployment flexibility and locking the group reference at compile time.
Severity
LOW
Impact
LOW
Likelihood
LOW
Method
MManual review
CAT.
Complexity
LOW
Exploitability
LOW
02Section · Description
Description
The _wedxGroupAddress dependency is currently not passed as a constructor parameter, which limits deployment flexibility and ties the group reference to a value set at compile time rather than at deployment time.
03Section · Impact
Impact
Without constructor parameterisation, redeploying or reusing the contract on a new environment requires recompiling rather than redeploying with a new configuration. While not a direct security issue, this hampers operational flexibility.
04Section · Recommendation
Recommendation
Pass _wedxGroupAddress as a parameter in the constructor to allow greater flexibility and configurability during deployment.