diff --git a/packages/web3/test/e2e/get_proof.test.ts b/packages/web3/test/e2e/get_proof.test.ts index 73e1e1ba7f2..c25fd0f1080 100644 --- a/packages/web3/test/e2e/get_proof.test.ts +++ b/packages/web3/test/e2e/get_proof.test.ts @@ -68,7 +68,17 @@ describe(`${getSystemTestBackend()} tests - getProof`, () => { if (block === 'blockHash' || block === 'blockNumber') { expect(result).toEqual(expectedProof); - } else { + } + else if(block === 'pending') { + expect(result).toMatchObject({ + balance: expect.any(BigInt), + codeHash: expect.any(String), + nonce: expect.any(BigInt), + storageHash: expect.any(String), + storageProof: expect.any(Array), + }); + } + else { expect(result).toMatchObject({ accountProof: expect.any(Array), balance: expect.any(BigInt),