Add an endpoint for precise circulating supply

This commit is contained in:
Aayush Rajasekaran
2020-10-12 16:38:29 -04:00
parent 8d769f0c07
commit 96e1dfd8d7
16 changed files with 236 additions and 65 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ func doExtract(ctx context.Context, fapi api.FullNode, opts extractOpts) error {
}
// get the circulating supply before the message was executed.
circSupplyDetail, err := fapi.StateCirculatingSupply(ctx, incTs.Key())
circSupplyDetail, err := fapi.StateVMCirculatingSupply(ctx, incTs.Key())
if err != nil {
return fmt.Errorf("failed while fetching circulating supply: %w", err)
}