Skip to content

Commit 2d51f62

Browse files
committed
check and remove an invalid failing spec test
1 parent ddd66f4 commit 2d51f62

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

packages/block/test/eip4895block.spec.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
KECCAK256_RLP,
66
createWithdrawalFromBytesArray,
77
hexToBytes,
8-
randomBytes,
98
} from '@ethereumjs/util'
109
import { assert, describe, it } from 'vitest'
1110

@@ -230,14 +229,4 @@ describe('EIP4895 tests', () => {
230229
'should provide withdrawals array when 4895 is active',
231230
)
232231
})
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-
})
243232
})

0 commit comments

Comments
 (0)