From 661d373fa2fe4e6268ad6d63e79742d0b04cc272 Mon Sep 17 00:00:00 2001 From: Jakub Sztandera Date: Wed, 8 Apr 2020 21:27:55 +0200 Subject: [PATCH] Fix blockheader tests Signed-off-by: Jakub Sztandera --- chain/types/blockheader_test.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/chain/types/blockheader_test.go b/chain/types/blockheader_test.go index d46bc1876..18b44a742 100644 --- a/chain/types/blockheader_test.go +++ b/chain/types/blockheader_test.go @@ -7,7 +7,6 @@ import ( "testing" "github.com/filecoin-project/go-address" - "github.com/filecoin-project/specs-actors/actors/abi" "github.com/filecoin-project/specs-actors/actors/crypto" cid "github.com/ipfs/go-cid" ) @@ -27,13 +26,12 @@ func testBlockHeader(t testing.TB) *BlockHeader { return &BlockHeader{ Miner: addr, - EPostProof: EPostProof{ - Proofs: []abi.PoStProof{{ProofBytes: []byte("pruuf")}}, - PostRand: []byte("random"), - }, Ticket: &Ticket{ VRFProof: []byte("vrf proof0000000vrf proof0000000"), }, + ElectionProof: &ElectionProof{ + VRFProof: []byte("vrf proof0000000vrf proof0000000"), + }, Parents: []cid.Cid{c, c}, ParentMessageReceipts: c, BLSAggregate: &crypto.Signature{Type: crypto.SigTypeBLS, Data: []byte("boo! im a signature")},