Skip to content

Commit b20dbb5

Browse files
committed
fix tests
1 parent 896c520 commit b20dbb5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

execution/evm/engine_geth_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func TestNewEngineExecutionClientWithGeth(t *testing.T) {
4848
logger := zerolog.Nop()
4949
feeRecipient := common.HexToAddress("0x1234567890123456789012345678901234567890")
5050

51-
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, logger)
51+
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, "", logger)
5252
require.NoError(t, err)
5353
require.NotNil(t, client)
5454

@@ -64,7 +64,7 @@ func TestNewEngineExecutionClientWithGeth_NilDB(t *testing.T) {
6464
logger := zerolog.Nop()
6565
feeRecipient := common.HexToAddress("0x1234567890123456789012345678901234567890")
6666

67-
_, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, nil, logger)
67+
_, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, nil, "", logger)
6868
require.Error(t, err)
6969
assert.Contains(t, err.Error(), "db is required")
7070
}
@@ -74,7 +74,7 @@ func TestNewEngineExecutionClientWithGeth_NilGenesis(t *testing.T) {
7474
logger := zerolog.Nop()
7575
feeRecipient := common.HexToAddress("0x1234567890123456789012345678901234567890")
7676

77-
_, err := NewEngineExecutionClientWithGeth(nil, feeRecipient, db, logger)
77+
_, err := NewEngineExecutionClientWithGeth(nil, feeRecipient, db, "", logger)
7878
require.Error(t, err)
7979
assert.Contains(t, err.Error(), "genesis configuration is required")
8080
}
@@ -85,7 +85,7 @@ func TestGethEngineClient_InitChain(t *testing.T) {
8585
logger := zerolog.Nop()
8686
feeRecipient := common.HexToAddress("0x1234567890123456789012345678901234567890")
8787

88-
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, logger)
88+
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, "", logger)
8989
require.NoError(t, err)
9090

9191
ctx := context.Background()
@@ -104,7 +104,7 @@ func TestGethEngineClient_GetLatestHeight(t *testing.T) {
104104
logger := zerolog.Nop()
105105
feeRecipient := common.HexToAddress("0x1234567890123456789012345678901234567890")
106106

107-
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, logger)
107+
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, "", logger)
108108
require.NoError(t, err)
109109

110110
ctx := context.Background()
@@ -120,7 +120,7 @@ func TestGethEthClient_HeaderByNumber(t *testing.T) {
120120
logger := zerolog.Nop()
121121
feeRecipient := common.HexToAddress("0x1234567890123456789012345678901234567890")
122122

123-
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, logger)
123+
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, "", logger)
124124
require.NoError(t, err)
125125

126126
ctx := context.Background()
@@ -143,7 +143,7 @@ func TestGethEthClient_GetTxs_EmptyPool(t *testing.T) {
143143
logger := zerolog.Nop()
144144
feeRecipient := common.HexToAddress("0x1234567890123456789012345678901234567890")
145145

146-
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, logger)
146+
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, "", logger)
147147
require.NoError(t, err)
148148

149149
ctx := context.Background()
@@ -160,7 +160,7 @@ func TestGethEngineClient_ExecuteTxs_EmptyBlock(t *testing.T) {
160160
logger := zerolog.Nop()
161161
feeRecipient := common.HexToAddress("0x1234567890123456789012345678901234567890")
162162

163-
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, logger)
163+
client, err := NewEngineExecutionClientWithGeth(genesis, feeRecipient, db, "", logger)
164164
require.NoError(t, err)
165165

166166
ctx := context.Background()

0 commit comments

Comments
 (0)