Skip to content

Commit

Permalink
Add EnableLogicSigSizePooling to consensus vFuture (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliop authored Nov 7, 2024
1 parent 6c2ca93 commit 49e7904
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions protocol/config/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 49e7904

Please sign in to comment.