@@ -997,6 +997,16 @@ const (
997997 BlkFeesCollected
998998 // BlkBonus is the extra amount to be paid for the given block (from FeeSink)
999999 BlkBonus
1000+ // BlkBranch is the hash of the previous block
1001+ BlkBranch
1002+ // BlkFeeSink is the fee sink for the given round
1003+ BlkFeeSink
1004+ // BlkProtocol is the ConsensusVersion of the block.
1005+ BlkProtocol
1006+ // BlkTxnCounter is the number of the next transaction after the block
1007+ BlkTxnCounter
1008+ // BlkProposerPayout is the actual amount moved from feesink to proposer
1009+ BlkProposerPayout
10001010
10011011 invalidBlockField // compile-time constant for number of fields
10021012)
@@ -1010,11 +1020,16 @@ type blockFieldSpec struct {
10101020}
10111021
10121022var blockFieldSpecs = [... ]blockFieldSpec {
1013- {BlkSeed , StackBytes , randomnessVersion },
1023+ {BlkSeed , StackBytes32 , randomnessVersion },
10141024 {BlkTimestamp , StackUint64 , randomnessVersion },
10151025 {BlkProposer , StackAddress , incentiveVersion },
10161026 {BlkFeesCollected , StackUint64 , incentiveVersion },
10171027 {BlkBonus , StackUint64 , incentiveVersion },
1028+ {BlkBranch , StackBytes32 , incentiveVersion },
1029+ {BlkFeeSink , StackAddress , incentiveVersion },
1030+ {BlkProtocol , StackBytes , incentiveVersion },
1031+ {BlkTxnCounter , StackUint64 , incentiveVersion },
1032+ {BlkProposerPayout , StackUint64 , incentiveVersion },
10181033}
10191034
10201035func blockFieldSpecByField (r BlockField ) (blockFieldSpec , bool ) {
0 commit comments