mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 22:23:11 +00:00
Rebased to master the existing ProcessProposal PR (#7752)
* Rebased and git-squashed the commits in PR #7091 - add processproposal proto/boilerplate/logic - mockery - gofmt - fix test - gofmt - move UNKNOWN response behaviour to reject * Fixed build of some UTs * Addressed William's comment on context * Adapted TestProcessProposal * BaseApp needs to ACCEPT vote extensions by default * Added missing ProcessProposal to socket_server.go * Re-renamed TwoThirdPrevote... to Valid... * Addressed William's comment on ProcessProposal error * Addressed Callum's comments * fmt Co-authored-by: mconcat <monoidconcat@gmail.com>
This commit is contained in:
@@ -93,6 +93,7 @@ func (txs Txs) ToSliceOfBytes() [][]byte {
|
||||
}
|
||||
|
||||
// ToTxs converts a raw slice of byte slices into a Txs type.
|
||||
// TODO This function is to disappear when TxRecord is introduced
|
||||
func ToTxs(txs [][]byte) Txs {
|
||||
txBzs := make(Txs, len(txs))
|
||||
for i := 0; i < len(txs); i++ {
|
||||
|
||||
Reference in New Issue
Block a user