Closed chanhosuh closed 1 year ago
Seems like the D
in the pool snapshot is wrong (roughly 1/3rd the actual value). However, the "snapshot" isn't actually pulling the value of D from the subgraph but computing it itself (using stableswap logic). We should remove computational logic from the snapshot flow entirely to avoid these issues.
After some discussion, seems like the reason we have the D computation as part of the snapshot is for creating balanced pools for sims. We can just do that explicitly in the get_sim_pool
factory function. The snapshot itself should not have heavy computational logic in it. This is best left to the pool.
Version Information
python -m curvesim --version
(curvesim and python versions, OS type)What's your issue about?
this is the TricryptoINV pool, which holds USDC, ETH, INV (~$200k each), so 1 ETH will give you almost all the USDC in the pool
How can it be fixed?
No idea. Needs further investigation.