aptos-core icon indicating copy to clipboard operation
aptos-core copied to clipboard

[Aptos framework] Aggregator V1

Open georgemitenkov opened this issue 3 years ago • 0 comments
trafficstars

Description

Followed by discussion with @zekun000 and @gelash, I changed old aggregator PR (see #1836) to be a weaker but simpler Aggregator version.

In particular, this V1 implementation allows us to have:

  • Main Move logic for Aggregator usage
  • Baseline Aggregator native implementation that supports adds, reads (as barriers), subs (barriers: read followed by a sub)

This is intended to be landed after #2222 (delta ops are reused), followed by executor support. Once it's done, pieces can be connected together to have end-to-end pipeline with Aggregator being used for gas fees (here we are interested in additions).

Test Plan


This change is Reviewable

georgemitenkov avatar Jul 28 '22 12:07 georgemitenkov