threshold-network / staking-subgraphs

Threshold Network staking subgraphs
https://threshold.network
1 stars 1 forks source link

Fix epoch's total amount calculation bug #20

Closed manumonti closed 2 years ago

manumonti commented 2 years ago

Note: This PR must be merged after #17

When topped up event is received, the current epoch total amount counter must increase, and not decrease. This bug causes wrong calculations for epochs total tokens amount.

manumonti commented 2 years ago

Closed since this is actually fixed in https://github.com/threshold-network/subgraph/commit/3a193c3d6c38fb41fd6cde4d217c3daca91ef55c.