mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-29 11:15:50 +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:
@@ -471,7 +471,7 @@ func TestReactorWithEvidence(t *testing.T) {
|
||||
}
|
||||
|
||||
block := msg.Data().(types.EventDataNewBlock).Block
|
||||
require.Len(t, block.Evidence.Evidence, 1)
|
||||
require.Len(t, block.Evidence, 1)
|
||||
}(sub)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user