Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
scorbajio committed Dec 16, 2024
1 parent 7e2bfaa commit bdd8edd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/client/test/rpc/debug/setHead.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { createBlockchainFromBlocksData } from '@ethereumjs/blockchain'
import { assert, describe, it } from 'vitest'

import { createClient, createManager, getRPCClient, startRPC } from '../helpers.js'
import { testSetup } from '../helpers.js'

import { Blockchain, createBlockchainFromBlocksData } from '@ethereumjs/blockchain'
import { mainnetData } from '../../testdata/blocks/mainnet.js'
import { createClient, createManager, getRPCClient, startRPC, testSetup } from '../helpers.js'

import type { Blockchain } from '@ethereumjs/blockchain'

const method = 'debug_setHead'

Expand Down Expand Up @@ -35,12 +35,12 @@ describe(method, async () => {
await rpc.request(method, [`0x${i}`])
assert.deepEqual(
await a.service.skeleton?.headHash()!,
await blocks[i].header.hash(),
blocks[i].header.hash(),
`skeleton chain should return hash of block number ${i} set as head`,
)
assert.deepEqual(
await a.service.execution.chainStatus?.hash!,
await blocks[i].header.hash(),
a.service.execution.chainStatus?.hash!,
blocks[i].header.hash(),
`vm execution should set hash to new head`,
)
}
Expand Down

0 comments on commit bdd8edd

Please sign in to comment.