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

Master #6

Merged
merged 337 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
337 commits
Select commit Hold shift + click to select a range
d9523f3
Bump sweetalert2 from 11.7.31 to 11.7.32 in /apps/block_scout_web/assets
dependabot[bot] Oct 10, 2023
ea55f5c
Merge pull request #8608 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 10, 2023
4d49a27
Merge pull request #8510 from blockscout/dependabot/hex/hackney-1.19.1
vbaranov Oct 10, 2023
69abff0
Merge pull request #8472 from blockscout/np-eth-bytecode-db-new-endpoint
vbaranov Oct 10, 2023
80c9944
Add RSK chain type
sl1depengwyn Oct 4, 2023
d735945
Disable market history cataloger when exchange rates are disabled
vbaranov Oct 10, 2023
c70968c
Merge pull request #8614 from blockscout/vb-disable-market-cataloger-…
vbaranov Oct 11, 2023
2e0acd5
Refactor parsing of FIRST_BLOCK, LAST_BLOCK, TRACE_FIRST_BLOCK, TRACE…
vbaranov Oct 10, 2023
dbca831
Fix css-loader
pustovalov Oct 12, 2023
392a71a
Merge pull request #8620 from pustovalov/css-loader
vbaranov Oct 13, 2023
0371d2a
Fix NEXT_PUBLIC_API_SPEC_URL in common-frontend.env
vbaranov Oct 13, 2023
e485c1d
DefiLlama TVL source
vbaranov Oct 3, 2023
159c4cb
Add tvl prop to /stats API
vbaranov Oct 13, 2023
99b4ff1
Fix typos
GoodDaisy Oct 15, 2023
a5abceb
Add Fuse branch to CI
vbaranov Oct 16, 2023
1bb6a7d
New branches to CI
vbaranov Oct 16, 2023
15f7985
Increase ELIXIR_VERSION and OTP_VERSION in GA configs
vbaranov Oct 16, 2023
7508b2f
Bump @babel/preset-env in /apps/block_scout_web/assets
dependabot[bot] Oct 16, 2023
23b83ff
Bump sass from 1.69.0 to 1.69.3 in /apps/block_scout_web/assets
dependabot[bot] Oct 16, 2023
d65efab
Bump hackney from 1.19.1 to 1.20.1
dependabot[bot] Oct 16, 2023
8ec4172
Bump ex_cldr from 2.37.2 to 2.37.4
dependabot[bot] Oct 16, 2023
491b5ba
Bump floki from 0.34.3 to 0.35.0
dependabot[bot] Oct 16, 2023
e70e3a4
Merge pull request #8637 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 16, 2023
8bc007a
Bump @babel/traverse in /apps/block_scout_web/assets
dependabot[bot] Oct 16, 2023
6de11df
Merge pull request #8639 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 16, 2023
e1f3333
Bump @babel/core from 7.23.0 to 7.23.2 in /apps/block_scout_web/assets
dependabot[bot] Oct 16, 2023
c482233
Merge pull request #8643 from blockscout/dependabot/hex/floki-0.35.0
vbaranov Oct 16, 2023
dea9ac3
Bump webpack from 5.88.2 to 5.89.0 in /apps/block_scout_web/assets
dependabot[bot] Oct 16, 2023
913f7ee
Merge pull request #8641 from blockscout/dependabot/hex/ex_cldr-2.37.4
vbaranov Oct 16, 2023
629ee4b
Bump ex_doc from 0.30.6 to 0.30.7
dependabot[bot] Oct 16, 2023
66433af
Merge pull request #8646 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 16, 2023
c4e0372
Merge pull request #8636 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 16, 2023
3ed6d5f
Merge pull request #8645 from blockscout/dependabot/hex/ex_doc-0.30.7
vbaranov Oct 17, 2023
8c5aa45
Merge pull request #8638 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 17, 2023
d5ccbee
Merge pull request #8640 from blockscout/dependabot/hex/hackney-1.20.1
vbaranov Oct 17, 2023
35c992d
Merge pull request #8542 from blockscout/mf-rootstock-tracing
vbaranov Oct 17, 2023
8efd23e
Fix empty tvl in /stats page
vbaranov Oct 17, 2023
46fb687
Merge pull request #8589 from blockscout/vb-defillama-tvl-source
vbaranov Oct 18, 2023
c5ed2de
Fix polygon tracer
vbaranov Oct 18, 2023
da70f07
Merge pull request #8628 from GoodDaisy/master
vbaranov Oct 18, 2023
d328d10
Merge pull request #8543 from blockscout/mf-fix-polygon-tracer
vbaranov Oct 18, 2023
3309b6a
Set max 30sec JSON RPC poll frequency for realtime fetcher when WS is…
vbaranov Oct 18, 2023
3326d67
Merge pull request #8649 from blockscout/vb-set-max-polling-time
vbaranov Oct 18, 2023
94a76bf
Add RSK tracing
sl1depengwyn Sep 25, 2023
843430c
Add rootstock locked widget in stats
sl1depengwyn Oct 2, 2023
bc10429
Remove block consensus on import fail
Qwerty5Uiop Oct 19, 2023
b6278b1
arm64-compatible docker image
vbaranov Oct 19, 2023
c46aa15
Merge pull request #8661 from blockscout/vb-arm-compatible-docker-image
vbaranov Oct 19, 2023
2f4db2e
Improve `/tabs-counters` and add cache
nikitosing Oct 4, 2023
231d72d
Merge pull request #8583 from blockscout/mf-rootstock-widget
vbaranov Oct 19, 2023
6896b09
Change counting time function
nikitosing Oct 19, 2023
4614878
Process review comments
nikitosing Oct 20, 2023
d8da722
Process review comment
vbaranov Oct 20, 2023
73ad933
Merge pull request #8512 from blockscout/np-cut-heavy-counter
vbaranov Oct 20, 2023
f390e83
Merge pull request #8613 from blockscout/vb-refactor-first-last-block
vbaranov Oct 20, 2023
0173d3d
Add head offset for empty blocks sanitizer
Qwerty5Uiop Oct 19, 2023
067d06d
Fix TokenBalance fetcher retry logic
Qwerty5Uiop Oct 5, 2023
f09dd06
Merge pull request #8594 from blockscout/fix-token-balance-fetcher
vbaranov Oct 20, 2023
9acb453
Merge pull request #8658 from blockscout/remove-block-consensus-on-im…
vbaranov Oct 20, 2023
da6e63e
Filter token transfers on coin balances updates
Qwerty5Uiop Oct 2, 2023
9cba3b2
Merge pull request #8575 from blockscout/filter-token-transfers-from-…
vbaranov Oct 20, 2023
45178dc
v5.3.0
vbaranov Oct 20, 2023
4369728
Update CHANGELOG
vbaranov Oct 20, 2023
85b1dac
Configure Buildx for Optimism
vbaranov Oct 20, 2023
fd020a4
Workflow for image generation for zkevm
vbaranov Oct 23, 2023
57c595e
Add a window for balances fetching from non-archive node
Qwerty5Uiop Oct 23, 2023
fdbffc7
Bump sass from 1.69.3 to 1.69.4 in /apps/block_scout_web/assets
dependabot[bot] Oct 23, 2023
d4aa49c
Bump web3 from 1.10.2 to 1.10.3 in /apps/block_scout_web/assets
dependabot[bot] Oct 23, 2023
d257e2d
Bump core-js from 3.33.0 to 3.33.1 in /apps/block_scout_web/assets
dependabot[bot] Oct 23, 2023
39b29d7
Bump eslint from 8.51.0 to 8.52.0 in /apps/block_scout_web/assets
dependabot[bot] Oct 23, 2023
5d62a2d
Bump @amplitude/analytics-browser in /apps/block_scout_web/assets
dependabot[bot] Oct 23, 2023
f7ab2da
Bump floki from 0.35.0 to 0.35.1
dependabot[bot] Oct 23, 2023
8d1a389
Bump ex_abi from 0.6.2 to 0.6.3
dependabot[bot] Oct 23, 2023
ef98166
Merge pull request #8683 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 24, 2023
2c51fd8
Merge pull request #8689 from blockscout/dependabot/hex/ex_abi-0.6.3
vbaranov Oct 24, 2023
f4f7c6f
Merge pull request #8682 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 24, 2023
d8dd37c
Merge pull request #8680 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 24, 2023
a96ccf4
Bump eslint-plugin-import in /apps/block_scout_web/assets
dependabot[bot] Oct 24, 2023
b4f95ce
Set CHAIN_TYPE=polygon_edge for Immutable
vbaranov Oct 24, 2023
7040a57
Merge pull request #8681 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 24, 2023
bbe862c
Merge pull request #8684 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 24, 2023
2fe4667
Merge pull request #8679 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 24, 2023
7647f8b
Merge pull request #8687 from blockscout/dependabot/hex/floki-0.35.1
vbaranov Oct 24, 2023
458648e
Bump ex_doc from 0.30.7 to 0.30.9
dependabot[bot] Oct 24, 2023
c18b929
Fix db pool size exceeds Postgres max connections
vbaranov Oct 23, 2023
ef73a3f
Bump redix from 1.2.3 to 1.3.0
dependabot[bot] Oct 24, 2023
4956c72
Merge pull request #8693 from blockscout/dependabot/hex/redix-1.3.0
vbaranov Oct 24, 2023
f017bbb
Merge pull request #8688 from blockscout/dependabot/hex/ex_doc-0.30.9
vbaranov Oct 24, 2023
38e4aa9
Rollback changes for Explorer.Repo.Replica1
vbaranov Oct 24, 2023
564a52c
Merge pull request #8685 from blockscout/vb-fix-pool-size
vbaranov Oct 24, 2023
c406eb9
Merge pull request #8673 from blockscout/archive-balances-window
vbaranov Oct 24, 2023
7cb58ec
Fix is_verified for /addresses and /smart-contracts
nikitosing Oct 23, 2023
b63d35a
Changelog
nikitosing Oct 23, 2023
63b023f
Create zkEVM tables
varasev Apr 20, 2023
27d9232
Add runners for zkEVM tables
varasev Apr 21, 2023
e630e51
Draft zkEVM indexer implementation
varasev May 1, 2023
6673b1c
Extend zkEVM batches indexer
varasev May 3, 2023
f3dd999
Improve detecting a new zkEVM batch
varasev May 8, 2023
6b5a353
Add INDEXER_ZKEVM_BATCHES_ENABLED env var
varasev May 8, 2023
8c145ef
Add logging to Indexer.Fetcher.ZkevmTxnBatch
varasev May 15, 2023
6efe1e5
Refactor Indexer.Fetcher.ZkevmTxnBatch
varasev May 15, 2023
7cf6202
Small refactoring of Indexer.Fetcher.ZkevmTxnBatch
varasev May 16, 2023
9b50f4d
Add zkEVM fields to API v2 response for transaction page
varasev May 16, 2023
ec5240e
Add zkEVM transaction status to API v2 response for transaction page
varasev May 17, 2023
dbc3921
Add API v2 response for zkEVM batch page (partially)
varasev May 17, 2023
eadef3c
Add API v2 response for zkEVM batch page
varasev May 23, 2023
b4e7a12
Add API v2 response for zkEVM list of batches page
varasev May 23, 2023
c445cdb
Add API v2 output for Latest Confirmed Batches homepage section
varasev May 24, 2023
5d990c9
Add API v2 output for Latest Batch homepage section
varasev May 24, 2023
c87e64f
Add API v2 output for transaction list of the specified batch
varasev May 25, 2023
beafb4a
Rename some routes in API v2
varasev May 25, 2023
242cac2
Update changelog
varasev May 30, 2023
a920650
Fix for dialyzer
varasev Jun 1, 2023
977c653
Add new words to cspell.json
varasev Jun 5, 2023
1d05035
Use latest batch number instead of aggregated count
varasev Jun 9, 2023
06ce6d7
Simplify batches chunking
varasev Jun 9, 2023
03566d5
Store l2 transactions count in the batch table
varasev Jun 9, 2023
f30a4d4
Fix syntax
varasev Sep 4, 2023
bc411f5
Minor changes
varasev Sep 11, 2023
841fd7b
Add INDEXER_ZKEVM_BATCHES_CHUNK_SIZE env variable
varasev Sep 11, 2023
3fe3c5c
Add INDEXER_ZKEVM_BATCHES_RECHECK_INTERVAL env variable
varasev Sep 11, 2023
00f71d3
Remove redundant line
varasev Sep 11, 2023
8b70c29
Small refactoring
varasev Sep 11, 2023
126c59a
Txn -> Transaction
varasev Sep 11, 2023
a82c8bd
Move zkevm_* files into a separate folder
varasev Sep 12, 2023
54fb9a3
Add Explorer.Chain.Zkevm.Reader module
varasev Sep 12, 2023
332062e
Change some API routes
varasev Sep 13, 2023
f563170
Add small comment
varasev Sep 13, 2023
d77f3f5
Add specs for public functions
varasev Sep 13, 2023
397df46
Fix config/runtime.exs
varasev Sep 15, 2023
a7d39c8
Extend zkevm batch info in API
varasev Sep 15, 2023
5ea5da2
Define chain type
varasev Sep 15, 2023
1d36bd8
Add @doc for public functions
varasev Sep 18, 2023
921e01d
Fix repos list definition in releases_tasks
varasev Sep 22, 2023
bea348d
Throw not_found error in API v2 when a batch is not found
varasev Sep 26, 2023
07c3dbf
Fixes after rebase
varasev Sep 27, 2023
8928bd3
Make transactions list in a batch optional
varasev Oct 2, 2023
f0fcf7a
Handle 0 gas limit
vbaranov Sep 14, 2023
adc277e
mix format
varasev Oct 2, 2023
bd7a783
Add socket for confirmed batches list on the main page
varasev Oct 5, 2023
158e64f
Fix for zkEVM websocket connection
varasev Oct 23, 2023
45cb6d2
Minor fixes
varasev Oct 24, 2023
e7bad40
Fix transaction_controller.ex
varasev Oct 24, 2023
5e3a8cb
Set pool_size to 1 for polygon_zkevm
varasev Oct 25, 2023
f5de3d2
Merge pull request #8678 from blockscout/np-fix-is-verified-flag
vbaranov Oct 25, 2023
2836ccf
Small refactoring
varasev Oct 25, 2023
2dba270
Merge pull request #7584 from blockscout/va-zkevm
vbaranov Oct 25, 2023
30a0bb5
Don't override internal transaction error if it's present already
Qwerty5Uiop Oct 24, 2023
15a48be
Merge pull request #8695 from blockscout/ap-fix-internal-transactions…
vbaranov Oct 25, 2023
0560fa8
Account: add pagination + envs for limits (#8528)
nikitosing Oct 25, 2023
e9522de
Suave functional (#8556)
varasev Oct 25, 2023
9828c92
Support tokenSymbol and tokenName in /api/v2/import/token-info (#8696)
nikitosing Oct 25, 2023
5d9cba1
Update more Docker images on release
vbaranov Oct 25, 2023
15efaac
Fix sourcify enabled flag (#8705)
nikitosing Oct 25, 2023
533eb26
Add stability_fee for CHAIN_TYPE=stability (#8651)
nikitosing Oct 26, 2023
9132b29
Fix sourcify check (#8714)
nikitosing Oct 26, 2023
6852a99
Add address name updating on contract re-verification (#8706)
nikitosing Oct 26, 2023
5d7c3fe
Rename `wrapped` field to `requestRecord` for Suave (#8715)
varasev Oct 26, 2023
68d449d
CoinBalanceHistory tab: show also tx with gasPrice & gasUsed > 0 (#8708)
nikitosing Oct 26, 2023
963d0a8
Save GasPriceOracle old prices as a fallback
Qwerty5Uiop Oct 26, 2023
eaf2d51
Merge pull request #8717 from blockscout/ap-gas-price-oracle-old-prices
vbaranov Oct 26, 2023
efd4d2f
5.3.1
vbaranov Oct 26, 2023
aecc6c8
Update CHANGELOG
vbaranov Oct 26, 2023
232b609
Update GA workflows
vbaranov Oct 26, 2023
dee9011
Fix CHANGELOG
vbaranov Oct 26, 2023
d8dbd08
GA Workflow for Stability
vbaranov Oct 26, 2023
cbdb98c
Split release workflow into 2
vbaranov Oct 27, 2023
0e79ee5
Adjust docker image build workflows: remove updating latest tag from …
vbaranov Oct 27, 2023
cc5b2d8
Remove repos_list (default value for ecto repos) from Explorer.Releas…
vbaranov Oct 27, 2023
743c90e
Fix flaky account notifier test (#8724)
sl1depengwyn Oct 27, 2023
919d79f
Bump browserify-sign from 4.2.1 to 4.2.2 in /apps/block_scout_web/assets
dependabot[bot] Oct 30, 2023
cd7959e
Merge pull request #8727 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 30, 2023
39fd80c
Add CI to PR creation production-optimism-stg
vbaranov Oct 30, 2023
c2d4a2d
Bump solc from 0.8.21 to 0.8.22 in /apps/explorer
dependabot[bot] Oct 30, 2023
bb64998
Bump phoenix_ecto from 4.4.2 to 4.4.3
dependabot[bot] Oct 30, 2023
51a42a3
Bump tesla from 1.7.0 to 1.8.0
dependabot[bot] Oct 30, 2023
7b0b873
Bump floki from 0.35.1 to 0.35.2
dependabot[bot] Oct 30, 2023
0f40aa2
Bump core-js from 3.33.1 to 3.33.2 in /apps/block_scout_web/assets
dependabot[bot] Oct 30, 2023
45a9561
Bump sweetalert2 from 11.7.32 to 11.9.0 in /apps/block_scout_web/assets
dependabot[bot] Oct 30, 2023
38e38be
Bump sass from 1.69.4 to 1.69.5 in /apps/block_scout_web/assets
dependabot[bot] Oct 30, 2023
6d234bc
Merge pull request #8748 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 30, 2023
c002553
Merge pull request #8747 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 30, 2023
5e8cbfc
Merge pull request #8743 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 30, 2023
b270cf0
Merge pull request #8745 from blockscout/dependabot/hex/tesla-1.8.0
vbaranov Oct 30, 2023
98a7e70
Merge pull request #8749 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Oct 30, 2023
76846bc
Merge pull request #8744 from blockscout/dependabot/hex/phoenix_ecto-…
vbaranov Oct 30, 2023
1c8addf
Merge pull request #8746 from blockscout/dependabot/hex/floki-0.35.2
vbaranov Oct 30, 2023
240376b
Add TOKEN_INSTANCE_OWNER_MIGRATION_ENABLED env
nikitosing Oct 30, 2023
96743ee
Fix internal transaction error
Qwerty5Uiop Oct 31, 2023
2d9112c
Changelog
nikitosing Oct 31, 2023
964fbc8
Merge pull request #8755 from blockscout/ap-fix-internal-transaction-…
vbaranov Oct 31, 2023
c472f7b
Merge pull request #8752 from blockscout/np-add-switcher-for-nft-migr…
vbaranov Oct 31, 2023
3c58526
Gnosis safe proxy via singleton
vbaranov Oct 31, 2023
9bc9e50
Merge pull request #8759 from blockscout/vb-enhance-gnosis-safe-proxy
vbaranov Oct 31, 2023
64309ed
Fix for tvl update in market history when row already exists
vbaranov Nov 1, 2023
1e832d9
Merge pull request #8765 from blockscout/vb-fix-tvl-update
vbaranov Nov 1, 2023
d5b178b
Merge branch 'cryptonomic0n' into master
istoril Nov 2, 2023
fbbf53c
Disable catchup indexer by env
Qwerty5Uiop Nov 7, 2023
f89d29b
Fix Indexer.Transform.Addresses for non-Suave setup (#8784)
varasev Nov 8, 2023
b2e458a
Bump cldr_utils from 2.24.1 to 2.24.2
dependabot[bot] Nov 8, 2023
4bb4552
Bump eslint from 8.52.0 to 8.53.0 in /apps/block_scout_web/assets
dependabot[bot] Nov 8, 2023
9d8d8a2
Bump ex_cldr_numbers from 2.32.2 to 2.32.3
dependabot[bot] Nov 8, 2023
cd49d23
Merge pull request #8793 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Nov 8, 2023
074add8
Merge pull request #8792 from blockscout/dependabot/hex/cldr_utils-2.…
vbaranov Nov 8, 2023
f67bcda
Merge pull request #8787 from blockscout/dependabot/hex/ex_cldr_numbe…
vbaranov Nov 8, 2023
dadb52e
Bump ex_abi from 0.6.3 to 0.6.4
dependabot[bot] Nov 8, 2023
3e9d680
Merge pull request #8795 from blockscout/ap-disable-catchup-indexer
vbaranov Nov 8, 2023
af39e89
Bump ex_cldr_units from 3.16.3 to 3.16.4
dependabot[bot] Nov 8, 2023
06798af
Merge pull request #8790 from blockscout/dependabot/hex/ex_abi-0.6.4
vbaranov Nov 8, 2023
dfc06eb
Merge pull request #8788 from blockscout/dependabot/hex/ex_cldr_units…
vbaranov Nov 8, 2023
e8ccfbb
Fix for eth_getbalance API v1 endpoint when requesting latest tag
vbaranov Nov 1, 2023
3a914f0
Merge pull request #8770 from blockscout/vb-eth-getbalance-api-latest…
vbaranov Nov 8, 2023
84a58de
Add new metadata fields and add x-api-key header to eth-bytecode-db r…
nikitosing Nov 9, 2023
f9d5377
Add endpoint url to the block_scout_web logging (#8609)
nikitosing Nov 9, 2023
150533e
Add possibility to search tokens by address hash (#8768)
nikitosing Nov 9, 2023
13e9cce
Enable API v2 by default (#8802)
nikitosing Nov 9, 2023
aec9261
Add rootstock specific fields (#8076)
sl1depengwyn Aug 1, 2023
940799b
Fix cycle of rootstock fetcher
sl1depengwyn Aug 2, 2023
48bc9a1
Take into account `CHAIN_TYPE` for RSK
sl1depengwyn Nov 7, 2023
ae15ea5
CI for ETH Sepolia
vbaranov Nov 9, 2023
ca1bd83
API v2: address nft (#8634)
nikitosing Nov 9, 2023
76b9e84
Ignore depositReceiptVersion from optimism receipts
0xalex88 Nov 10, 2023
b70f95c
Do not ignore twin contracts on /api/v2/import/smart-contracts/{addre…
nikitosing Nov 13, 2023
6377c97
Add CoinBalanceDailyUpdater
Qwerty5Uiop Sep 28, 2023
bf9e0b4
Merge pull request #8558 from blockscout/coin-balances-daily-updater
vbaranov Nov 13, 2023
083d13e
Merge pull request #8809 from 0xalex88/patch-1
vbaranov Nov 13, 2023
5209cdf
Bump benchee from 1.1.0 to 1.2.0
dependabot[bot] Nov 13, 2023
3a681ae
Bump httpoison from 2.1.0 to 2.2.0
dependabot[bot] Nov 13, 2023
97bd615
Bump luxon from 3.4.3 to 3.4.4 in /apps/block_scout_web/assets
dependabot[bot] Nov 13, 2023
874d72b
Bump @babel/core from 7.23.2 to 7.23.3 in /apps/block_scout_web/assets
dependabot[bot] Nov 13, 2023
3d185a1
Merge pull request #8827 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Nov 14, 2023
58c89df
Merge pull request #8823 from blockscout/dependabot/hex/benchee-1.2.0
vbaranov Nov 14, 2023
b9d123c
Merge pull request #8826 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Nov 14, 2023
480adc9
Bump @babel/preset-env in /apps/block_scout_web/assets
dependabot[bot] Nov 14, 2023
463d750
Merge pull request #8824 from blockscout/dependabot/hex/httpoison-2.2.0
vbaranov Nov 14, 2023
3accea9
Bump solc from 0.8.22 to 0.8.23 in /apps/explorer
dependabot[bot] Nov 14, 2023
668d5a2
Do not preload smart contract info if address has no contract_code
nikitosing Nov 13, 2023
aee725b
Changelog
nikitosing Nov 13, 2023
98210e4
Fix after review; Add test
nikitosing Nov 14, 2023
db93f09
Merge pull request #8828 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Nov 14, 2023
ffbbefd
Merge pull request #8814 from blockscout/np-addresses-endpoint-perfor…
vbaranov Nov 14, 2023
7624298
Merge pull request #8825 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Nov 14, 2023
8be0d92
Log more details in regards 413 error
vbaranov Nov 14, 2023
d63a940
Safe token update
Qwerty5Uiop Nov 14, 2023
a87d587
Merge pull request #8836 from blockscout/ap-safe-update-token
vbaranov Nov 14, 2023
d9d7ef9
Merge pull request #8832 from blockscout/vb-more-details-on413-error
vbaranov Nov 14, 2023
f22c4b5
Add testing for all CHAIN_TYPEs
sl1depengwyn Nov 10, 2023
abce79e
Merge pull request #8742 from blockscout/mf-merge-rsk-into-main
vbaranov Nov 15, 2023
b1b9128
Merge branch 'blockscout:master' into master
istoril Nov 15, 2023
61a746a
Merge branch 'cryptonomic0n' into master
istoril Nov 15, 2023
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
100 changes: 71 additions & 29 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,23 @@ on:

env:
MIX_ENV: test
OTP_VERSION: '25.2.1'
ELIXIR_VERSION: '1.14.5'
ACCOUNT_AUTH0_DOMAIN: 'blockscoutcom.us.auth0.com'
OTP_VERSION: "25.2.1"
ELIXIR_VERSION: "1.14.5"
ACCOUNT_AUTH0_DOMAIN: "blockscoutcom.us.auth0.com"

jobs:
matrix-builder:
name: Build matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- id: set-matrix
run: |
echo "matrix=$matrixStringifiedObject" >> $GITHUB_OUTPUT
env:
matrixStringifiedObject: '{"chain-type": ["ethereum", "polygon_edge", "polygon_zkevm", "rsk", "suave", "stability"]}'

build-and-cache:
name: Build and Cache deps
runs-on: ubuntu-latest
Expand All @@ -55,7 +67,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-

Expand Down Expand Up @@ -113,7 +125,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"

Expand All @@ -137,15 +149,21 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"

- run: mix format --check-formatted

dialyzer:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix-builder.outputs.matrix) }}
name: Dialyzer static analysis
runs-on: ubuntu-latest
needs: build-and-cache
needs:
- build-and-cache
- matrix-builder
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
Expand All @@ -160,7 +178,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"

Expand All @@ -169,18 +187,22 @@ jobs:
id: dialyzer-cache
with:
path: priv/plts
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-dialyzer-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-${{ matrix.chain-type }}-dialyzer-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-dialyzer-"
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-${{ matrix.chain-type }}-dialyzer-"

- name: Conditionally build Dialyzer Cache
if: steps.dialyzer-cache.output.cache-hit != 'true'
run: |
mkdir -p priv/plts
mix dialyzer --plt
env:
CHAIN_TYPE: ${{ matrix.chain-type }}

- name: Run Dialyzer
run: mix dialyzer --halt-exit-status
env:
CHAIN_TYPE: ${{ matrix.chain-type }}

gettext:
name: Missing translation keys check
Expand All @@ -200,7 +222,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"

Expand All @@ -226,7 +248,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"

Expand Down Expand Up @@ -255,7 +277,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"

Expand Down Expand Up @@ -303,7 +325,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"

Expand Down Expand Up @@ -349,7 +371,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"

Expand All @@ -370,9 +392,14 @@ jobs:
working-directory: apps/block_scout_web/assets

test_nethermind_mox_ethereum_jsonrpc:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix-builder.outputs.matrix) }}
name: EthereumJSONRPC Tests
runs-on: ubuntu-latest
needs: build-and-cache
needs:
- build-and-cache
- matrix-builder
services:
postgres:
image: postgres
Expand Down Expand Up @@ -406,7 +433,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"

Expand All @@ -423,10 +450,16 @@ jobs:
PGUSER: postgres
ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Nethermind.Mox"
ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Mox"
CHAIN_TYPE: "${{ matrix.chain-type }}"
test_nethermind_mox_explorer:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix-builder.outputs.matrix) }}
name: Explorer Tests
runs-on: ubuntu-latest
needs: build-and-cache
needs:
- build-and-cache
- matrix-builder
services:
postgres:
image: postgres
Expand Down Expand Up @@ -460,7 +493,7 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"

Expand Down Expand Up @@ -488,10 +521,16 @@ jobs:
PGUSER: postgres
ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Nethermind.Mox"
ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Mox"
CHAIN_TYPE: "${{ matrix.chain-type }}"
test_nethermind_mox_indexer:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix-builder.outputs.matrix) }}
name: Indexer Tests
runs-on: ubuntu-latest
needs: build-and-cache
needs:
- build-and-cache
- matrix-builder
services:
postgres:
image: postgres
Expand Down Expand Up @@ -525,11 +564,10 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"


- run: ./bin/install_chrome_headless.sh

- name: mix test --exclude no_nethermind
Expand All @@ -546,15 +584,20 @@ jobs:
PGUSER: postgres
ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Nethermind.Mox"
ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Mox"

CHAIN_TYPE: "${{ matrix.chain-type }}"
test_nethermind_mox_block_scout_web:
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.matrix-builder.outputs.matrix) }}
name: Blockscout Web Tests
runs-on: ubuntu-latest
needs: build-and-cache
needs:
- build-and-cache
- matrix-builder
services:
redis_db:
image: 'redis:alpine'
ports:
image: "redis:alpine"
ports:
- 6379:6379

postgres:
Expand Down Expand Up @@ -589,11 +632,10 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_24-${{ hashFiles('mix.lock') }}
key: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-mixlockhash_25-${{ hashFiles('mix.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps-"


- name: Restore Explorer NPM Cache
uses: actions/cache@v2
id: explorer-npm-cache
Expand Down Expand Up @@ -637,5 +679,5 @@ jobs:
ADMIN_PANEL_ENABLED: "true"
ACCOUNT_ENABLED: "true"
ACCOUNT_REDIS_URL: "redis://localhost:6379"
API_V2_ENABLED: "true"
SOURCIFY_INTEGRATION_ENABLED: "true"
CHAIN_TYPE: "${{ matrix.chain-type }}"
54 changes: 54 additions & 0 deletions .github/workflows/publish-docker-image-for-eth-sepolia.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Publish Docker image for specific chain branches

on:
push:
branches:
- production-eth-sepolia-stg
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
env:
RELEASE_VERSION: 5.3.1
DOCKER_CHAIN_NAME: eth-sepolia
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: blockscout/blockscout

- name: Add SHORT_SHA env property with commit short sha
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
push: true
tags: blockscout/blockscout-${{ env.DOCKER_CHAIN_NAME }}:latest, blockscout/blockscout-${{ env.DOCKER_CHAIN_NAME }}:${{ env.RELEASE_VERSION }}-postrelease-${{ env.SHORT_SHA }}
build-args: |
CACHE_EXCHANGE_RATES_PERIOD=
API_V1_READ_METHODS_DISABLED=false
DISABLE_WEBAPP=false
API_V1_WRITE_METHODS_DISABLED=false
CACHE_TOTAL_GAS_USAGE_COUNTER_ENABLED=
ADMIN_PANEL_ENABLED=false
CACHE_ADDRESS_WITH_BALANCES_UPDATE_INTERVAL=
BLOCKSCOUT_VERSION=v${{ env.RELEASE_VERSION }}-beta.+commit.${{ env.SHORT_SHA }}
RELEASE_VERSION=${{ env.RELEASE_VERSION }}
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,30 @@

### Features

- [#8795](https://github.com/blockscout/blockscout/pull/8795) - Disable catchup indexer by env
- [#8768](https://github.com/blockscout/blockscout/pull/8768) - Add possibility to search tokens by address hash
- [#8750](https://github.com/blockscout/blockscout/pull/8750) - Support new eth-bytecode-db request metadata fields
- [#8634](https://github.com/blockscout/blockscout/pull/8634) - API v2: NFT for address
- [#8609](https://github.com/blockscout/blockscout/pull/8609) - Change logs format to JSON; Add endpoint url to the block_scout_web logging
- [#8558](https://github.com/blockscout/blockscout/pull/8558) - Add CoinBalanceDailyUpdater

### Fixes

- [#8836](https://github.com/blockscout/blockscout/pull/8836) - Safe token update
- [#8814](https://github.com/blockscout/blockscout/pull/8814) - Improve performance for EOA addresses in `/api/v2/addresses/{address_hash}`
- [#8813](https://github.com/blockscout/blockscout/pull/8813) - Force verify twin contracts on `/api/v2/import/smart-contracts/{address_hash}`
- [#8784](https://github.com/blockscout/blockscout/pull/8784) - Fix Indexer.Transform.Addresses for non-Suave setup
- [#8770](https://github.com/blockscout/blockscout/pull/8770) - Fix for eth_getbalance API v1 endpoint when requesting latest tag
- [#8765](https://github.com/blockscout/blockscout/pull/8765) - Fix for tvl update in market history when row already exists
- [#8759](https://github.com/blockscout/blockscout/pull/8759) - Gnosis safe proxy via singleton input
- [#8752](https://github.com/blockscout/blockscout/pull/8752) - Add `TOKEN_INSTANCE_OWNER_MIGRATION_ENABLED` env
- [#8724](https://github.com/blockscout/blockscout/pull/8724) - Fix flaky account notifier test

### Chore

- [#8832](https://github.com/blockscout/blockscout/pull/8832) - Log more details in regards 413 error
- [#8802](https://github.com/blockscout/blockscout/pull/8802) - Enable API v2 by default
- [#8742](https://github.com/blockscout/blockscout/pull/8742) - Merge rsk branch into the master branch
- [#8728](https://github.com/blockscout/blockscout/pull/8728) - Remove repos_list (default value for ecto repos) from Explorer.ReleaseTasks

<details>
Expand Down
Loading
Loading