plan static method

PoolAggregation plan({
  1. bool production = false,
})

The plan the fixture proves under: the 256-transfer throughput plan with nullifiers and 8 receipt slots at production, else a 4-transfer plan at test parameters with 2 receipt slots. A coordinator run on the fixture's chain is configured with the same.

Implementation

static PoolAggregation plan({bool production = false}) => production
    ? PoolAggregation.throughput(nullifiers: true, receiptSlots: PoolReceipt.maxPerRound)
    : PoolAggregation(
        spendP: spendP,
        levelSpec: const [
          AggregationLevel(params: p1, logTrace: 15, arity: 2),
          AggregationLevel(params: p2, logTrace: 17, arity: 2),
        ],
        rootP: rootP,
        rootLog: 15,
        nullifierLevel: 1,
        receiptSlots: 2);