curvefi/curve-api

`currentCrvApy()` non-zero for Arbitrum pool reporting 0%

Closed this issue · 2 comments

    await curve.init('JsonRpc', 
           { url: ARCHIVENODE_ARB }, 
           { chainId: 42161 }
    );
    const pool = curve.getPool("2pool");
    console.log(await pool.currentCrvApy(pool.gauge));
    console.log(await pool.stats.tokenApy()[0]);

both logs here report 167.2949435802717 as of the time of this post.
Curve UI reports that this pool is not streaming CRV rewards.

setting tokenApy(false) correctly reports 0. would be nice if there were docs that reported these breaking changes.