aptos-indexer-processors icon indicating copy to clipboard operation
aptos-indexer-processors copied to clipboard

Add ConcurrentFungibleAssetSupply and ConcurrentFungibleAssetBalance

Open vusirikala opened this issue 10 months ago • 1 comments

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.

vusirikala avatar Apr 03 '24 06:04 vusirikala

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.

rtso avatar Apr 24 '24 00:04 rtso

Any progress?

lightmark avatar May 17 '24 16:05 lightmark