Skip to content

Commit a0b320c

Browse files
committed
more test fixes
1 parent 9fe25fd commit a0b320c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/heads/saver_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import (
1212
"github.com/smartcontractkit/chainlink-common/pkg/utils/tests"
1313

1414
evmheads "github.com/smartcontractkit/chainlink-evm/pkg/heads"
15+
ubig "github.com/smartcontractkit/chainlink-evm/pkg/utils/big"
1516

1617
"github.com/smartcontractkit/chainlink-evm/pkg/testutils"
1718
evmtypes "github.com/smartcontractkit/chainlink-evm/pkg/types"
1819
"github.com/smartcontractkit/chainlink-evm/pkg/utils"
19-
ubig "github.com/smartcontractkit/chainlink-evm/pkg/utils/big"
2020
)
2121

2222
type trackerConfig struct {
@@ -121,7 +121,7 @@ func TestHeadSaver_Load(t *testing.T) {
121121
// H2Uncle
122122
//
123123
newHead := func(num int, parent common.Hash) *evmtypes.Head {
124-
h := evmtypes.NewHead(big.NewInt(int64(num)), utils.NewHash(), parent, ubig.NewI(0))
124+
h := evmtypes.NewHead(big.NewInt(int64(num)), utils.NewHash(), parent, ubig.New(testutils.FixtureChainID))
125125
return &h
126126
}
127127
h0 := newHead(0, utils.NewHash())

0 commit comments

Comments
 (0)