fix slashing test
This commit is contained in:
parent
055b215bc7
commit
128933a655
@ -153,7 +153,7 @@ func cheatStorageMarketTotal(t *testing.T, vm *vm.VM, bs bstore.Blockstore) {
|
|||||||
|
|
||||||
func fakeBlock(t *testing.T, minerAddr address.Address, ts uint64) *types.BlockHeader {
|
func fakeBlock(t *testing.T, minerAddr address.Address, ts uint64) *types.BlockHeader {
|
||||||
c := fakeCid(t, 1)
|
c := fakeCid(t, 1)
|
||||||
return &types.BlockHeader{Height: 5, Miner: minerAddr, Timestamp: ts, ParentStateRoot: c, Messages: c, ParentMessageReceipts: c, BLSAggregate: types.Signature{Type: types.KTBLS}}
|
return &types.BlockHeader{Height: 8000, Miner: minerAddr, Timestamp: ts, ParentStateRoot: c, Messages: c, ParentMessageReceipts: c, BLSAggregate: types.Signature{Type: types.KTBLS}}
|
||||||
}
|
}
|
||||||
|
|
||||||
func fakeCid(t *testing.T, s int) cid.Cid {
|
func fakeCid(t *testing.T, s int) cid.Cid {
|
||||||
|
Loading…
Reference in New Issue
Block a user