evidence: retrieve header at height of evidence for validation (#4870)

validation of lunatic evidence requires that the node retrieve the header at the height of the infringement from the block store for comparison
This commit is contained in:
Callum Waters
2020-06-03 06:44:06 +02:00
committed by GitHub
parent e538ea03d1
commit 26bea83694
6 changed files with 43 additions and 5 deletions

View File

@@ -236,6 +236,7 @@ func (m *mockEvidencePool) IsPending(evidence types.Evidence) bool {
return false
}
func (m *mockEvidencePool) AddPOLC(types.ProofOfLockChange) error { return nil }
func (m *mockEvidencePool) Header(int64) *types.Header { return nil }
//------------------------------------