A very experimental PLC implementation which uses BFT consensus for decentralization

Enforce presence of epoch transaction

gbl08ma.com e7cbd734 b7279b55

verified
+1 -1
+1 -1
abciapp/execution.go
··· 217 217 txResults[i] = result 218 218 } 219 219 220 - if isUpdateValidatorsTxHeight(req.Height) && !foundEpochTransaction { 220 + if isUpdateValidatorsTxHeight(req.Height) != foundEpochTransaction { 221 221 return &abcitypes.ResponseProcessProposal{Status: abcitypes.ResponseProcessProposal_REJECT}, nil 222 222 } 223 223