In QuantAMMWeightedPoolFactory
, the pool version string is hardcoded to "version" in both the createWithoutArgs
and create
functions instead of using the _poolVersion
value that was set during contract construction.
All pools will have "version" as their version string regardless of the actual version specified during factory deployment
Makes it impossible to properly track different versions of pools in production
Defeats the purpose of having a configurable pool version in the constructor
Update both functions to use _poolVersion
:
Version is immutable as specified in Version.sol and can be what the developer wants. It is hardcoded and will be changed by the admin for every deployment. No real impact here.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.