We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddd66f4 commit 2d51f62Copy full SHA for 2d51f62
packages/block/test/eip4895block.spec.ts
@@ -5,7 +5,6 @@ import {
5
KECCAK256_RLP,
6
createWithdrawalFromBytesArray,
7
hexToBytes,
8
- randomBytes,
9
} from '@ethereumjs/util'
10
import { assert, describe, it } from 'vitest'
11
@@ -230,14 +229,4 @@ describe('EIP4895 tests', () => {
230
229
'should provide withdrawals array when 4895 is active',
231
)
232
})
233
-
234
- it('should return early when withdrawals root equals KECCAK256_RLP', async () => {
235
- const block = createBlock({}, { common })
236
- // Set invalid withdrawalsRoot in cache
237
- block['cache'].withdrawalsTrieRoot = randomBytes(32)
238
- assert.ok(
239
- await block.withdrawalsTrieIsValid(),
240
- 'correctly executed code path where withdrawals length is 0',
241
- )
242
- })
243
0 commit comments