Skip to content

Commit 135d0c6

Browse files
committed
merge issue
1 parent db448bf commit 135d0c6

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

block/internal/common/event.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
package common
22

3-
import (
4-
"github.com/evstack/ev-node/types"
5-
)
3+
import "github.com/evstack/ev-node/types"
64

75
// EventSource represents the origin of a block event
86
type EventSource string
@@ -15,7 +13,7 @@ const (
1513
)
1614

1715
// DAHeightEvent represents a DA event for caching
18-
type DAHeightEvent = struct {
16+
type DAHeightEvent struct {
1917
Header *types.SignedHeader
2018
Data *types.Data
2119
// DaHeight corresponds to the highest DA included height between the Header and Data.

block/internal/syncing/da_retriever_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ func makeSignedDataBytesWithTime(t *testing.T, chainID string, height uint64, pr
6767
sig, err := signer.Sign(payload)
6868
require.NoError(t, err)
6969
sd := &types.SignedData{Data: *d, Signature: sig, Signer: types.Signer{PubKey: pub, Address: proposer}}
70-
bin, _ := sd.MarshalBinary()
70+
bin, err := sd.MarshalBinary()
71+
require.NoError(t, err)
7172
return bin, sd
7273
}
7374

0 commit comments

Comments
 (0)