mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-04 20:23:59 +00:00
types: remove nested evidence field from block (#7765)
* types: replaced EvidenceData in block structure with EvidenceList * types: introduced toProto, fromProto functions to EvidenceList * updated Changelog * Removed comments from tests
This commit is contained in:
committed by
GitHub
parent
a9fa2ac5f9
commit
cd875c8a2c
@@ -313,7 +313,7 @@ func TestCreateProposalBlock(t *testing.T) {
|
||||
|
||||
evList, size := evidencePool.PendingEvidence(state.ConsensusParams.Evidence.MaxBytes)
|
||||
require.Less(t, size, state.ConsensusParams.Evidence.MaxBytes+1)
|
||||
evData := &types.EvidenceData{Evidence: evList}
|
||||
evData := types.EvidenceList(evList)
|
||||
require.EqualValues(t, size, evData.ByteSize())
|
||||
|
||||
// fill the mempool with more txs
|
||||
|
||||
Reference in New Issue
Block a user