Skip to content

Commit 5e500f7

Browse files
authored
fix XDeclaredButNotUsed hint in tests/testblockutil.nim (#7732)
1 parent 263e803 commit 5e500f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testblockutil.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,15 @@ proc addTestEngineBlock*(
221221
deposit_count: state.data.eth1_deposit_index + deposits.lenu64,
222222
block_hash: eth1_data.block_hash,
223223
)
224-
blobs = BlobsBundle()
225224

226225
eps =
227226
when consensusFork >= ConsensusFork.Gloas:
228227
debugGloasComment ""
229228
default(gloas.ExecutionPayloadForSigning)
230229
elif consensusFork >= ConsensusFork.Bellatrix:
231230
if state.data.slot > cfg.lastPremergeSlotInTestCfg:
232-
makeExecutionPayloadForSigning(cfg, consensusFork, state.data, blobs)
231+
makeExecutionPayloadForSigning(
232+
cfg, consensusFork, state.data, BlobsBundle())
233233
else:
234234
default(consensusFork.ExecutionPayloadForSigning)
235235
else:

0 commit comments

Comments
 (0)