Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Oct 4, 2024
1 parent 153e105 commit 38ff377
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/client/test/miner/pendingBlock.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ describe('[PendingBlock]', async () => {
})

const { txPool } = setup()
txPool["config"].chainCommon.setHardfork(Hardfork.Cancun)

// Create 2 txs with 3 blobs each so that only 2 of them can be included in a build
let blobs: PrefixedHexString[] = [],
Expand Down
3 changes: 2 additions & 1 deletion packages/client/test/rpc/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createBlockHeader } from '@ethereumjs/block'
import { createBlockHeader, paramsBlock } from '@ethereumjs/block'
import { createBlockchain } from '@ethereumjs/blockchain'
import {
Common,
Expand Down Expand Up @@ -235,6 +235,7 @@ export async function setupChain(genesisFile: any, chainName = 'dev', clientOpts
const common = createCommonFromGethGenesis(genesisFile, {
chain: chainName,
customCrypto: clientOpts.customCrypto,
params: paramsBlock,
})
common.setHardforkBy({
blockNumber: 0,
Expand Down

0 comments on commit 38ff377

Please sign in to comment.