Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ok/6984 update e2e network tests #7276

Open
wants to merge 2 commits into
base: 4.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/e2e_network_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
- release/**
tags:
- v4.*
pull_request:
branches:
- '4.x'
types: [ opened, reopened, synchronize ]
jobs:
build:
name: Build Packages
Expand All @@ -16,11 +20,11 @@ jobs:
node-version: 18
cache: yarn
- run: yarn
- run: tar -czf /tmp/web3-16.js.tar.gz --exclude="./.git" ./
- run: tar -czf /tmp/web3-18.js.tar.gz --exclude="./.git" ./
- uses: actions/upload-artifact@v3
with:
name: web3-16.js.tar.gz
path: /tmp/web3-16.js.tar.gz
name: web3-18.js.tar.gz
path: /tmp/web3-18.js.tar.gz
e2e:
name: E2E Network Tests
needs: build
Expand All @@ -43,9 +47,9 @@ jobs:
node-version: 18
- uses: actions/download-artifact@v3
with:
name: web3-16.js.tar.gz
name: web3-18.js.tar.gz
path: /tmp
- run: tar -xf /tmp/web3-16.js.tar.gz -C ./
- run: tar -xf /tmp/web3-18.js.tar.gz -C ./
- run: |
yarn test:e2e:${{ matrix.network }}:${{ matrix.mode }}
shell: bash
4 changes: 2 additions & 2 deletions packages/web3/test/e2e/get_proof.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ describe(`${getSystemTestBackend()} tests - getProof`, () => {
| 'blockNumber';
}>({
block: [
'earliest',
// 'earliest', block is earlier than 128 blocks ago "Returned error: missing trie node"
'latest',
'pending',
// 'pending', block is not available "Returned error: missing trie node"
'safe',
'finalized',
'blockHash',
Expand Down
Loading