Skip to content

Commit 49e7904

Browse files
authored
Add EnableLogicSigSizePooling to consensus vFuture (#659)
1 parent 6c2ca93 commit 49e7904

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

protocol/config/consensus.go

+6
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ type ConsensusParams struct {
9797
// group. The total available is len(group) * LogicSigMaxCost)
9898
EnableLogicSigCostPooling bool
9999

100+
// EnableLogicSigSizePooling specifies LogicSig sizes are pooled across a
101+
// group. The total available is len(group) * LogicSigMaxSize
102+
EnableLogicSigSizePooling bool
103+
100104
// RewardUnit specifies the number of MicroAlgos corresponding to one reward
101105
// unit.
102106
//
@@ -1423,6 +1427,8 @@ func initConsensusProtocols() {
14231427

14241428
vFuture.LogicSigVersion = 11 // When moving this to a release, put a new higher LogicSigVersion here
14251429

1430+
vFuture.EnableLogicSigSizePooling = true
1431+
14261432
vFuture.Payouts.Enabled = true
14271433
vFuture.Payouts.Percent = 75
14281434
vFuture.Payouts.GoOnlineFee = 2_000_000 // 2 algos

0 commit comments

Comments
 (0)