Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
7bc604e
Add ability to verify bytecode without bytecode hash
nikitosing Jan 27, 2022
7088dca
Fix vulnerability
nikitosing Jan 27, 2022
ba8e41c
Merge pull request #5136 from blockscout/np-fix-verifying-without-byt…
vbaranov Mar 11, 2022
d74c1f2
general video improvements
cen1 Mar 10, 2022
7269381
Token instance page: improve video media files display
vbaranov Mar 11, 2022
ec7333b
adding in fields to ignore
joshuafernandes Jan 23, 2022
687773b
Change CHANGELOG entry
vbaranov Mar 11, 2022
bf2b811
Addition of `revertReason`
nithronium Nov 11, 2021
5e044e3
Besu: revertReason support in trace
vbaranov Mar 11, 2022
c03add6
Merge pull request #5300 from blockscout/vb-video-improvements
vbaranov Mar 11, 2022
d4e0787
Merge pull request #5303 from blockscout/vb-besu-revert-reason
vbaranov Mar 11, 2022
e5b359c
Merge pull request #5302 from blockscout/vb-goquorum-support
vbaranov Mar 11, 2022
e912d98
add missing keys
cen1 Mar 10, 2022
c544efb
Block entry_to_elixir comments for custom chains additions
vbaranov Mar 11, 2022
e1be1d9
Merge pull request #5301 from blockscout/vb-ava-ignore-keys
vbaranov Mar 11, 2022
f47e1dd
Token instance medi file: high_quality_media? flag
vbaranov Mar 11, 2022
e5dc0dd
Merge pull request #5305 from blockscout/vb-token-instance-media-file…
vbaranov Mar 11, 2022
7cc13a4
Fix no function clause matching in Indexer.Block.Catchup.BoundInterva…
nikitosing Mar 11, 2022
34fe31f
Add OpenZeppelin proxy storage slot
nikitosing Mar 12, 2022
cc15540
NPM audit
vbaranov Mar 14, 2022
14149d7
Merge pull request #5306 from blockscout/np-fix-indexer-bug
vbaranov Mar 14, 2022
9c25995
Merge pull request #5317 from blockscout/vb-npm-audit
vbaranov Mar 14, 2022
e55b0ae
Eliminate Jquery import from chart-loader.js
vbaranov Mar 14, 2022
5ec5377
Merge pull request #5318 from blockscout/vb-remove-jquery-from-chart-…
vbaranov Mar 14, 2022
329c54c
Empty blocks sanitizer performance improvement
vbaranov Mar 14, 2022
b05c5c6
Merge pull request #5319 from blockscout/vb-empty-block-sanitizer-per…
vbaranov Mar 14, 2022
8a281d2
Fix flash on reload in dark mode
nikitosing Mar 12, 2022
4d6552a
Merge pull request #5310 from blockscout/np-fix-flash-dark-mode
vbaranov Mar 16, 2022
46650f3
Merge pull request #5312 from blockscout/np-add-oz-proxy-slot
vbaranov Mar 21, 2022
4d9bba9
Remove unused broadcasts
nikitosing Mar 21, 2022
4e829e9
Fix 500 error on NF token page with nil metadata
nikitosing Mar 21, 2022
658e7c3
Merge pull request #5342 from blockscout/np-fix-media-nft
vbaranov Mar 22, 2022
d7954e0
Merge pull request #5341 from blockscout/np-remove-unused-broadcasts
vbaranov Mar 22, 2022
59b919f
Empty blocks sanitizer refactoring
vbaranov Mar 23, 2022
7706373
Merge pull request #5357 from blockscout/vb-empty-blocks-sanitizer-re…
vbaranov Mar 24, 2022
1a017f6
Fix Vyper verification form tooltips
vbaranov Mar 24, 2022
d2eced9
Merge pull request #5366 from blockscout/vb-fix-vyper-form-looltips
vbaranov Mar 25, 2022
0a60edb
Resolve Prototype Pollution in minimist dependency
vbaranov Mar 25, 2022
e04eee5
Merge pull request #5367 from blockscout/vb-update-minimist
vbaranov Mar 25, 2022
6ccdb3c
Refactoring from SourcifyFilePathBackfiller
vbaranov Mar 25, 2022
ff94813
Minor fix: poison@4.0.1
vbaranov Mar 25, 2022
dd97507
Merge pull request #5368 from blockscout/vb-refactoring-fromsourcify-…
vbaranov Mar 25, 2022
302fe49
Fix pending txs fetcher
nikitosing Mar 27, 2022
8d7d977
Fix typo in config_helper.ex
eltociear Mar 28, 2022
104ee61
Merge pull request #5375 from blockscout/np-fix-pending-tx-fetcher
vbaranov Mar 28, 2022
ce99db3
Merge pull request #5378 from eltociear/patch-2
vbaranov Mar 28, 2022
3813bc1
Fix reload transactions button
nikitosing Mar 29, 2022
6ead386
Block data for Avalanche: pass blockExtraData and extDataHash params
vbaranov Mar 29, 2022
79207e4
Merge pull request #5348 from blockscout/vb-avalanche-fix
vbaranov Mar 29, 2022
57ff846
Merge pull request #5383 from blockscout/np-fix-batch-reload
vbaranov Mar 29, 2022
f9ad92d
Return all ERC-1155's token instances in tokenList api endpoint
nikitosing Mar 27, 2022
a96de9d
Merge pull request #5374 from blockscout/np-fix-tokenlist-api-endpoint
vbaranov Mar 29, 2022
2cfd9d5
Fix Jason encode error
nikitosing Mar 28, 2022
07d3117
Fix tests
nikitosing Mar 28, 2022
f67aaf8
Merge pull request #5381 from blockscout/np-fix-exchange-rates-error
vbaranov Mar 30, 2022
caa84ef
Fix tests
nikitosing Mar 31, 2022
761208d
Merge pull request #5397 from blockscout/np-fix-tests
vbaranov Apr 1, 2022
bf3a786
Manage indexer memory limit
vbaranov Mar 25, 2022
b050881
Merge pull request #5369 from blockscout/vb-manage-memory-limit
vbaranov Apr 1, 2022
699b42a
Ability to disable block reward, coin balance, token updater fetchers
vbaranov Apr 1, 2022
98b0b69
Merge pull request #5399 from blockscout/vb-disable-fetchers
vbaranov Apr 1, 2022
423f201
Update hackney, certifi, tzdata
vbaranov Apr 4, 2022
512e977
Merge pull request #5407 from blockscout/vb-update-hackney-certifi-tz…
vbaranov Apr 4, 2022
3bf8469
Update websocket_client hex package
vbaranov Apr 4, 2022
2035bf4
Merge pull request #5408 from blockscout/vb-update-websocket_client
vbaranov Apr 4, 2022
16218c1
Fix getsourcecode for EOA addresses
nikitosing Apr 5, 2022
aa5636e
Merge pull request #5416 from blockscout/np-fix-get-sourcecode
vbaranov Apr 5, 2022
9e6bae8
Handle exited realtime fetcher
vbaranov Apr 4, 2022
8bdc868
Merge pull request #5410 from blockscout/vb-handle-realtime-fetcher-e…
vbaranov Apr 5, 2022
b82f9bd
Fix character_not_in_repertoire error for tx revert reason
vbaranov Apr 5, 2022
253bad8
Merge pull request #5411 from blockscout/np-fix-crash-on-invalid-utf-…
vbaranov Apr 5, 2022
8657638
Add check if address exists for some api methods
nikitosing Apr 5, 2022
37765dd
Merge pull request #5419 from blockscout/np-add-check-address-existance
vbaranov Apr 6, 2022
6fad5c2
Empty blocks sanitizer improvements
vbaranov Apr 7, 2022
959cdc8
Merge pull request #5425 from blockscout/vb-empty-blocks-sanitizer-im…
vbaranov Apr 7, 2022
c94eb37
Elixir 1.12 -> 1.13
vbaranov Jan 10, 2022
0a4a7db
Merge pull request #5082 from blockscout/vb-elixir-1.13.1
vbaranov Apr 7, 2022
bbcb84f
Cache modules refactoring
vbaranov Apr 8, 2022
af673b8
Merge pull request #5433 from blockscout/vb-cache-refactoring
vbaranov Apr 8, 2022
19a7f4f
Bump moment from 2.29.1 to 2.29.2 in /apps/block_scout_web/assets
dependabot[bot] Apr 9, 2022
647c57f
Merge pull request #5435 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Apr 9, 2022
e1a49f3
Geth: display tx revert reason
vbaranov Apr 11, 2022
6a91889
Merge pull request #5443 from blockscout/vb-revert-reason-geth-2
vbaranov Apr 11, 2022
e1541db
Logging error in publishing of smart-contract
vbaranov Apr 12, 2022
8fd8ba6
Merge pull request #5450 from blockscout/vb-log-publish-contract-error
vbaranov Apr 12, 2022
b845a81
Bump urijs from 1.19.10 to 1.19.11 in /apps/block_scout_web/assets
dependabot[bot] Apr 13, 2022
7b832bf
changed to update qemu-x86_64 for alpine to fix the signal 11 error.
ryanwangJC Apr 13, 2022
163c8ff
updated the changelog.
ryanwangJC Apr 13, 2022
859d91b
Merge pull request #5452 from blockscout/dependabot/npm_and_yarn/apps…
vbaranov Apr 13, 2022
3cb6de8
Fix unverified_smart_contract function: add md5 of bytecode to the ch…
vbaranov Apr 13, 2022
9e937f0
Merge pull request #5455 from blockscout/vb-fix-unverified_smart_cont…
vbaranov Apr 13, 2022
f2d4fa6
Ignore arbitrary block details fields for custom Ethereum clients
vbaranov Apr 13, 2022
4576682
Merge pull request #5456 from blockscout/vb-allow-arbitrary-block-fields
vbaranov Apr 13, 2022
93909e2
Decrease min safe polling period for realtime fetcher
vbaranov Apr 13, 2022
b6c3672
Merge pull request #5458 from blockscout/vb-decrease-min-safe-polling…
vbaranov Apr 13, 2022
81338d4
Return websocket_client 1.3.0
vbaranov Apr 14, 2022
ca14866
Merge branch 'master' into hotfix/docker-mac-m1-qemu-signal-11
vbaranov Apr 18, 2022
cca07a5
Merge pull request #5454 from LucRyan/hotfix/docker-mac-m1-qemu-signa…
vbaranov Apr 18, 2022
175864b
Refactor daily coin balances fetcher
vbaranov Apr 18, 2022
4f9c3c0
Merge pull request #5473 from blockscout/vb-refactor-daily-coin-balan…
vbaranov Apr 18, 2022
f19f3c3
Merge pull request #7 from blockscout/master
everestcw Apr 18, 2022
4212a56
Remove duplicate of balances_params_to_address_params function
vbaranov Apr 19, 2022
1b815df
Merge pull request #5480 from blockscout/vb-remove-double-balances_pa…
vbaranov Apr 19, 2022
3e482a9
Split long contract output to multiple lines
nikitosing Apr 22, 2022
98722a9
Add name for the proxy implementation on address page
nikitosing Mar 12, 2022
16788aa
Add contract's name to logs (transaction page)
nikitosing Mar 12, 2022
a3fce67
Ignore implementation name on an internal transaction tile
nikitosing Mar 17, 2022
e1f7b2a
Merge pull request #5488 from blockscout/np-fix-ui-long-output
vbaranov Apr 22, 2022
284e064
Fix array displaying in decoded constructor args
vbaranov Apr 22, 2022
6d47ee5
Merge pull request #5487 from blockscout/np-fix-contract-constructor-…
vbaranov Apr 22, 2022
5fb3229
Sequential blocks broadcast
vbaranov Apr 22, 2022
7b0cd50
Fix displaying own names on internal tx tiles
nikitosing Apr 22, 2022
2ef9e87
Split multiple functions arguments to separate query args
vbaranov Apr 22, 2022
92daf88
Merge pull request #5482 from blockscout/np-contract-read-args-work-a…
vbaranov Apr 22, 2022
5de55bc
Merge pull request #5491 from blockscout/vb-sequential-block-broadcast
vbaranov Apr 22, 2022
ce03b85
Deduplicate addresses and coin balances before inserting to the DB
vbaranov Apr 6, 2022
e0667ea
Merge pull request #5420 from blockscout/vb-dedup-addresses-coin_bala…
vbaranov Apr 23, 2022
095fa5a
Merge pull request #5313 from blockscout/np-implementation-proxy-name
vbaranov Apr 23, 2022
9c49840
Fix params encoding for read contracts methods
nikitosing Apr 4, 2022
f04f8f1
Fix structure array encoding
nikitosing Apr 5, 2022
4c63465
Merge pull request #5413 from blockscout/np-fix-cintracts-int-encoding
vbaranov Apr 23, 2022
a58f3d5
Extend TRACE_FIRST_BLOCK env var to geth variant
vbaranov Apr 27, 2022
77e1468
Manage debug_traceTransaction JSON RPC method timeout
vbaranov Apr 27, 2022
b107a53
Refactor config
vbaranov Apr 27, 2022
5eb319b
Merge pull request #5504 from blockscout/vb-trace-first-block-geth
vbaranov Apr 27, 2022
fa03022
Merge pull request #5505 from blockscout/vb-manage-debug-trace-transa…
vbaranov Apr 27, 2022
2eb03c8
Merge pull request #5506 from blockscout/vb-refactor-config
vbaranov Apr 27, 2022
f4a5275
Hide indexing banner if we fetched internal transactions from TRACE_F…
vbaranov Apr 27, 2022
7465873
Merge pull request #5508 from blockscout/vb-hide-indexing-banner
vbaranov Apr 27, 2022
58236ee
Do not fill pending blocks ops with block numbers below TRACE_FIRST_B…
vbaranov Apr 28, 2022
b8aa5d8
Set localization for "ETH" in Dockerfile in addition to "Ether"
vbaranov Apr 28, 2022
50a32c6
Merge pull request #5513 from blockscout/vb-ignore-pending-block-ops
vbaranov Apr 28, 2022
5718a9e
Merge pull request #5514 from blockscout/vb-fix-coin-symbol-setup-doc…
vbaranov Apr 28, 2022
e334c96
Improve stability of ContractState module
vbaranov Apr 29, 2022
08ee9ea
Merge pull request #5524 from blockscout/vb-contract-state-stability
vbaranov Apr 29, 2022
d4b6721
Integrate ace editor to display contract sources
nikitosing Apr 28, 2022
dd4146e
Fix js import
nikitosing May 3, 2022
b36b493
Remove vertical line
nikitosing May 3, 2022
8df21b3
Token balances fetcher retry
vbaranov May 4, 2022
fc46b86
Remove unused bridged_tokens_eth_enabled? bridged_tokens_bsc_enabled?…
vbaranov May 4, 2022
e4e0f87
Merge pull request #5515 from blockscout/np-integrate-ace-editor
vbaranov May 5, 2022
50d888a
Merge pull request #5528 from blockscout/vb-token-balances-retry
vbaranov May 5, 2022
347cfe6
Blockscout v4.1.3
vbaranov May 5, 2022
b003e39
NPM audit fix
vbaranov May 5, 2022
2847d2a
Merge pull request #5536 from blockscout/vb-npm-audit
vbaranov May 5, 2022
e67e57b
Fix internal tx's tile bug
nikitosing May 6, 2022
3d92bde
Merge pull request #5538 from blockscout/np-fix-internal-tx-tile
vbaranov May 6, 2022
1c72773
Tx page: scroll to tab
vbaranov May 6, 2022
d476645
Merge pull request #5540 from blockscout/vb-tx-page-scroll-to-tabs
vbaranov May 9, 2022
5c611ff
Increase max_restarts to 1_000 (from 3 by default) for explorer, bloc…
vbaranov May 9, 2022
35d7887
Merge pull request #5543 from blockscout/vb-unavailable-archive-node-…
vbaranov May 9, 2022
67dd49a
Add fallback clauses to string_to_*_hash functions
nikitosing May 17, 2022
9a56d3f
Merge pull request #5564 from blockscout/np-add-clauses-for-to-hash-f…
vbaranov May 17, 2022
c5ef7c1
Sanitize token name and symbol before insert, disaply
vbaranov May 17, 2022
e29cfed
Add regexp for ipfs checking
nikitosing May 17, 2022
533549b
Merge pull request #5567 from blockscout/vb-safe-token-metadata
vbaranov May 17, 2022
2ea963b
Merge branch 'master' into np-add-regexpf-for-ipfs
nikitosing May 17, 2022
fabadaf
Fix Chain module attribute typo
Qwerty5Uiop May 18, 2022
0fcff47
Merge pull request #5585 from blockscout/fix-module-attribute-typo
vbaranov May 18, 2022
b275df6
Fix func name
Qwerty5Uiop May 18, 2022
edded3e
Merge pull request #5586 from blockscout/fix-module-attribute-typo
vbaranov May 18, 2022
d717593
Implement new contracts verification approach
nikitosing Apr 18, 2022
0add4e4
Smart-contracts verification: Add clauses for corner cases and logging
nikitosing May 16, 2022
fd35c55
Fix twin verification
nikitosing May 16, 2022
f996107
Fix address on twin verification; Change redirect routes for verified…
nikitosing May 19, 2022
61daf75
mix format
nikitosing May 19, 2022
cb61231
Merge pull request #5479 from blockscout/np-verifier-experiments
vbaranov May 19, 2022
3110790
Images for different platforms
vbaranov May 20, 2022
abafaec
Images for different platforms v2
vbaranov May 20, 2022
cf037b6
Images for different platforms v3
vbaranov May 20, 2022
db2df0c
Merge pull request #5568 from blockscout/np-add-regexpf-for-ipfs
vbaranov May 20, 2022
c0204ae
Remove Docker image generation from push to master
vbaranov May 20, 2022
d5e0810
Burn fees for legacy transactions
vbaranov May 20, 2022
8023005
Merge pull request #5592 from blockscout/vb-burn-fess-for-legacy-tran…
vbaranov May 23, 2022
20da26e
Fix token dropdown
nikitosing May 22, 2022
8e4c73c
Merge pull request #5598 from blockscout/np-tokens-dropdown-fix
vbaranov May 23, 2022
81534ad
Manual fetch benefeciaries
Qwerty5Uiop May 18, 2022
b4eb61a
Fix burned_fees type
Qwerty5Uiop May 19, 2022
70f856e
Added new env to docker configs
Qwerty5Uiop May 19, 2022
b79f8d8
Fixed emission reward query range
Qwerty5Uiop May 20, 2022
cc6b679
Fixed burned_fees manual reward calculation
Qwerty5Uiop May 20, 2022
525556f
Fix failing verification attempts
nikitosing May 23, 2022
6e90d1f
Add broadcasting of coin balance
nikitosing May 18, 2022
c896ce5
Merge pull request #5603 from blockscout/np-fix-verification-ux
vbaranov May 25, 2022
d85f045
Merge pull request #5588 from blockscout/np-add-broadcast-for-coin-ba…
vbaranov May 25, 2022
cac29b7
Update README.md
andogro May 25, 2022
4208c72
Merge pull request #5611 from blockscout/andogro-patch-1
vbaranov May 25, 2022
9e64d36
Merge pull request #5560 from blockscout/fetch-benefeciaries-manual
vbaranov May 26, 2022
cc6a035
Exchange rates CoinMarketCap source module/CoinGecko API key support
vbaranov May 26, 2022
207e418
Add EXCHANGE_RATES_COINGECKO_API_KEY env variable
vbaranov May 27, 2022
93f202d
Repair tests for exchange rates/know tokens sorce by addind mock for …
vbaranov May 27, 2022
c66a6e3
USD values from CoinGecko for TokenBridge
vbaranov May 27, 2022
e777447
Merge pull request #5613 from blockscout/vb-coin-marketcap-source
vbaranov May 27, 2022
2167e2d
Allow hyphen in password
vbaranov May 30, 2022
fc32c3c
Merge pull request #5623 from blockscout/vb-db-parser-allow-hyphen-in…
vbaranov May 30, 2022
734e321
Change to_param/1 implementation for Explorer.Chain.Address
nikitosing May 30, 2022
905bc6d
Merge branch 'master' into np-fix-redirects
nikitosing May 30, 2022
296e72b
Fix vyper compiler versions order
nikitosing May 30, 2022
4b7ac2b
Fix tests
nikitosing May 30, 2022
1ec23ea
Merge pull request #5626 from blockscout/np-fix-vyper-order
vbaranov May 31, 2022
fbab757
Merge pull request #5625 from blockscout/np-fix-redirects
vbaranov May 31, 2022
bef7c2f
Fix empty coin balance for empty address
nikitosing May 31, 2022
d0fa495
Merge pull request #5629 from blockscout/np-fix-empty-coin-balance
vbaranov Jun 1, 2022
ef4a719
Add order by for token transfers; tune pagination on transaction/toke…
nikitosing May 25, 2022
4f96c96
Add regression tests for token transfers ordering and pagination
nikitosing May 26, 2022
a02bf16
Merge pull request #5612 from blockscout/np-fix-token-transfers-order
vbaranov Jun 1, 2022
de0dcb8
exchange_rates_source function fix in case of token_bridge source: it…
vbaranov Jun 1, 2022
b4cfc01
Tune lines numbers in dialuzer-ignore
vbaranov Jun 2, 2022
4b43a6f
Fix warnings in tests
nikitosing Jun 4, 2022
7868b50
Merge pull request #5635 from blockscout/vb-fix-exchange_rates_source
vbaranov Jun 6, 2022
3267181
Merge pull request #5640 from blockscout/np-fix-warnings-in-tests
vbaranov Jun 6, 2022
2e80792
GC rebranded light theme
vbaranov Jun 2, 2022
5e07c1d
GC rebranded dark theme
vbaranov Jun 6, 2022
9175d8b
Rebranded logo
vbaranov Jun 1, 2022
8355c72
Fix dark theme
vbaranov Jun 7, 2022
075996f
Generalize colors definition for chart legend
vbaranov Jun 7, 2022
c2c7d01
Merge pull request #5651 from blockscout/gc-new-theme
vbaranov Jun 7, 2022
8f43930
Gas price oracle
vbaranov May 19, 2021
5371622
Fixes in Circles, Dark-forest themes
vbaranov Jun 9, 2022
4192b6f
Merge pull request #5657 from blockscout/vb-fix-circles-df-themes
vbaranov Jun 9, 2022
11b1ab1
Merge pull request #5656 from blockscout/vb-gas-price-oracle
vbaranov Jun 9, 2022
8cabc09
Merge branch 'blockscout:master' into upstream
arthur-cw Jun 9, 2022
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: 7 additions & 7 deletions .dialyzer-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
:0: Unknown type 'Elixir.Hash':t/0
:0: Unknown type 'Elixir.Address':t/0
apps/ethereum_jsonrpc/lib/ethereum_jsonrpc.ex:400: Function timestamp_to_datetime/1 has no local return
lib/ethereum_jsonrpc/rolling_window.ex:173
lib/explorer/repo/prometheus_logger.ex:8
lib/explorer/smart_contract/solidity/publisher_worker.ex:1
lib/explorer/smart_contract/vyper/publisher_worker.ex:1
Expand All @@ -17,14 +18,13 @@ lib/phoenix/router.ex:324
lib/phoenix/router.ex:402
lib/block_scout_web/views/layout_view.ex:145: The call 'Elixir.Poison.Parser':'parse!'
lib/block_scout_web/views/layout_view.ex:237: The call 'Elixir.Poison.Parser':'parse!'
lib/block_scout_web/controllers/api/rpc/transaction_controller.ex:22
lib/explorer/smart_contract/reader.ex:435
lib/indexer/fetcher/token_total_supply_on_demand.ex:16
lib/explorer/exchange_rates/source.ex:110
lib/explorer/exchange_rates/source.ex:113
lib/explorer/smart_contract/solidity/verifier.ex:162
lib/block_scout_web/templates/address_contract/index.html.eex:162
lib/block_scout_web/templates/address_contract/index.html.eex:199
lib/explorer/exchange_rates/source.ex:120
lib/explorer/exchange_rates/source.ex:123
lib/explorer/smart_contract/solidity/verifier.ex:223
lib/block_scout_web/templates/address_contract/index.html.eex:158
lib/block_scout_web/templates/address_contract/index.html.eex:195
lib/explorer/staking/stake_snapshotting.ex:15: Function do_snapshotting/7 has no local return
lib/explorer/staking/stake_snapshotting.ex:147
lib/explorer/third_party_integrations/sourcify.ex:70
Expand All @@ -34,4 +34,4 @@ lib/block_scout_web/views/transaction_view.ex:152
lib/block_scout_web/views/transaction_view.ex:197
lib/indexer/buffered_task.ex:402
lib/indexer/buffered_task.ex:451
lib/indexer/memory/monitor.ex:161
lib/indexer/memory/monitor.ex:160
4 changes: 2 additions & 2 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:

env:
MIX_ENV: test
OTP_VERSION: '24.2.2'
ELIXIR_VERSION: '1.12.3'
OTP_VERSION: '24.3.3'
ELIXIR_VERSION: '1.13.4'

jobs:
build-and-cache:
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,16 @@ jobs:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
env:
RELEASE_VERSION: 4.1.3
RELEASE_VERSION: 4.1.4
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Log in to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
Expand All @@ -31,10 +37,5 @@ jobs:
with:
images: blockscout/blockscout

- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
with:
context: .
file: ./docker/Dockerfile
push: true
tags: blockscout/blockscout:latest, blockscout/blockscout:${{ env.RELEASE_VERSION }}
- name: Build & Push Docker image
run: docker buildx build -t blockscout/blockscout:latest -t blockscout/blockscout:${{ env.RELEASE_VERSION }} -f ./docker/Dockerfile --push --platform=linux/arm64,linux/amd64 .
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,14 @@ screenshots/
# Sobelow
.sobelow

# osx
# osx
.DS_Store

# mix phx.gen.cert self-signed certs for dev
/apps/block_scout_web/priv/cert

/docker-compose/postgres-data
/docker-compose/tmp

.idea/
*.iml
6 changes: 3 additions & 3 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
elixir 1.12.3-otp-24
erlang 24.2
nodejs 16.13.0
elixir 1.13.4-otp-24
erlang 24.3.3
nodejs 16.14.2
85 changes: 84 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,71 @@
## Current

### Features
- [#5268](https://github.com/blockscout/blockscout/pull/5268) - Contract names display improvement
- [#5656](https://github.com/blockscout/blockscout/pull/5656) - Gas price oracle
- [#5613](https://github.com/blockscout/blockscout/pull/5613) - Exchange rates CoinMarketCap source module
- [#5588](https://github.com/blockscout/blockscout/pull/5588) - Add broadcasting of coin balance
- [#5479](https://github.com/blockscout/blockscout/pull/5479) - Remake of solidity verifier module; Verification UX improvements
- [#5540](https://github.com/blockscout/blockscout/pull/5540) - Tx page: scroll to selected tab's data

### Fixes
- [#5635](https://github.com/blockscout/blockscout/pull/5635) - Set CoinGecko source in exchange_rates_source function fix in case of token_bridge
- [#5629](https://github.com/blockscout/blockscout/pull/5629) - Fix empty coin balance for empty address
- [#5612](https://github.com/blockscout/blockscout/pull/5612) - Fix token transfers order
- [#5626](https://github.com/blockscout/blockscout/pull/5626) - Fix vyper compiler versions order
- [#5603](https://github.com/blockscout/blockscout/pull/5603) - Fix failing verification attempts
- [#5598](https://github.com/blockscout/blockscout/pull/5598) - Fix token dropdown
- [#5592](https://github.com/blockscout/blockscout/pull/5592) - Burn fees for legacy transactions
- [#5568](https://github.com/blockscout/blockscout/pull/5568) - Add regexp for ipfs checking
- [#5567](https://github.com/blockscout/blockscout/pull/5567) - Sanitize token name and symbol before insert into DB, display in the application
- [#5564](https://github.com/blockscout/blockscout/pull/5564) - Add fallback clauses to `string_to_..._hash` functions
- [#5538](https://github.com/blockscout/blockscout/pull/5538) - Fix internal transaction's tile bug

### Chore
- [#5651](https://github.com/blockscout/blockscout/pull/5651), [#5657](https://github.com/blockscout/blockscout/pull/5657) - Gnosis chain rebranded theme and generalization of chart legend colors definition
- [#5640](https://github.com/blockscout/blockscout/pull/5640) - Clean up and fix tests, reduce amount of warnings
- [#5625](https://github.com/blockscout/blockscout/pull/5625) - Get rid of some redirects to checksummed address url
- [#5623](https://github.com/blockscout/blockscout/pull/5623) - Allow hyphen in DB password
- [#5543](https://github.com/blockscout/blockscout/pull/5543) - Increase max_restarts to 1_000 (from 3 by default) for explorer, block_scout_web supervisors
- [#5536](https://github.com/blockscout/blockscout/pull/5536) - NPM audit fix


## 4.1.3-beta

### Features
- [#5515](https://github.com/blockscout/blockscout/pull/5515) - Integrate ace editor to display contract sources
- [#5505](https://github.com/blockscout/blockscout/pull/5505) - Manage debug_traceTransaction JSON RPC method timeout
- [#5491](https://github.com/blockscout/blockscout/pull/5491) - Sequential blocks broadcast on the main page
- [#5312](https://github.com/blockscout/blockscout/pull/5312) - Add OpenZeppelin proxy storage slot
- [#5302](https://github.com/blockscout/blockscout/pull/5302) - Add specific tx receipt fields for the GoQuorum client
- [#5268](https://github.com/blockscout/blockscout/pull/5268), [#5313](https://github.com/blockscout/blockscout/pull/5313) - Contract names display improvement

### Fixes
- [#5528](https://github.com/blockscout/blockscout/pull/5528) - Token balances fetcher retry
- [#5524](https://github.com/blockscout/blockscout/pull/5524) - ContractState module resistance to unresponsive archive node
- [#5513](https://github.com/blockscout/blockscout/pull/5513) - Do not fill pending blocks ops with block numbers below TRACE_FIRST_BLOCK
- [#5508](https://github.com/blockscout/blockscout/pull/5508) - Hide indexing banner if we fetched internal transactions from TRACE_FIRST_BLOCK
- [#5504](https://github.com/blockscout/blockscout/pull/5504) - Extend TRACE_FIRST_BLOCK env var to geth variant
- [#5488](https://github.com/blockscout/blockscout/pull/5488) - Split long contract output to multiple lines
- [#5487](https://github.com/blockscout/blockscout/pull/5487) - Fix array displaying in decoded constructor args
- [#5482](https://github.com/blockscout/blockscout/pull/5482) - Fix for querying of the contract read functions
- [#5455](https://github.com/blockscout/blockscout/pull/5455) - Fix unverified_smart_contract function: add md5 of bytecode to the changeset
- [#5454](https://github.com/blockscout/blockscout/pull/5454) - Docker: Fix the qemu-x86_64 signal 11 error on Apple Silicon
- [#5443](https://github.com/blockscout/blockscout/pull/5443) - Geth: display tx revert reason
- [#5420](https://github.com/blockscout/blockscout/pull/5420) - Deduplicate addresses and coin balances before inserting to the DB
- [#5416](https://github.com/blockscout/blockscout/pull/5416) - Fix getsourcecode for EOA addresses
- [#5413](https://github.com/blockscout/blockscout/pull/5413) - Fix params encoding for read contracts methods
- [#5411](https://github.com/blockscout/blockscout/pull/5411) - Fix character_not_in_repertoire error for tx revert reason
- [#5410](https://github.com/blockscout/blockscout/pull/5410) - Handle exited realtime fetcher
- [#5383](https://github.com/blockscout/blockscout/pull/5383) - Fix reload transactions button
- [#5381](https://github.com/blockscout/blockscout/pull/5381), [#5397](https://github.com/blockscout/blockscout/pull/5397) - Fix exchange rate broadcast error
- [#5375](https://github.com/blockscout/blockscout/pull/5375) - Fix pending transactions fetcher
- [#5374](https://github.com/blockscout/blockscout/pull/5374) - Return all ERC-1155's token instances in tokenList api endpoint
- [#5342](https://github.com/blockscout/blockscout/pull/5342) - Fix 500 error on NF token page with nil metadata
- [#5319](https://github.com/blockscout/blockscout/pull/5319), [#5357](https://github.com/blockscout/blockscout/pull/5357), [#5425](https://github.com/blockscout/blockscout/pull/5425) - Empty blocks sanitizer performance improvement
- [#5310](https://github.com/blockscout/blockscout/pull/5310) - Fix flash on reload in dark mode
- [#5306](https://github.com/blockscout/blockscout/pull/5306) - Fix indexer bug
- [#5300](https://github.com/blockscout/blockscout/pull/5300), [#5305](https://github.com/blockscout/blockscout/pull/5305) - Token instance page: general video improvements
- [#5136](https://github.com/blockscout/blockscout/pull/5136) - Improve contract verification
- [#5285](https://github.com/blockscout/blockscout/pull/5285) - Fix verified smart-contract bytecode twins feature
- [#5269](https://github.com/blockscout/blockscout/pull/5269) - Address Page: Fix implementation address align
- [#5264](https://github.com/blockscout/blockscout/pull/5264) - Fix bug with 500 response on `partial` sourcify status
Expand All @@ -12,13 +74,34 @@
- [#5239](https://github.com/blockscout/blockscout/pull/5239) - Add accounting for block rewards in `getblockreward` api method

### Chore
- [#5506](https://github.com/blockscout/blockscout/pull/5506) - Refactor config files
- [#5480](https://github.com/blockscout/blockscout/pull/5480) - Remove duplicate of balances_params_to_address_params function
- [#5473](https://github.com/blockscout/blockscout/pull/5473) - Refactor daily coin balances fetcher
- [#5458](https://github.com/blockscout/blockscout/pull/5458) - Decrease min safe polling period for realtime fetcher
- [#5456](https://github.com/blockscout/blockscout/pull/5456) - Ignore arbitrary block details fields for custom Ethereum clients
- [#5450](https://github.com/blockscout/blockscout/pull/5450) - Logging error in publishing of smart-contract
- [#5433](https://github.com/blockscout/blockscout/pull/5433) - Caching modules refactoring
- [#5419](https://github.com/blockscout/blockscout/pull/5419) - Add check if address exists for some api methods
- [#5408](https://github.com/blockscout/blockscout/pull/5408) - Update websocket_client hex package
- [#5407](https://github.com/blockscout/blockscout/pull/5407) - Update hackney, certifi, tzdata
- [#5369](https://github.com/blockscout/blockscout/pull/5369) - Manage indexer memory limit
- [#5368](https://github.com/blockscout/blockscout/pull/5368) - Refactoring from SourcifyFilePathBackfiller
- [#5367](https://github.com/blockscout/blockscout/pull/5367) - Resolve Prototype Pollution in minimist dependency
- [#5366](https://github.com/blockscout/blockscout/pull/5366) - Fix Vyper smart-contract verification form tooltips
- [#5348](https://github.com/blockscout/blockscout/pull/5348) - Block data for Avalanche: pass blockExtraData param
- [#5341](https://github.com/blockscout/blockscout/pull/5341) - Remove unused broadcasts
- [#5318](https://github.com/blockscout/blockscout/pull/5318) - Eliminate Jquery import from chart-loader.js
- [#5317](https://github.com/blockscout/blockscout/pull/5317) - NPM audit
- [#5303](https://github.com/blockscout/blockscout/pull/5303) - Besu: revertReason support in trace
- [#5301](https://github.com/blockscout/blockscout/pull/5301) - Allow specific block keys for sgb/ava
- [#5295](https://github.com/blockscout/blockscout/pull/5295) - CI pipeline: build and push Docker image to Docker Hub on every release
- [#5290](https://github.com/blockscout/blockscout/pull/5290) - Bump ex_doc from 0.25.2 to 0.28.2
- [#5289](https://github.com/blockscout/blockscout/pull/5289) - Bump ex_abi from 1.5.9 to 1.5.11
- [#5288](https://github.com/blockscout/blockscout/pull/5288) - Makefile: find exact container by name
- [#5287](https://github.com/blockscout/blockscout/pull/5287) - Docker: modify native token symbol
- [#5286](https://github.com/blockscout/blockscout/pull/5286) - Change namespace for one of the SmartContractViewTest test
- [#5260](https://github.com/blockscout/blockscout/pull/5260) - Makefile release task to prerelease and release task
- [#5082](https://github.com/blockscout/blockscout/pull/5082) - Elixir 1.12 -> 1.13


## 4.1.2-beta
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,15 @@
<p align="center">Blockchain Explorer for inspecting and analyzing EVM Chains.</p>
<div align="center">

[![Blockscout](https://github.com/blockscout/blockscout/workflows/Blockscout/badge.svg?branch=master)](https://github.com/blockscout/blockscout/actions) [![Join the chat at https://gitter.im/poanetwork/blockscout](https://badges.gitter.im/poanetwork/blockscout.svg)](https://gitter.im/poanetwork/blockscout?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Blockscout](https://github.com/blockscout/blockscout/workflows/Blockscout/badge.svg?branch=master)](https://github.com/blockscout/blockscout/actions)

</div>

BlockScout provides a comprehensive, easy-to-use interface for users to view, confirm, and inspect transactions on EVM (Ethereum Virtual Machine) blockchains. This includes the POA Network, xDai Chain, Ethereum Classic and other **Ethereum testnets, private networks and sidechains**.
BlockScout provides a comprehensive, easy-to-use interface for users to view, confirm, and inspect transactions on EVM (Ethereum Virtual Machine) blockchains. This includes the POA Network, Gnosis Chain, Ethereum Classic and other **Ethereum testnets, private networks and sidechains**.

See our [project documentation](https://docs.blockscout.com/) for detailed information and setup instructions.

Visit the [POA BlockScout forum](https://forum.poa.network/c/blockscout) for FAQs, troubleshooting, and other BlockScout related items. You can also post and answer questions here.

You can also access the dev chatroom on our [Gitter Channel](https://gitter.im/poanetwork/blockscout).
For questions, comments and feature requests see the [discussions section](https://github.com/blockscout/blockscout/discussions).

## About BlockScout

Expand All @@ -22,7 +20,7 @@ Currently available full-featured block explorers (Etherscan, Etherchain, Blockc

## Supported Projects

BlockScout supports a number of projects. Hosted instances include POA Network, xDai Chain, Ethereum Classic, Sokol & Kovan testnets, and other EVM chains.
BlockScout supports a number of projects. Hosted instances include POA Network, Gnosis Chain, Ethereum Classic, Sokol & Kovan testnets, and other EVM chains.

- [List of hosted mainnets, testnets, and additional chains using BlockScout](https://docs.blockscout.com/for-projects/supported-projects)
- [Hosted instance versions](https://docs.blockscout.com/about/use-cases/hosted-blockscout)
Expand Down
31 changes: 31 additions & 0 deletions apps/block_scout_web/assets/__tests__/lib/autocomplete.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/**
* @jest-environment jsdom
*/

import { searchEngine } from '../../js/lib/autocomplete'

test('searchEngine', () => {
expect(searchEngine('qwe', {
'name': 'Test',
'symbol': 'TST',
'address_hash': '0x000',
'tx_hash': '0x000',
'block_hash': '0x000'
})).toEqual(undefined)

expect(searchEngine('tes', {
'name': 'Test',
'symbol': 'TST',
'address_hash': '0x000',
'tx_hash': '0x000',
'block_hash': '0x000'
})).toEqual('<div><div>0x000</div><div><b><mark class=\'autoComplete_highlight\'>Tes</mark>t</b> (TST)</div></div>')

expect(searchEngine('qwe', {
'name': 'qwe1\'"><iframe/onload=console.log(123)>${7*7}{{7*7}}{{\'7\'*\'7\'}}',
'symbol': 'qwe1\'"><iframe/onload=console.log(123)>${7*7}{{7*7}}{{\'7\'*\'7\'}}',
'address_hash': '0x000',
'tx_hash': '0x000',
'block_hash': '0x000'
})).toEqual('<div><div>0x000</div><div><b><mark class=\'autoComplete_highlight\'>qwe</mark>1&#039;&quot;&gt;&lt;iframe/onload=console.log(123)&gt;${7*7}{{7*7}}{{&#039;7&#039;*&#039;7&#039;}}</b> (<mark class=\'autoComplete_highlight\'>qwe</mark>1&#039;&quot;&gt;&lt;iframe/onload=console.log(123)&gt;${7*7}{{7*7}}{{&#039;7&#039;*&#039;7&#039;}})</div></div>')
})
12 changes: 12 additions & 0 deletions apps/block_scout_web/assets/__tests__/lib/utils.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* @jest-environment jsdom
*/

import { escapeHtml } from '../../js/lib/utils'

test('escapeHtml', () => {
expect(escapeHtml('<script>')).toEqual('&lt;script&gt;')
expect(escapeHtml('1&')).toEqual('1&amp;')
expect(escapeHtml('1"')).toEqual('1&quot;')
expect(escapeHtml('1\'')).toEqual('1&#039;')
})
26 changes: 23 additions & 3 deletions apps/block_scout_web/assets/css/components/_custom_tooltips.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,40 @@ $tooltip-background-color: $btn-line-color !default;
}
}

.custom-tooltip-header {
.tooltip-gas-tracker {
.tooltip-inner {
@media (min-width: 576px) {
max-width: 150px !important;
}
@media (min-width: 768px) {
max-width: 150px !important;
}
width: 150px !important;
}
}

.custom-tooltip {
font-family: Nunito, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.custom-tooltip.header {
font-size: 1.2em;
margin-bottom: 10px;
}

.custom-tooltip-total-transactions {
.custom-tooltip.total-transactions {
margin-top: 6px;
@media (min-width: 992px) {
margin-top: 9px;
}
}

.custom-tooltip-description {
.custom-tooltip.description {
width: 100%;
.left {
text-align: left;
}
.right {
text-align: right;
}
}
Loading