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

feat: integration tests setup #177

Draft
wants to merge 444 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
444 commits
Select commit Hold shift + click to select a range
0015f13
feat: return gasUsed, gasPerPubdata, maxFeePerGas and maxPriorityFeeP…
vasyl-ivanchuk Dec 5, 2023
491f99a
feat: add transaction error and revert reason (#110)
Romsters Dec 5, 2023
05ea503
fix: add sepolia staging hostname (#111)
vasyl-ivanchuk Dec 5, 2023
5b8b417
chore: readme fixes (#113)
Romsters Dec 6, 2023
f0420a9
feat: show gas fields on UI (#114)
vasyl-ivanchuk Dec 7, 2023
e366f30
fix: api address contract endpoint to use creatorAddress field instea…
vasyl-ivanchuk Dec 7, 2023
bc75ffc
test: update tests for sepolia (#112)
pcheremu Dec 8, 2023
93a290e
fix: ignore parse log errors (#116)
Romsters Dec 11, 2023
b1a3f01
feat: re-check tokens to save based on transfers after each block (#118)
Romsters Dec 11, 2023
4abbdeb
fix: use liquidity tokens filter only on mainnet (#119)
vasyl-ivanchuk Dec 12, 2023
2c43123
feat(debugger): add background color to instructions based on call co…
MexicanAce Dec 12, 2023
bfd3e4c
feat: integration tests setup (#45)
Romsters Oct 10, 2023
c96bdb2
test: add an .env.example file with description to integration-tests
pcheremu Oct 18, 2023
da270fc
test: adding a default action for hardhat
pcheremu Oct 18, 2023
c7d1ef9
test: fix path to env
pcheremu Oct 19, 2023
89d813f
test: exclude file existence check
pcheremu Oct 19, 2023
e874c63
test: create a fallback case for a default wallet
pcheremu Oct 19, 2023
d0953f1
test: refactoring
pcheremu Oct 19, 2023
f28a726
test: restructure test solution
abilevych Oct 24, 2023
558794a
test: the tokens API-related suite re-structuring
abilevych Oct 24, 2023
2f3cbd9
test: the address API-related suite re-structuring
abilevych Oct 25, 2023
73510cd
test: the transaction API-related suite re-structuring
abilevych Oct 26, 2023
432eb84
chore: run lint
abilevych Oct 31, 2023
e82821c
test: re-structure test suites for batches, stats, blocks endpoints
abilevych Oct 31, 2023
48dc19e
chore: group the SDK-related test suites as pre-requisites
abilevych Nov 1, 2023
d3c46e1
chore: hooks / aligning tests suites
abilevych Nov 1, 2023
35dbdd9
chore: implemented a global hook for jest
abilevych Nov 3, 2023
73d6afa
chore: local hooks for the addresses endpoint
abilevych Nov 3, 2023
3c10056
chore: local hooks for the tokens endpoint
abilevych Nov 3, 2023
234994c
chore: local hooks for the transaction endpoint
abilevych Nov 3, 2023
54094b0
chore: add global hooks
abilevych Nov 6, 2023
3c9dd96
chore: fix after lint
abilevych Nov 6, 2023
09103da
chore: changed timeouts in addresses api suite
abilevych Nov 7, 2023
861c212
chore: optimized addresses/transactions test suites
abilevych Nov 7, 2023
9f521a5
test: test with a cache
pcheremu Nov 9, 2023
4c8422b
test: test with a cleaned cache in advance
pcheremu Nov 9, 2023
2d621d8
test: test with a cache
pcheremu Nov 9, 2023
4c75f2e
test: refactoring
pcheremu Nov 9, 2023
c44a3c1
test: remove an issue workaround for husky
pcheremu Nov 9, 2023
072a65c
test: covering Contract API and Logs API endpoints
amelnytskyi Nov 17, 2023
5146686
test: covering Contract API and Logs API endpoints
amelnytskyi Nov 17, 2023
d871f4e
test: covering Contract API and Logs API endpoints
amelnytskyi Nov 21, 2023
174a99b
chore: update the package-lock.json
abilevych Nov 22, 2023
536a1e9
test: covering Contract API and Logs API endpoints
amelnytskyi Nov 17, 2023
aa49486
test: covering Contract API and Logs API endpoints
amelnytskyi Nov 17, 2023
aa3f20f
test: covering Contract API and Logs API endpoints
amelnytskyi Nov 21, 2023
5888733
chore: update the package-lock.json
abilevych Nov 22, 2023
7e898a2
test: fix test for an execution on a CI
abilevych Nov 22, 2023
2453deb
Refactoring of app-e2e.yml
pcheremu Dec 14, 2023
22cb049
Small refactoring artifactsSet3.feature
pcheremu Dec 14, 2023
f08ad77
test: prepare run api tests on ci
pcheremu Dec 15, 2023
ad97b4a
test: refactoring
pcheremu Dec 15, 2023
84d5eb4
test: update name in integration-tests-api.yml
pcheremu Dec 18, 2023
b990fa0
test: initial commit with tests
pcheremu Jan 5, 2024
98235e8
test: eslint refactoring
pcheremu Jan 5, 2024
d537d01
test: updated contract hash for ui test
pcheremu Jan 5, 2024
518a037
test: refactoring
pcheremu Jan 5, 2024
70b3ae5
test: refactoring
pcheremu Jan 5, 2024
2ef98d3
test: fix unstable api test
pcheremu Jan 5, 2024
d89dac6
test: fix git ignore output folders
pcheremu Jan 5, 2024
e8036ea
test: refactoring
pcheremu Jan 5, 2024
04cf38c
test: refactoring test name
pcheremu Jan 5, 2024
d458c83
test: refactoring test name
pcheremu Jan 5, 2024
29a195a
tests: refactoring test names
pcheremu Jan 10, 2024
81be306
test: refactoring eslint
pcheremu Jan 10, 2024
0fabc5e
test: refactoring names
pcheremu Jan 10, 2024
e0c1469
test: fix api tests
pcheremu Jan 10, 2024
8bae8a1
test: refactoring
pcheremu Jan 10, 2024
534abb9
test: refactoring
pcheremu Jan 10, 2024
3e707f8
test: refactoring
pcheremu Jan 10, 2024
fe83a3d
test: refactoring after rebase
pcheremu Jan 10, 2024
d4e2329
test: refactoring eslint
pcheremu Jan 10, 2024
f8def1b
test: fix test names add account test to the workflow
pcheremu Jan 11, 2024
5b8527b
test: fix test names add account test to the workflow
pcheremu Jan 11, 2024
c50eb52
test: fix eslint
pcheremu Jan 16, 2024
d942650
test: fix redirection to documentation
pcheremu Jan 16, 2024
fcc1786
test: fix redirection to documentation
pcheremu Jan 16, 2024
061b2a6
test: fix links
pcheremu Jan 17, 2024
a092687
test: refactoring
pcheremu Jan 17, 2024
79f957c
test: fix portal url
pcheremu Jan 17, 2024
3b15958
Update packages/integration-tests/tests/api/accounts.test.ts
pcheremu Jan 18, 2024
ad4a29c
chore: update the Blocks suite name
abilevych Jan 18, 2024
6c2f3b4
test: fix names in tests
pcheremu Jan 18, 2024
7266856
test: refactoring
pcheremu Jan 18, 2024
5b7c757
chore: api retry logic for tests
abilevych Jan 11, 2024
eccc828
fix: lint issues
abilevych Jan 11, 2024
0f6d373
chore: changed timeouts
abilevych Jan 16, 2024
220f57c
chore: integration api tests refactoring
abilevych Jan 17, 2024
3ba69b3
chore: excluded unstable test
abilevych Jan 17, 2024
71aac3b
chore: jest retry option, fix lint
abilevych Jan 17, 2024
f083cab
chore: refactoring test actualization after rebase
abilevych Jan 18, 2024
d47f898
fix: lint issue
abilevych Jan 18, 2024
eba11e8
chore: exclude gating test
abilevych Jan 18, 2024
f494903
chore: excluded unstable tests
abilevych Jan 18, 2024
0e2e2e8
chore: updated retry-logic for integration api tests
abilevych Jan 23, 2024
0c18932
fix: integration api tests for the CI run
abilevych Jan 23, 2024
c5320fc
chore: refactoring leftovers in the test solution
abilevych Jan 23, 2024
0b4e29b
chore: optimized integration API tests
abilevych Jan 23, 2024
82341ce
chore: refactored jest config
abilevych Jan 23, 2024
6aafa19
chore: refactoring test retry method
abilevych Jan 24, 2024
bba6b6c
test: covering tokens API endpoints tc1803 (#155)
amelnytskyi Jan 30, 2024
0259377
test: fix readme docker command (#158)
pcheremu Jan 30, 2024
fde87c4
test: covering Batches API and partially covered Transactions (#156)
amelnytskyi Jan 30, 2024
5a6fd69
feat: new automation tests for accounts API (#163)
olehbairak Feb 6, 2024
dd7a456
test: fixing gating transactions tests (#162)
amelnytskyi Feb 7, 2024
8b68cd3
test: rebase integration tests to main (#167)
pcheremu Feb 12, 2024
cdef776
fix: update tokeninfo API description (#124)
Romsters Dec 13, 2023
0aeb85f
feat: deprecate warning for goerli (#126)
vasyl-ivanchuk Dec 15, 2023
467a359
fix: show issues banner on mainnet (tmp) (#128)
Romsters Dec 16, 2023
6ef25c7
feat: add remote config for indexer (tmp) (#130)
Romsters Dec 16, 2023
1f5cfdd
fix: header height when warning message is shown (#132)
vasyl-ivanchuk Dec 16, 2023
2931487
fix: remove mainnet warning (#133)
vasyl-ivanchuk Dec 17, 2023
072650f
fix: don't save tokens whose symbols contain only special characters …
vasyl-ivanchuk Dec 19, 2023
1fb36ba
fix: don't do prefetch request for tx search (#135)
vasyl-ivanchuk Dec 19, 2023
2b4e832
feat: use websockets to fetch transactions (tmp) (#136)
Romsters Dec 19, 2023
658105b
fix: initialise websockets provider only when enabled (#137)
Romsters Dec 19, 2023
4f4787b
fix: use websockets for balances (tmp) (#138)
Romsters Dec 19, 2023
766bbbc
fix: add mainnet warning (tmp) (#139)
vasyl-ivanchuk Dec 19, 2023
1f415fb
feat: use multiple db transactions for blocks processing, use websock…
Romsters Dec 20, 2023
a4f04ee
feat: automatic system alerts (#141)
Romsters Dec 22, 2023
022881a
fix: tests for unit of work changes (#144)
Romsters Jan 3, 2024
c025fb1
chore: fix dev discussions link (#143)
dutterbutter Jan 3, 2024
2dc7bf7
test: add allure public reports (#68)
pcheremu Jan 3, 2024
c088201
fix: docs links (#150)
vasyl-ivanchuk Jan 16, 2024
2a4fb10
feat: add data fetcher service (#145)
vasyl-ivanchuk Jan 18, 2024
eadefc0
fix: remove portal from header (#159)
vasyl-ivanchuk Feb 6, 2024
3bb8694
fix: add data fetcher debug logs (#165)
vasyl-ivanchuk Feb 7, 2024
b314bcb
test: fix a new line typos
pcheremu Feb 13, 2024
2a040b8
test: remove a version from docker compose
pcheremu Feb 13, 2024
8386066
test: roll back the version to the docker compose file
pcheremu Feb 13, 2024
926e590
fix: remove docker version (#169)
vasyl-ivanchuk Feb 14, 2024
c549d97
fix: new one
olehbairak Feb 15, 2024
e80043f
Merge branch 'integration-tests' into integration-tests-signed
pcheremu Feb 15, 2024
343cf89
test: refactoring to align changes
pcheremu Feb 15, 2024
d8d0a70
Update copying.feature
pcheremu Feb 15, 2024
e3aa291
fix: remove un contract playbook
olehbairak Feb 16, 2024
c054b5b
fix: new test integration
olehbairak Feb 23, 2024
318c013
fix: new one
olehbairak Feb 23, 2024
0281351
fix: new one
olehbairak Feb 23, 2024
06bffb0
fix: remove duplicating test
olehbairak Feb 23, 2024
36675b0
test: covering UI tests for Deposit
amelnytskyi Feb 23, 2024
4735b11
fix: review feedback
olehbairak Feb 27, 2024
dd2c1b8
fix: new one
olehbairak Feb 27, 2024
a640ca9
test: refactor and actualise Transactions tests (#182)
amelnytskyi Feb 27, 2024
f6d9eed
Update packages/integration-tests/tests/ui/transactions.spec.ts
olehbairak Feb 29, 2024
f92572e
fix: new entity
olehbairak Feb 29, 2024
f3eb795
fix: new one
olehbairak Feb 29, 2024
ba073cd
fix: new one
olehbairak Feb 29, 2024
6d23d22
fix: new one
olehbairak Feb 29, 2024
cdab5f2
fix: new one
olehbairak Feb 29, 2024
018cc99
fix: new version
olehbairak Feb 29, 2024
fe053dc
fix: new one
olehbairak Feb 29, 2024
40775b2
fix: new one
olehbairak Feb 29, 2024
dbf4411
fix: fix
olehbairak Feb 29, 2024
382526d
fix: new one
olehbairak Feb 29, 2024
c5a86cf
fix: new one
olehbairak Mar 4, 2024
4c0040a
fix: new approach to performGETrequest function
olehbairak Mar 4, 2024
4babcac
test: covering UI tests for Deposit
amelnytskyi Mar 4, 2024
f628183
fix: new version of function
olehbairak Mar 5, 2024
6b9943a
Merge pull request #185 from matter-labs/QA-543-cover-the-Deposit-tests
abilevych Mar 6, 2024
dd3af36
Update package.json
pcheremu Mar 6, 2024
87e3104
Update package.json
pcheremu Mar 6, 2024
fae3657
Update packages/integration-tests/README.md
pcheremu Mar 6, 2024
2f2d13f
Update packages/integration-tests/README.md
pcheremu Mar 6, 2024
b31711c
Update packages/integration-tests/src/entities.ts
pcheremu Mar 6, 2024
410e491
Update packages/integration-tests/src/helper.ts
pcheremu Mar 6, 2024
99a8933
Update packages/integration-tests/src/helper.ts
pcheremu Mar 6, 2024
4790844
Update packages/integration-tests/src/entities.ts
pcheremu Mar 6, 2024
4ed7c4f
Update packages/integration-tests/src/entities.ts
pcheremu Mar 6, 2024
64cc6f2
test: fix names
pcheremu Mar 7, 2024
e2445ba
Merge branch 'integration-tests-signed' into oleh-bairak-qa-653-token…
olehbairak Mar 7, 2024
7e43c46
test: fix names
pcheremu Mar 7, 2024
d03fe86
fix: new one
olehbairak Mar 7, 2024
7fa1b56
Revert "Merge branch 'integration-tests-signed' into oleh-bairak-qa-6…
olehbairak Mar 7, 2024
a433dc9
test: fix names
pcheremu Mar 7, 2024
78a146c
Revert "Revert "Merge branch 'integration-tests-signed' into oleh-bai…
olehbairak Mar 7, 2024
1380443
test: update entities to constants name
pcheremu Mar 7, 2024
d589cc0
test: update enum Token names
pcheremu Mar 7, 2024
aa893c0
test: update executeScript function to exec() method
pcheremu Mar 7, 2024
0ccaf8f
test: big change in path to set it constants and make them crossplatform
pcheremu Mar 7, 2024
9ff2fd0
Merge branch 'integration-tests-signed' into oleh-bairak-qa-653-token…
olehbairak Mar 7, 2024
ac55ca4
fix: new version
olehbairak Mar 7, 2024
4c350d0
fix: lint error fix
olehbairak Mar 7, 2024
b0a38a0
test: refactoring path and variables
pcheremu Mar 7, 2024
a82496a
test: refactoring path and variables
pcheremu Mar 7, 2024
3aa7bd8
test: fix issues and refactor
pcheremu Mar 7, 2024
e4fb462
test: added providerCache for networks
pcheremu Mar 7, 2024
25109d6
test: fix lint
pcheremu Mar 7, 2024
572b272
test: updated names
pcheremu Mar 7, 2024
18205f5
test: npm ci with audit
pcheremu Mar 7, 2024
0fa8b72
Merge branch 'integration-tests-signed' into oleh-bairak-qa-653-token…
olehbairak Mar 8, 2024
64323ef
test: create autotest for Accounts tc1854
amelnytskyi Feb 27, 2024
4e86100
test: create autotest for Accounts tc1854
amelnytskyi Mar 4, 2024
5dc6df0
test: create autotest for Accounts tc1854
amelnytskyi Mar 11, 2024
14cb26f
test: create autotest for Accounts tc1854
amelnytskyi Mar 11, 2024
b2fd997
test: create autotest for Accounts tc1854
amelnytskyi Mar 11, 2024
bd1e328
Update helper.ts
olehbairak Mar 12, 2024
1688bf6
fix: fix for wrong contract bytecode for UI E2E tests (#205)
olehbairak Mar 12, 2024
986d8af
test: create autotests for Withdraw and Account test cases
amelnytskyi Feb 27, 2024
a6bf6af
test: create autotests for Withdraw test cases
amelnytskyi Feb 27, 2024
6732d6d
test: create autotests for Withdraw test cases
amelnytskyi Mar 12, 2024
834384b
fix: new one after rebase
olehbairak Mar 12, 2024
5467a5e
fix: new contract for @id272 for contract bytecode check (#206)
olehbairak Mar 12, 2024
4e4f6db
Merge branch 'integration-tests-signed' into oleh-bairak-qa-681-accou…
olehbairak Mar 12, 2024
9beae69
fix: new one
olehbairak Mar 12, 2024
b182f33
fix: new assertion stile
olehbairak Mar 12, 2024
f1f1487
fix: new comments style
olehbairak Mar 12, 2024
d2c1356
fix: new fix
olehbairak Mar 12, 2024
5537474
fix: new one
olehbairak Mar 12, 2024
4f548fc
fix: new one
olehbairak Mar 12, 2024
808c10d
fix: new one
olehbairak Mar 12, 2024
cc0f288
Merge branch 'integration-tests-signed' into QA-690-Create-automation…
amelnytskyi Mar 13, 2024
745ce83
test: create autotests for Withdraw test cases
amelnytskyi Mar 13, 2024
1ce2430
fix: type annotation
olehbairak Mar 18, 2024
f80e6e2
fix: new way
olehbairak Mar 18, 2024
89b792b
fix: remove extra line
olehbairak Mar 18, 2024
d45f102
fix: better formatting
olehbairak Mar 18, 2024
8a520a4
fix: element names
olehbairak Mar 19, 2024
f4442b2
Merge pull request #190 from matter-labs/QA-688-Withdrawal-BE-API-tes…
amelnytskyi Mar 20, 2024
1fd5261
Merge pull request #191 from matter-labs/QA-690-Create-automation-tes…
amelnytskyi Mar 20, 2024
1c6e8ce
Merge branch 'integration-tests-signed' into oleh-bairak-qa-653-token…
olehbairak Mar 20, 2024
177bd6b
Update transactions.spec.ts
olehbairak Mar 21, 2024
9ba81a6
Update transactions.spec.ts
olehbairak Mar 21, 2024
6b780c9
test: create autotest for negative cases Contract API
amelnytskyi Mar 22, 2024
f39e293
fix: new variable name
olehbairak Mar 29, 2024
21fbfb5
fix: new one
olehbairak Mar 29, 2024
6487ac6
fix: new one
olehbairak Mar 29, 2024
196e204
Update copying.feature
olehbairak Mar 29, 2024
98f183d
fix: new one
olehbairak Mar 29, 2024
8c45c44
Merge pull request #184 from matter-labs/oleh-bairak-qa-681-accounts-…
abilevych Apr 5, 2024
26cf37a
Merge pull request #170 from matter-labs/oleh-bairak-qa-653-tokensapi…
olehbairak Apr 8, 2024
0977d95
Merge branch 'integration-tests-signed' into QA-723-automate-contract…
amelnytskyi Apr 8, 2024
06256a1
Merge pull request #211 from matter-labs/QA-723-automate-contract-API…
amelnytskyi Apr 22, 2024
0cde2c2
Merge branch 'main' into integration-tests-signed
pcheremu May 7, 2024
7b006b5
test: refactoring
pcheremu May 7, 2024
e92f3b3
test: refactoring
pcheremu May 7, 2024
6595e5c
Merge branch 'integration-tests-signed' of github.com:matter-labs/blo…
pcheremu May 7, 2024
3103946
test: back eslint cfg
pcheremu May 7, 2024
a3aa5c3
test: refactoring
pcheremu May 9, 2024
97590a2
Merge branch 'main' into integration-tests-signed
pcheremu May 28, 2024
93c8c6b
test: refactoring
pcheremu May 29, 2024
df1e10e
test: playwright test
pcheremu May 29, 2024
fa8b90c
test: postinstall
pcheremu May 29, 2024
5b47348
test: postinstall
pcheremu May 29, 2024
85e5adc
test: postinstall
pcheremu May 29, 2024
18c742b
test: fix outdated packages
pcheremu Jun 13, 2024
33670f3
Merge branch 'main' into integration-tests-signed
pcheremu Jun 13, 2024
d0ead53
test: fix outdated packages package-lock
pcheremu Jun 13, 2024
1f76848
test: fix ether version
pcheremu Jun 13, 2024
3dd0c6c
test: fix ethets
pcheremu Jun 13, 2024
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
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
**/dist/
**.env
**.env
2 changes: 0 additions & 2 deletions .github/workflows/app-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ jobs:
uses: actions/cache@v3
env:
cache-name: cache-node-modules
# Workaround for bug https://github.com/typicode/husky/issues/991
HUSKY: 0
with:
path: node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
Expand Down
61 changes: 61 additions & 0 deletions .github/workflows/integration-tests-api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Integration test - API
on: pull_request

jobs:
runTests:
timeout-minutes: 30
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
checks: write
strategy:
matrix:
node-version: ['lts/*'] # 18.17.1 or lts/*
test-pattern:
- accounts.test.ts
- addresses.test.ts
- batches.test.ts
- blocks.test.ts
- contracts.test.ts
- logs.test.ts
- stats.test.ts
- tokens.test.ts
- transactions.test.ts
name: 'API test set: ${{ matrix.test-pattern}} / Node: ${{ matrix.node-version}}'
steps:
- name: Checkout with Submodule
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm

- name: Install dependencies
run: |
npm ci
npx playwright install --with-deps chromium
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is playwright install here? Should we move it to the installation script, maybe postinstall? Otherwise locally I'll have to do the same.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to use the post-install-based approach.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Start docker containers
run: |
docker-compose -f "docker-compose.yaml" up -d --build
- name: List running containers
run: docker ps

- name: API tests run (parallel)
run: |
cd packages/integration-tests
npx jest --verbose --testPathPattern=${{ matrix.test-pattern }}
- name: Stop containers
if: always()
run: |
docker-compose -f "docker-compose.yaml" down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ cypress/videos/
cypress/screenshots/
tests/e2e/reports/
**/tests/e2e/artifacts/
**/playbook/artifacts-zk/
**/playbook/artifacts/
**/playbook/buffer/
**/playbook/cache-zk/
**/playbook/cache/

# Logs
logs
Expand Down
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
"typescript.tsdk": "node_modules/typescript/lib",
"editor.tabSize": 2
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ This repository is a monorepo consisting of 4 packages:
- [API](./packages/api) - a service providing Web API for retrieving structured [zkSync Era](https://zksync.io) blockchain data collected by [Worker](./packages/worker). It connects to the Worker's database to be able to query the collected data.
- [App](./packages/app) - a front-end app providing an easy-to-use interface for users to view and inspect transactions, blocks, contracts and more. It makes requests to the [API](./packages/api) to get the data and presents it in a way that's easy to read and understand.

Also the repository contains [integration-test](./packages/integration-tests) package with a set of API and UI tests. Follow this [Readme](./packages/integration-tests/README.md) for more details.

## 🏛 Architecture
The following diagram illustrates how are the block explorer components connected:

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ volumes:
reth:
postgres:
zksync-config:
zksync-data:
zksync-data:
Loading
Loading