diff --git a/.github/workflows/e2e_network_tests.yml b/.github/workflows/e2e_network_tests.yml index c54148d6d25..490c538e366 100644 --- a/.github/workflows/e2e_network_tests.yml +++ b/.github/workflows/e2e_network_tests.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 cache: yarn - run: yarn - run: tar -czf /tmp/web3-16.js.tar.gz --exclude="./.git" ./ diff --git a/packages/web3/test/e2e/sepolia/call.test.ts b/packages/web3/test/e2e/sepolia/call.test.ts index 33a3f7db398..9ce1333b8d4 100644 --- a/packages/web3/test/e2e/sepolia/call.test.ts +++ b/packages/web3/test/e2e/sepolia/call.test.ts @@ -24,7 +24,6 @@ import { import { toAllVariants } from '../../shared_fixtures/utils'; import { getSystemE2ETestProvider, - getE2ETestAccountAddress, getE2ETestContractAddress, } from '../e2e_utils'; @@ -89,9 +88,7 @@ describe(`${getSystemTestBackend()} tests - call`, () => { format: Object.values(FMT_BYTES), }), )('should call getOwner method from deployed contract', async ({ format }) => { - const expectedResult = `0x000000000000000000000000${getE2ETestAccountAddress() - .substring(2) - .toLowerCase()}`; + const expectedResult = "0x000000000000000000000000a127c5e6a7e3600ac34a9a9928e52521677e7211" const result = await web3.eth.call( { to: getE2ETestContractAddress(), diff --git a/packages/web3/test/e2e/sepolia/get_storage_at.test.ts b/packages/web3/test/e2e/sepolia/get_storage_at.test.ts index 3ba6e86bd19..43f73e8a263 100644 --- a/packages/web3/test/e2e/sepolia/get_storage_at.test.ts +++ b/packages/web3/test/e2e/sepolia/get_storage_at.test.ts @@ -17,7 +17,6 @@ along with web3.js. If not, see . import Web3, { Numbers } from '../../../src'; import { getSystemE2ETestProvider, - getE2ETestAccountAddress, getE2ETestContractAddress, } from '../e2e_utils'; import { @@ -78,13 +77,8 @@ describe(`${getSystemTestBackend()} tests - getStorageAt`, () => { result === '0x0000000000000000000000000000000000000000000000000000000000000000', ).toBeTruthy(); } else { - // eslint-disable-next-line - console.log(block); // eslint-disable-next-line jest/no-conditional-expect - expect(result).toBe( - `0x000000000000000000000000${getE2ETestAccountAddress() - .substring(2) - .toLowerCase()}`, + expect(result).toBe("0x000000000000000000000000a127c5e6a7e3600ac34a9a9928e52521677e7211" ); } });