From 3b72cc613978fb5a61da277cbed652b0bf2da2fd Mon Sep 17 00:00:00 2001 From: Wodann Date: Wed, 17 Jul 2024 18:07:36 +0000 Subject: [PATCH] test: remove invalid test --- .../provider/modules/eth/hardforks.ts | 33 ------------------- 1 file changed, 33 deletions(-) diff --git a/hardhat-tests/test/internal/hardhat-network/provider/modules/eth/hardforks.ts b/hardhat-tests/test/internal/hardhat-network/provider/modules/eth/hardforks.ts index a20befa08..6e6c46ed3 100644 --- a/hardhat-tests/test/internal/hardhat-network/provider/modules/eth/hardforks.ts +++ b/hardhat-tests/test/internal/hardhat-network/provider/modules/eth/hardforks.ts @@ -532,39 +532,6 @@ describe("Eth module - hardfork dependant tests", function () { ); assert.deepEqual(tx.accessList, accessList); }); - - it("Should accept access lists with null storageKeys", async function () { - const accessList = [ - { - address: "0x1234567890123456789012345678901234567890", - storageKeys: null, - }, - ]; - const [sender] = await this.provider.send("eth_accounts"); - const txHash = await this.provider.send("eth_sendTransaction", [ - { - from: sender, - to: sender, - accessList, - }, - ]); - - const tx = await this.provider.send("eth_getTransactionByHash", [ - txHash, - ]); - - assert.equal(tx.type, numberToRpcQuantity(1)); - assert.equal( - tx.chainId, - numberToRpcQuantity(this.common.chainId()) - ); - assert.deepEqual(tx.accessList, [ - { - address: "0x1234567890123456789012345678901234567890", - storageKeys: [], - }, - ]); - }); }); });