From d1424c18d96154e9304a8820350557e6360903e2 Mon Sep 17 00:00:00 2001 From: Eric Warehime Date: Mon, 31 Jul 2023 13:04:01 -0700 Subject: [PATCH] Add new consensus params to vFuture --- protocol/config/consensus.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/protocol/config/consensus.go b/protocol/config/consensus.go index 209322d6..cf12dfc7 100644 --- a/protocol/config/consensus.go +++ b/protocol/config/consensus.go @@ -93,6 +93,10 @@ type ConsensusParams struct { // rather than check each individual app call is within the budget. EnableAppCostPooling bool + // EnableLogicSigCostPooling specifies LogicSig budgets are pooled across a + // group. The total available is len(group) * LogicSigMaxCost) + EnableLogicSigCostPooling bool + // RewardUnit specifies the number of MicroAlgos corresponding to one reward // unit. // @@ -1230,6 +1234,7 @@ func initConsensusProtocols() { vFuture.ApprovedUpgrades = map[protocol.ConsensusVersion]uint64{} vFuture.LogicSigVersion = 10 // When moving this to a release, put a new higher LogicSigVersion here + vFuture.EnableLogicSigCostPooling = true Consensus[protocol.ConsensusFuture] = vFuture