Skip to content

Commit

Permalink
test update
Browse files Browse the repository at this point in the history
  • Loading branch information
axenteoctavian committed Dec 13, 2024
1 parent 77b90c3 commit 66b3a9f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions process/block/sovereignChainBlock_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -658,14 +658,12 @@ func TestSovereignShardProcessor_CreateBlock(t *testing.T) {
scbp, err := blproc.NewSovereignChainBlockProcessor(sovArgs)
require.Nil(t, err)

expectedExtendedShardHeaderHashes := [][]byte{[]byte("extHeader")}
expectedSovHeader := &block.SovereignChainHeader{
Header: &block.Header{
Nonce: 37,
Round: 38,
Epoch: currentEpoch,
},
ExtendedShardHeaderHashes: expectedExtendedShardHeaderHashes,
}
doesHaveTime := func() bool {
return true
Expand All @@ -680,7 +678,5 @@ func TestSovereignShardProcessor_CreateBlock(t *testing.T) {
require.Equal(t, expectedSovHeader, hdr)
require.Nil(t, err)
require.Equal(t, expectedBusyIdleSequencePerCall, busyIdleCalled)
sovHdr, ok := hdr.(data.SovereignChainHeaderHandler)
require.Equal(t, expectedExtendedShardHeaderHashes, sovHdr.GetExtendedShardHeaderHashes())
})
}

0 comments on commit 66b3a9f

Please sign in to comment.