From 49e7904db946b3c7d4b466f4376ae56be0350bab Mon Sep 17 00:00:00 2001 From: Giulio Date: Thu, 7 Nov 2024 16:51:42 +0100 Subject: [PATCH] Add EnableLogicSigSizePooling to consensus vFuture (#659) --- protocol/config/consensus.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/protocol/config/consensus.go b/protocol/config/consensus.go index 6719f10f..9d4fb452 100644 --- a/protocol/config/consensus.go +++ b/protocol/config/consensus.go @@ -97,6 +97,10 @@ type ConsensusParams struct { // group. The total available is len(group) * LogicSigMaxCost) EnableLogicSigCostPooling bool + // EnableLogicSigSizePooling specifies LogicSig sizes are pooled across a + // group. The total available is len(group) * LogicSigMaxSize + EnableLogicSigSizePooling bool + // RewardUnit specifies the number of MicroAlgos corresponding to one reward // unit. // @@ -1423,6 +1427,8 @@ func initConsensusProtocols() { vFuture.LogicSigVersion = 11 // When moving this to a release, put a new higher LogicSigVersion here + vFuture.EnableLogicSigSizePooling = true + vFuture.Payouts.Enabled = true vFuture.Payouts.Percent = 75 vFuture.Payouts.GoOnlineFee = 2_000_000 // 2 algos