curveresearch / curvesim

Simulates Curve Finance pools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mutation bugs in `metrics.state_log.pool_state`

allt0ld opened this issue · comments

The functions in metrics.state_log.pool_state should copy() new references to pool objects like pool.balances to avoid mutation bugs.