balancer / balancer-v3-monorepo

GNU General Public License v3.0
37 stars 10 forks source link

Simplify WeightedPool initialization #815

Closed EndymionJkb closed 1 month ago

EndymionJkb commented 1 month ago

Description

Found a lot of stuff looking at generalizing Weighted Pool tests.

One is an out-dated comment saying you can't access immutables in constructors or if statements. Was true when originally written in v2 - but you can do it with modern Solidity.

Type of change

Checklist:

Issue Resolution