aptos-indexer-processors
aptos-indexer-processors copied to clipboard
Add ConcurrentFungibleAssetSupply and ConcurrentFungibleAssetBalance
This PR adds the indexer support for the AIP 70 (https://github.com/aptos-labs/aptos-core/pull/11183). AIP 70 adds ConcurrentSupply and ConcurrentBalance for fungible assets. Unlike the regular supply and balance, the newly added ConcurrentSupply and ConcurrentBalance use aggregators for improved parallelizability.
This PR indexes ConcurrentSupply and ConcurrentBalance in the indexer. The indexing is done in a way that Supply and ConcurrentSupply, Balance and ConcurrentBalance are treated identically when storing into the database so that the indexer client wouldn't notice a difference whether the aggregators are being used or not.
Can you also add a test plan? Usually for testing, we run the processor on example transactions and check that the data stored in postgres is correct.
Any progress?