Tag:
Branch:
Tree:
master
1129
1129-2
522-improve-flaky-feature-tests
853-css-custom-properties
937-bugfix-filter-out-reorg-transactions
Claire
ab-add-block-number-transactions-index
ab-add-clause-for-transactions-with-indexed-creaded-code
ab-add-index-for-block-number-in-token-transfers
ab-add-index-on-type
ab-add-sorting-index-for-rewards
ab-add-unique-index-for-token-transfers
ab-allow-to-set-timeout-for-ws-blocks
ab-change-primary-key-for-internal-transactions
ab-coin-percentage-fix
ab-decrease-blocks-number-for-geth
ab-do-not-load-token-transfers-for-main-page
ab-do-not-remove-token-transfers
ab-increase-timeout-for-average-block-time-query
ab-limit-all-fetchers-for-geth
ab-logs-pending-ops
ab-new-block-fields
ab-not-filter-internal-transaction-older-than-128-blocks
ab-populate-block-hash-for-internal-transactions
ab-refresh-mintable-tokens
ab-reinsert-token-transfers
ab-remove-first-trace
ab-remove-pending-ops-on-invalidation
ab-transaction-count-db-level
ab-use-block-hash-instead-of-block-number
account
address-infinite-scroll
af-eip7702-addresses
af-eip7702-transactions
all-in-one-docker-image
ap-add-env-vars-for-tt-token-type-migration
ap-add-window-for-missing-balance-of-tokens-check
ap-allow-other-postgres-schemas
ap-db-denormalization
ap-db-denormalization-tem
ap-fix-internal-transaction-error
ap-fix-migrators-cache-updating
ap-fix-mode-env
ap-fix-token-transfers-consensus-update
ap-fix-txlist
ap-fix-ws-client-reconnect
ap-handle-nil-token-ids
ap-http-client-test
ap-main-page-event-handler
ap-null-round-support
ap-optimize-ctb-runner
ap-pending-transaction-operation
ap-refactor-import-stages
ap-switch-from-replica
ap-temp-fix-migration
ap-temp-trans-action-logs
ap-temporary-missing-ranges-fix
arb-l2-msg-claiming
arm-build-test
ayrat555/erc1155-support
besu-revert-reason
block-reorg-fixes
candidate-likelihood
catchup-block-interval-env
chainchad/dockerfile-nonroot-only
contract-code-sanitizer
dependabot/hex/briefly-a533393
dependabot/hex/dialyxir-1.4.4
dependabot/hex/logger_json-6.2.1
dependabot/hex/mox-1.2.0
dependabot/hex/phoenix-1.7.14
dependabot/hex/phoenix_html-3.3.3
dependabot/hex/phoenix_live_reload-1.5.1
dependabot/hex/tesla-1.13.2
dependabot/npm_and_yarn/apps/block_scout_web/assets/sass-loader-16.0.3
dev
docker-compose-changing-fe-port
dockerfile-nonroot-only
dont-delete-data-for-old-blocks
ens-support
feature/arbitrum/adjusted-txs-stats
feature/arbitrum/missing-fields-backfiller
fi-celo-epoch-transactions-csv-export
fi-compare-with-brindixer
fi-fix-duplicate-read-methods
fi-fix-missing-0x-prefix
fi-fix-missing-signers-field
fi-fix-skipped-read-methods
fi-fix-token-balance-fetcher
fi-zilliqa-scilla
filter-current-token-balances
filter-token-transfers-from-coin-balance-address-updates
fix-503-page
fix-address-contract-code-update
fix-contract-creation-transactions
fix-e2e-workflow
fix-install-chrome-headless
fix-missing-ranges-collector-test
fix-nonconsensus-pending-ops
fix-token-instance-fetcher
gettext-expirementing
gsf-async-load-token-transfers
gsf-more-async-more-loading-now-available-on-the-token-holders-page-near-your-address
gsf-validator-metadata
internal-transactions-fetcher-upgrade
kf-arm-build-test
kf-arm-build-test2
kf-fix-code-compiler-test
kf-fix-geth-revert-reasons
kf-fix-stuck-ci-cache
kf-jsonrpc-tests-without-matrix
kf-simplify-internal-transaction-queries
kf-switch-prometheus-to-hex
kf/chore/dockerfile-refactor
kf/feat/rework-indices
kf/perf/refactor-tx-decoding
limit-fetchers-init-tasks
limit-token-instance-retry-fetcher
master
master-1.3.12
master-before-merging-stake
master-staging
master-with-bridged-tokens
master-with-staking
mf-8807-example
mf-add-logs-contracts-queries
mf-add-polygon-edge-genesis-file
mf-add-prometheus-metrics-for-indexer
mf-add-tokens-sorting-test
mf-add-traceblockbynumber-to-trace-methods
mf-cspell-not-works-showcase
mf-cspell-works-showcase
mf-debug-base
mf-extend-INDEXER_MEMORY_LIMIT-env-parsing
mf-fix-account-api-keys
mf-fix-error-handling-eth-getbalance
mf-fix-polygon-edge
mf-fix-rootstock-data-fetcher
mf-fix-token-instances-preloads
mf-fix-vyper-multipart
mf-gas-price-oracle-base-priority
mf-implement-fetching-internal-txs-using-call-tracer
mf-init-mixpanel-and-amplitude-analytics
mf-l1-state-batch-size-counter
mf-only-health-webapp
mf-optimize-advanced-filters-2
mf-optimize-exchange-rates-requests-rate
mf-preload-example
mf-refactor-compile-time-envs-usage
mf-rootstock-tracing
mf-rootstock-widget
mf-xdai-fix-native-coin-exchange-rate
migration-to-react
no-merge/reduce-fetchers
np-add-coin-balance-trigger
np-add-is-verified-for-tokens
np-add-new-create-clause
np-add-new-index-to-speedup-indexing
np-add-new-pagination-to-address-page
np-add-readiness-and-liveness-probes
np-add-smart-contracts-name-index
np-add-switcher-for-nft-migrator
np-add-tab-counters-endpoint
np-add-verkle-images-demo
np-addresses-endpoint-performance
np-api-v2-performance-indexes
np-ban-nfts
np-cdn
np-change-nonce-field-type
np-create-filepath-backfiller
np-dbg-csv
np-ens-hf
np-fix-1155-metadata-indexer
np-fix-api-v2-pagination
np-fix-coin-balance-history-tx-absence
np-fix-copied-tooltip
np-fix-css-styles
np-fix-forever-pending-verification
np-fix-nft-media
np-fix-read-contract
np-fix-reverted-contract-creation
np-fix-smart-contracts-read
np-fix-sourcify-api-v2
np-fix-ui-logs-query
np-hf-account-watchlist
np-hf-cache-disabling
np-improve-contract-verification
np-improve-logs-and-inputs-decoding
np-improve-unverified-email-flow
np-indexer-handle-502
np-klaytn-style
np-metadata-new-endpoints
np-move-elasticity-multiplier-to-envs
np-mute-csrf-warn-experiment
np-new-main-page
np-optimism-debug-txs
np-patch-exchange-rates
np-raise-csv-limits-temp
np-search-api
np-sokol-pagination
np-sourcify-constructor-args
np-token-balances-refactoring
np-tracing
np-tune-verifier-logs
np-xdai-add-bridged-tokens-to-api-v2
nz-bs-indexer-eth-goerli-resources
nz-visualizer-cors
parallel-derive-current-token-balances
parallel-stages
pp-double-token-transfers-refetcher
pp-internal-transactions-number-refetcher
pp-internal-txs-pending-ops-temp
pp-missing-token-transfers-refetcher
pp-pending-block-ops
pp-pending-blocks-ops
production-aerum
production-aox
production-aox-stg
production-arbitrum
production-arbitrum-stg
production-base-goerli
production-base-goerli-stg
production-blackfort
production-callisto
production-celo
production-classic
production-classic-stg
production-core
production-core-stg
production-etc-kotti
production-etc-kotti-stg
production-etc-mordor
production-etc-mordor-stg
production-eth
production-eth-experimental
production-eth-experimental-old
production-eth-goerli
production-eth-goerli-stg
production-eth-sepolia
production-eth-sepolia-stg
production-eth-stg
production-eth-stg-2
production-eth-stg-experimental
production-filecoin
production-filecoin-stg
production-fuse
production-fuse-stg
production-gc-chiado
production-gc-chiado-stg
production-gc-optimism-stg
production-harmony-mainnet-shard-0
production-harmony-mainnet-shard-0-stg
production-harmony-mainnet-shard-0-stg-experiment
production-immutable-stg
production-iota
production-iota-stg
production-iota-stg-debug
production-klaytn
production-klaytn-stg
production-kovan
production-kovan-stg
production-lukso
production-lukso-stg
production-mainnet
production-mainnet-new
production-mainnet-new-refetchers
production-matic
production-moonbeam
production-neon
production-optimism
production-optimism-5.4.0
production-optimism-old
production-optimism-opcraft
production-optimism-opcraft-stg
production-optimism-stg
production-optimism-stg-debug
production-optimism-stg-rebase
production-polygon-edge-stg
production-polygon-supernets
production-polygon-supernets-stg
production-posdao
production-qdai
production-qdai-stg
production-redstone
production-rinkeby
production-ropsten
production-rsk
production-rsk-stg
production-rsk-stg-debug
production-scroll
production-shibarium
production-sokol
production-sokol-stg
production-stability-stg
production-stability-stg-debug
production-suave-stg
production-withdrawals
production-withdrawals-stg
production-xdai
production-xdai-clean
production-xdai-customized
production-xdai-rebase
production-xdai-stg
production-xdai-stg-debug
production-xusdt
production-zetachain
production-zilliqa
production-zkevm
production-zkevm-stg
production-zksync
production-zksync-stg
qemu-build
remove-block-consensus-on-import-fail
remove-deriving-current-token-balances
remove-sync-token-holders-update
remove-token-balances-deleting
replace-posdao-variables
revert-2843-ab-fix-small-skips-feature
revert-7965-dependabot/npm_and_yarn/apps/block_scout_web/assets/webpack-5.88.2
rimrakhimov-fix-nethermind-yaml-readme
sa-1189-realtime-no-skips-bug
sa-turn-off-invalidconsensus-checker
sa-uncataloged-token-transfers-with-nil-block-numbers
separated-api
sequential-addresses-stage
snyk-upgrade-13736d3a13841dd2d5f5fc7133ff67f1
split-range-on-catchup-fail
stable-1.0
staging
staging-filter-addresses-before-insertion
staging-l2
staging-mainnet
staging-mainnet-stg
staging-mainnet-stg-experiment
staking
staking-before-rebase
staking-debug
staking-fix-pool-filters
staking-fix-ui
staking-fix-ui-bugs
staking-fix-ui-mobile
staking-fix-ui-theme
staking-latest
staking-rebased
staking-replace-dummy-text
staking-restrict-networks
staking-wallet-connect-integration
temp-blocks-in-order
test-new-armbuilders
test_branch
token-balance-on-demand-include-unfetched
token-symbol
token-total-supply-updater
transactions-history
ulyanas-patch-1
ulyanas-patch-2
update-deps-last
use-chrome-headless-#403
v1.3.12-beta
v1.3.13-beta
v1.3.14-beta
v1.3.15-beta
v1.3.16-beta
v5.4.0-beta-custom
v6.0.0-dev
v6.9.1
vb-add-contract-association
vb-address-badges
vb-address_to_logs_query-performance
vb-addresses-import-in-parallel
vb-airtable-proxy
vb-api-cors-management
vb-api-v2-check-base_fee_per_gas-for-pending
vb-api-v2-check-base_fee_per_gas-for-pending-tx
vb-aquire-tokens-for-update-rollback
vb-asc-indices
vb-async-get-block-rewards
vb-autocomplete-alternative
vb-beacon-proxy-missing-expection-fix
vb-besu-support
vb-block-rewards-block-number
vb-change-log-topic-type
vb-clones-with-immutable-arguments
vb-coin-banace-daily-block-timestamp-fxi
vb-coingecko-change-token-image-attribute-priority
vb-consensus-timestamp-in-transaction
vb-current-token-balances-fetcher-full
vb-defillama-tvl-source
vb-define-default-port
vb-detect-unverified-diamond-proxy
vb-diamond-proxy
vb-disable-ondemand-token-balance-fetcher
vb-docker-compose-external-backend
vb-docker-compose2_24_6-compatibility
vb-docker-connect-to-exisiting-db
vb-dockerfile-nonroot-only
vb-downgrade-hackney
vb-drop-unused-actb-indexes
vb-eliminate-checksum-function-env
vb-erc1155-unnamed-tokens
vb-exclude-preloads-in-user-ops-lists
vb-exclude-system-transactions-from-replaced-txs-indexer
vb-first-topic-to-separate-table
vb-first-trace-on-demand-temp
vb-fix-base-instance-errors
vb-fix-block-reward-in-api
vb-fix-clique
vb-fix-decoding
vb-fix-docker-compose-auth-path
vb-fix-empty-gas-price-in-pending-tx
vb-fix-indexer-error-status
vb-fix-issue-template
vb-fix-performance-coin-balance-history
vb-fix-preload-additional-sources-at-bytecode-twin
vb-fix-scam-badge-status
vb-fix-token-balances-collection-for-burn-address
vb-get-implemetation-proxy-pattern
vb-graphql-default-transaction
vb-graphql-req-size-limit
vb-handle-nethermind-trace-nil-type
vb-inactive-pools-description
vb-index-for-refetch-needed
vb-index-to-speedup-aquiring-pbo
vb-insecure-http-connection
vb-internal-transactions-list
vb-internal-txs-api-v2-endpoint-perf-workaround
vb-invalidate-blocks-at-token-balance-update-failed
vb-ipfs-links-better-detection
vb-ipfs-links-better-detection-light
vb-metadata-from-base-uri
vb-migrate-to-phoenix-1-6
vb-moonbeam-support
vb-multichain-search
vb-next-page-params-missing-clause
vb-nft-collection-trigger-metadata-refetch-admin-api-endpoint
vb-no-missing-blocks-in-ui
vb-open-ability-to-refetch-metadata-for-instances-without-metadata
vb-optimize-webpack-js-bundle-compilation
vb-persistent-token-holders
vb-production-withdrawals
vb-production-withdrawals-stg
vb-refactor-docker-compose
vb-refine-token-ids-index
vb-remove-comments-in-js-tracer
vb-remove-comments-in-tracer-js
vb-remove-stg-suffix
vb-rollback-union-for-address-intenral-txs
vb-routes-fix
vb-save-proxy-type
vb-set-ssl_opts-in-runtime-config
vb-single-docker-image
vb-solidityscan-support
vb-speedup-load-current-token-balances
vb-split-address-current-token-balances-split
vb-split-js
vb-staking-actualize-2
vb-table-partitioning
vb-test-deadlocks
vb-token-id-in-tokenlist
vb-token-instance-retry-batch
vb-token-tansfer-eliminate-from-query
vb-token-transfers-perf
vb-top-tokens-page-tx-count
vb-vb-address-badges-new-is-scam-flag
vb-wobserver-optional
wobserver-customization
wsa-implement-emission-reward-tile
wsa-jason-decode-error
v1.0-beta
v1.0.1-beta
v1.1.0-beta
v1.2.0-beta
v1.2.1-beta
v1.3.0-beta
v1.3.1-beta
v1.3.10-beta
v1.3.11-beta
v1.3.12-beta
v1.3.13-beta
v1.3.14-beta
v1.3.15-beta
v1.3.2-beta
v1.3.3-beta
v1.3.4-beta
v1.3.5-beta
v1.3.6-beta
v1.3.7-beta
v1.3.8-beta
v1.3.9-beta
v2.0.0-beta
v2.0.1-beta
v2.0.2-beta
v2.0.3-beta
v2.0.4-beta
v2.1.0-beta
v2.1.1-beta
v3.0.0-beta
v3.1.0-beta
v3.1.1-beta
v3.1.2-beta
v3.1.3-beta
v3.2.0-beta
v3.3.0-beta
v3.3.1-beta
v3.3.2-beta
v3.3.3-beta
v3.4.0-beta
v3.5.0-beta
v3.5.1-beta
v3.6.0-beta
v3.7.0-beta
v3.7.1-beta
v3.7.2-beta
v3.7.3-beta
v4.0.0-beta
v4.1.0-beta
v4.1.1-beta
v4.1.2-beta
v4.1.3-beta
v4.1.4-beta
v4.1.5-beta
v4.1.6-beta
v4.1.7-beta
v4.1.8-beta
v5.0.0-beta
v5.1.0-beta
v5.1.1-beta
v5.1.2-beta
v5.1.3-beta
v5.1.4-beta
v5.1.5-beta
v5.2.0-beta
v5.2.1-beta
v5.2.2-beta
v5.2.3-beta
v5.3.0-beta
v5.3.1-beta
v5.3.2-beta
v5.3.3-beta
v5.4.0-beta
v6.0.0-beta
v6.1.0-beta
v6.2.0-beta
v6.2.1-beta
v6.2.2-beta
v6.3.0-beta
v6.4.0-beta
v6.5.0-beta
v6.6.0-beta
v6.7.0-beta
v6.7.1-beta
v6.7.2-beta
v6.8.0-beta
v6.8.1-beta
v6.9.0-beta
v6.9.1-beta
${ noResults }
42 Commits (master)
Author | SHA1 | Message | Date |
---|---|---|---|
Fedor Ivanov |
0dfd4c6ca2
|
feat: zilliqa consensus data related to block (#10699)
* refactor: DRY declaration of chain type and feature dependent repos * feat: add `:zilliqa` chain type * chore: add `zilliqa` to cspell.json * feat: import consensus data related to block * fix: cspell * fix: ethereum_jsonrpc tests * fix: format & credo * feat: render consensus data in `/api/v2/blocks/:block_hash_or_number` response * fix: add missing `view` field to block db schema * feat: add workflow to publish docker image * fix: cast `zilliqa_view` field of a block * refactor: view * refactor: define spec only once * refactor: DRY definition of other repos * fix: remove not null constraint for `zilliqa_view` * fix: dialyzer * fix: `@spec` for `chain_type_fields/2` * feat: github workflows * fix: debug * fix: add missing indexer and API workflows |
2 weeks ago |
varasev |
eafe7c8b3b
|
feat: Scroll rollup: L1 fee parameters in API, `queueIndex` for L2 transactions, and L1 <->L2 messages (#10484)
* Add chain type for scroll and l1_fee tx field * l1_fee_scalar and l1_fee_overhead fields in api json output for tx * l2_fee field in api json output for tx * l1_gas_used field in api json output for tx * l1_fee_commit_scalar, l1_fee_blob_scalar, l1_base_fee, l1_blob_base_fee fields in api json output for tx * Partially add specs and docs * Add code specs and docs for Indexer.Fetcher.Scroll.L1FeeParam * Add code specs and docs * Small fix * Add CI matrix chain type * Fix spelling * Rename envs * Update common-blockscout.env * Small fixes * Improve scroll_view.ex * Update scroll_view.ex * Add support of queueIndex field for L1MessageTx in Scroll * Fix for mix credo * Add scroll_bridge db table * Add Scroll bridge messages indexing * Add Indexer.Transform.Scroll.Bridge * Refactoring * Add API for Scroll * Ignore credo warning about nesting level * Add specs and docs * Refactoring * Partially cover review comments * Add some specs and docs * Add GA workflows for scroll * Small refactoring * Add to_import for Explorer.Chain.Scroll.Bridge * Small refactoring * Add specs and docs * Add comments * Add Explorer.Chain.RollupReorgMonitorQueue module * Add sobelow_skip * Add INDEXER_SCROLL_ETH_GET_LOGS_RANGE_SIZE env variable * Update common-blockscout.env * Small refactoring * Add links about Curie upgrade * Small improvement * Small refactoring * Separate db query * Move chain type specific import runners from BlockReferencing to ChainTypeSpecific stage * Add draft indexer for Scroll batches * Add API for Scroll batches * Extend API for Scroll batches * Refactoring * Update common-blockscout.env * Add specs and docs * Remove misprint * Fixes * Small improvement * Refactoring * Refactoring * Refactoring * Refactoring for credo * Partially cover review comments * Add l2_block_status to transaction view for Scroll * RollupL1ReorgMonitor refactoring * Extend docs * Small refactoring of last_l2_block_number function * Extend docs * Extend docs * Fix typo * mix format * Extend docs * Extend docs * Separate eth_getLogs block range size config * Small refactoring * Add comment * Add comments * Optimization * Small optimization * Use Ecto.Multi * Extend docs * Change API response for Scroll batches * Change API response format for Scroll bridge messages * Small refactoring * Update apps/indexer/lib/indexer/transform/scroll/l1_fee_params.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/l1_fee_param.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/l1_fee_param.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/l1_fee_param.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/explorer/lib/explorer/chain/scroll/reader.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/explorer/lib/explorer/chain/scroll/reader.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/explorer/lib/explorer/chain/scroll/bridge.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/explorer/lib/explorer/chain/scroll/batch.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/explorer/lib/explorer/chain/scroll/batch_bundle.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/bridge.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/batch.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/batch.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/batch.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/fetcher/scroll/batch.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Small refactoring * Extend docs * Update apps/explorer/lib/explorer/chain/scroll/reader.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/indexer/lib/indexer/helper.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/explorer/lib/explorer/chain/scroll/reader.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Update apps/explorer/lib/explorer/chain/scroll/reader.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * Improve specs * Update apps/explorer/lib/explorer/chain/scroll/reader.ex Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> * fix * mix format * Add DA container info for Scroll batches * Fallback INDEXER_SCROLL_L2_MESSENGER_START_BLOCK to FIRST_BLOCK * mix format * Remove redundant lines * Use multi update_all * rename "tx" shorthands --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com> Co-authored-by: Alexander Kolotov <alexandr.kolotov@gmail.com> |
1 month ago |
nikitosing |
629620bc52
|
feat: Add Blackfort validators (#10744)
* feat: Add Blackfort validators * Finishing touches * Add missing specs, docs, pre-release workflow for Blackfort * Remove blocks_validated --------- Co-authored-by: Victor Baranov <baranov.viktor.27@gmail.com> |
2 months ago |
Qwerty5Uiop |
5d98e8ba33
|
chore: Shrink internal transactions (#10567)
* chore: Shrink internal transactions * Optimize shrink internal transactions migration * Shrink internal transactions refactoring * Fix internal transactions input shrink * Update apps/explorer/lib/explorer/migrator/shrink_internal_transactions.ex Co-authored-by: Victor Baranov <baranov.viktor.27@gmail.com> * Update apps/ethereum_jsonrpc/lib/ethereum_jsonrpc.ex Co-authored-by: Victor Baranov <baranov.viktor.27@gmail.com> * Shrink internal transactions function docs --------- Co-authored-by: Victor Baranov <baranov.viktor.27@gmail.com> |
3 months ago |
Maxim Filonov |
4fbbb3f4b1
|
feat: Add icon for secondary coin (#10241)
|
3 months ago |
Fedor Ivanov |
6c07246446
|
feat: support for `:celo` chain type (#10564)
* feat: indexing of Celo transactions (#10275) * feat(json-rpc): support celo-specific fields in transactions * chore: add new chain type to matrix builder * feat: add celo-specific fields to transactions schema * chore: add "celo" to `cspell.json` * chore: fix formatting * refactor: improve naming for celo fields and ignore `ethCompatible` field * chore: add block fetcher test for celo fields * feat: add celo core contract abis * feat: add a cache for core celo contracts * feat: treat celo native token transfers as token transfers * fix: update `cspell.json` with celo words * fix(dialyzer): pattern can never match the type * fix: update `cspell.json` with celo words * feat: move `CELO_NETWORK` env to config * feat: parse native Celo token transfers from internal transactions * feat: add token balances fetching * refactor: remove `dbg` and organize code better * fix: start TokenBalance fetcher * fix: start token balance fetcher * fix: typo in log message * fix: missing fields in celo transaction token transfer * refactor: remove `AbiHandler` in favour of hardcoded pieces of abi * refactor: native token transfers from internal transactions fether * feat: implement parsing of token transfers for traceable rpc node * feat: fetch address coin balances after erc20 celo token transfers * feat: add `gas_token` to transaction response in api v2 * feat: index tokens specified as `feeCurrency` * chore: fix credo warnings * chore: decrease log level to debug * chore: fix cspell warnings * refactor: apply suggestions * fix: handle case when `gas_token` is not loaded * dbg * chore: expect contract calls in celo fetcher test * fix: compile errors for celo view on default chain type * chore: remove unused import * refactor: move `celo_gas_tokens` to chain type imports * refactor: apply suggestions * fix: swap arguments in `put_if_present` * fix: indexer tests * refactor: always include `gas_token` to the response * feat: add `gas_token` to all transaction-related endpoints * feat: celo core contracts with historical data * fix: `uncles` field is expected but not present in RPC node response * fix: credo & format * fix: define `CELO_CORE_CONTRACTS` in tests * fix: put `gas_token` under `celo` section * refactor: move token transfers filtering from `TokenTotalSupplyUpdater` to `Transform.TokenTransfers` * feat: add workflow to publish docker image * refactor: apply suggestions by @nikitosing * chore: add docs and specs * fix: malformed import * fix: publish image for celo * fix: ci build for celo * feat: index celo epoch transactions (#9944) * feat(json-rpc): support celo-specific fields in transactions * chore: add new chain type to matrix builder * feat: add celo-specific fields to transactions schema * chore: add "celo" to `cspell.json` * chore: fix formatting * refactor: improve naming for celo fields and ignore `ethCompatible` field * chore: add block fetcher test for celo fields * feat: add celo core contract abis * feat: add a cache for core celo contracts * feat: treat celo native token transfers as token transfers * fix: update `cspell.json` with celo words * fix(dialyzer): pattern can never match the type * fix: update `cspell.json` with celo words * feat: move `CELO_NETWORK` env to config * feat: parse native Celo token transfers from internal transactions * feat: add token balances fetching * refactor: remove `dbg` and organize code better * fix: start TokenBalance fetcher * fix: start token balance fetcher * fix: typo in log message * fix: missing fields in celo transaction token transfer * refactor: remove `AbiHandler` in favour of hardcoded pieces of abi * refactor: native token transfers from internal transactions fether * feat: implement parsing of token transfers for traceable rpc node * feat: fetch address coin balances after erc20 celo token transfers * feat: add `gas_token` to transaction response in api v2 * feat: index tokens specified as `feeCurrency` * chore: fix credo warnings * chore: decrease log level to debug * chore: fix cspell warnings * refactor: apply suggestions * fix: handle case when `gas_token` is not loaded * dbg * chore: expect contract calls in celo fetcher test * fix: compile errors for celo view on default chain type * chore: remove unused import * refactor: move `celo_gas_tokens` to chain type imports * refactor: apply suggestions * fix: swap arguments in `put_if_present` * fix: indexer tests * refactor: always include `gas_token` to the response * feat: add `gas_token` to all transaction-related endpoints * feat: celo core contracts with historical data * fix: `uncles` field is expected but not present in RPC node response * fix: credo & format * fix: define `CELO_CORE_CONTRACTS` in tests * fix: put `gas_token` under `celo` section * refactor: move token transfers filtering from `TokenTotalSupplyUpdater` to `Transform.TokenTransfers` * feat: add workflow to publish docker image * refactor: apply suggestions by @nikitosing * chore: add docs and specs * fix: malformed import * feat: add pending epoch operations table * refactor: fix format * feat: add transformers for epoch events * feat: add query to stream pending epoch block operations * fix: call to renamed function * fix: add factory method for pending epoch block operation * feat: add utils for logs parsing * feat: add schemas for epoch rewards and election rewards * fix: rename transformer according to event name * feat: implement epoch rewards fetcher * feat: fetch and import epoch logs * feat: improve epoch rewards fetcher 1. Do not fetch logs -- use the ones stored in DB 2. Import epochs to the database 3. Configure fetcher in runtime.exs * feat: add epoch helper functions * activated_validator_group_vote.ex * feat: add task to fetch core contracts * feat: fetch core contract events in the task * fix: merge artifacts * refactor: logs requests and reduce scope of epoch logs request * chore: fix formatting, credo warning, etc. * feat: fetch epoch rewards in one sql query * feat: fetch validator group votes (historical data and on demand) * refactor: rename fields and replace all entries on conflict * feat: validator group votes fetcher * fix: put each topic in a separate request * feat: fetch voter rewards * refactor: split epoch fetcher to multiple modules * feat: send epoch blocks for async fetching from block fetcher * chore: fix credo and formatting issues * fix: dialyzer warnings * fix: add on demand fetch of group votes * fix: failed explorer and indexer tests * fix: block fetcher tests * fix: match error in epoch logs * feat: add env to manage logs batch size when fetching validator group votes * fix: Add `ssl_opts` for Celo repo * fix: add `disabled?` predicate to supervisor config * fix: return empty list when `getPaymentDelegation` is not available * fix: validate the case when there is no voter rewards for an epoch * fix: formatting * fix: import `put_if_present/3` * fix: do not treat genesis block as an epoch block * fix: some of the fetcher tests * dbg * chore: remove commented code * chore: canonical disable flag env name * fix: run test only for celo chain type * fix: add explicit `wait_ for_tasks` in token instance realtime test * fix: set missing `CELO_CORE_CONTRACTS` env * fix: rollback token instance realtime test * chore: remove debug artifact * chore: add docs for new tables * perf: remove unused fields from `celo_validator_group_votes` table * fix: add on_exit clause * refactor: use `remove/3` function for migration rollback possibility * refactor: extract celo core contracts environment variable setup into a separate function * chore: add new vars to `common-blockscout.env` file * chore: add specs and docs for new modules and functions * refactor: eliminate unused import warnings * fix: credo warning * feat: API for celo epoch rewards and fees breakdown (#10308) * feat(json-rpc): support celo-specific fields in transactions * chore: add new chain type to matrix builder * feat: add celo-specific fields to transactions schema * chore: add "celo" to `cspell.json` * chore: fix formatting * refactor: improve naming for celo fields and ignore `ethCompatible` field * chore: add block fetcher test for celo fields * feat: add celo core contract abis * feat: add a cache for core celo contracts * feat: treat celo native token transfers as token transfers * fix: update `cspell.json` with celo words * fix(dialyzer): pattern can never match the type * fix: update `cspell.json` with celo words * feat: move `CELO_NETWORK` env to config * feat: parse native Celo token transfers from internal transactions * feat: add token balances fetching * refactor: remove `dbg` and organize code better * fix: start TokenBalance fetcher * fix: start token balance fetcher * fix: typo in log message * fix: missing fields in celo transaction token transfer * refactor: remove `AbiHandler` in favour of hardcoded pieces of abi * refactor: native token transfers from internal transactions fether * feat: implement parsing of token transfers for traceable rpc node * feat: fetch address coin balances after erc20 celo token transfers * feat: add `gas_token` to transaction response in api v2 * feat: index tokens specified as `feeCurrency` * chore: fix credo warnings * chore: decrease log level to debug * chore: fix cspell warnings * refactor: apply suggestions * fix: handle case when `gas_token` is not loaded * dbg * chore: expect contract calls in celo fetcher test * fix: compile errors for celo view on default chain type * chore: remove unused import * refactor: move `celo_gas_tokens` to chain type imports * refactor: apply suggestions * fix: swap arguments in `put_if_present` * fix: indexer tests * feat: add pending epoch operations table * feat: add several celo core contracts * refactor: fix format * feat: add new core contract default addresses * feat: add transformers for epoch events * feat: add query to stream pending epoch block operations * fix: call to renamed function * fix: add factory method for pending epoch block operation * feat: add utils for logs parsing * feat: add schemas for epoch rewards and election rewards * fix: rename transformer according to event name * feat: implement epoch rewards fetcher * feat: fetch and import epoch logs * feat: improve epoch rewards fetcher 1. Do not fetch logs -- use the ones stored in DB 2. Import epochs to the database 3. Configure fetcher in runtime.exs * fix: remove duplicated module attribute * feat: add epoch helper functions * activated_validator_group_vote.ex * feat: tmp * refactor: always include `gas_token` to the response * feat: add `gas_token` to all transaction-related endpoints * feat: celo core contracts with historical data * fix: `uncles` field is expected but not present in RPC node response * fix: credo & format * fix: define `CELO_CORE_CONTRACTS` in tests * fix: put `gas_token` under `celo` section * refactor: move token transfers filtering from `TokenTotalSupplyUpdater` to `Transform.TokenTransfers` * feat: add workflow to publish docker image * refactor: apply suggestions by @nikitosing * chore: add docs and specs * fix: malformed import * feat: add pending epoch operations table * refactor: fix format * feat: add transformers for epoch events * feat: add query to stream pending epoch block operations * fix: call to renamed function * fix: add factory method for pending epoch block operation * feat: add utils for logs parsing * feat: add schemas for epoch rewards and election rewards * fix: rename transformer according to event name * feat: implement epoch rewards fetcher * feat: fetch and import epoch logs * feat: improve epoch rewards fetcher 1. Do not fetch logs -- use the ones stored in DB 2. Import epochs to the database 3. Configure fetcher in runtime.exs * feat: add epoch helper functions * activated_validator_group_vote.ex * feat: add task to fetch core contracts * feat: fetch core contract events in the task * fix: merge artifacts * refactor: logs requests and reduce scope of epoch logs request * chore: fix formatting, credo warning, etc. * feat: fetch epoch rewards in one sql query * feat: fetch validator group votes (historical data and on demand) * refactor: rename fields and replace all entries on conflict * feat: validator group votes fetcher * fix: put each topic in a separate request * feat: fetch voter rewards * fix: merge artifacts * feat: add epoch rewards in block api response * fix: merge artifacts * feat: add base fee breakdown in block api response * feat: add aggregated election rewards to block api response * perf: use replica when querying epoch rewards * feat: endpoint for paginated election rewards * feat: endpoint for paginated election rewards for address * chore: rename `rewards` to `distributions` * fix: add missing reward type to API error message * refactor: split epoch fetcher to multiple modules * feat: send epoch blocks for async fetching from block fetcher * chore: fix credo and formatting issues * fix: dialyzer warnings * fix: add on demand fetch of group votes * fix: failed explorer and indexer tests * fix: block fetcher tests * chore: remove unused module * fix: sort election rewards by block number * fix: match error in epoch logs * feat: add env to manage logs batch size when fetching validator group votes * fix: credo and formatting warnings * fix: cspell errors * fix: dialyzer errors * fix: Add `ssl_opts` for Celo repo * fix: add missing preloads and make more explicit api response for block * fix: add `disabled?` predicate to supervisor config * fix: return empty list when `getPaymentDelegation` is not available * fix: validate the case when there is no voter rewards for an epoch * fix: formatting * fix: add missing preload * refactor: more robust fees breakdown logic for the case of fee handler * fix: formatting * refactor: move epoch information to the separate endpoint * fix: import `put_if_present/3` * fix: formatting * fix: do not treat genesis block as an epoch block * fix: some of the fetcher tests * dbg * chore: remove commented code * chore: canonical disable flag env name * fix: run test only for celo chain type * fix: add explicit `wait_ for_tasks` in token instance realtime test * fix: set missing `CELO_CORE_CONTRACTS` env * fix: rollback token instance realtime test * chore: remove debug artifact * chore: add `@docs` and `@specs` * fix: missing core contracts var in tests * feat: extend `tabs-counters` endpoint with election rewards count * refactor: move dead address to `Explorer.Chain.SmartContract` * perf: clause with simplified queries in the case of `amount == 0` and/or `block_number == 0` * fix: it comes that `NotLoaded` clause is not redundant actually... * fix: add missing preload in `BlockScoutWeb.AddressChannel` * chore: unset `CELO_CORE_CONTRACTS` in tests * chore: add missing specs * fix: `paginate` clause when `amount == 0` * refactor: move `paging_options/2` to `Explorer.Chain.Celo.ElectionReward` * refactor: avoid using virtual field for block number. * fix: remove redundant condition in the query * chore: clarify `@spec` * chore: fix credo warning * chore: remove `fi-celo` from branches that trigger ci * fix: merge artifacts * fix: remove todo comment |
4 months ago |
Qwerty5Uiop |
0e7f09a5f0
|
fix: Add a separate db url for events listener (#10164)
|
6 months ago |
Alexander Kolotov |
35c885def5
|
feat: indexer for cross level messages on Arbitrum (#9312)
* Initial version of x-level messages indexer * fixes for cspell and credo * new state of x-level messages * Monitoring of new L1-to-L2 messages on L1 * new batches discovery * fetcher workers in separate modules * proper name * Fix for responses without "id", e.g. "Too Many Requests" * update DB with new batches and corresponding data * update DB with confirmed blocks * fixes for cspell and credo * tracking commitments confirmations for L1 to L2 messages * Proper usign of max function * tracking completion of L2 to L1 messages * catchup historical messages to L2 * incorrect version of committed file * catchup historical messages from L2 and completion of L1-to-L2 messages * historical batches catchup * status for historical l2-to-l1 messages * address matching issue * catchup historical executions of L2-to-L1 messages * db query to find unconfirmed blocks gaps * first changes to catchup historical confirmations * finalized catchup of historical confirmations * 4844 blobs support * fix for the issue with multiple confirmations * limit amount of batches to handle at once * Use latest L1 block by fetchers if start block is not configured * merge issue fix * missed file * historical messages discovery * reduce logs severity * first iteration to improve documentation for new functionality * second iteration to improve documentation for new functionality * third iteration to improve documentation for new functionality * fourth iteration to improve documentation for new functionality * fifth iteration to improve documentation for new functionality * final iteration to improve documentation for new functionality * merge issues addressed * code review issues addressed * code review issues addressed * fix merge issue * raising exception in the case of DB inconsistency * fix formatting issue * termination case for RollupMessagesCatchup * code review comments addressed * code review comments addressed * consistency in primary keys * dialyzer fix * code review comments addressed * missed doc comment * code review comments addressed * updated indices creation as per code review comments * fix merge issue * configuration of intervals as time variables * TODO added to reflect improvement ability * database fields refactoring * association renaming * feat: APIv2 endpoints for Arbitrum messages and batches (#9963) * Arbitrum related info in Transaction and Block views * Views to get info about batches and messages * usage of committed for batches instead of confirmed * merge issues addressed * changes after merge * formatting issue fix * code review comment addressed * associations and fields in api response renamed * format issue addressed * feat: Arbitrum-specific fields in the block and transaction API endpoints (#10067) * Arbitrum related info in Transaction and Block views * Views to get info about batches and messages * usage of committed for batches instead of confirmed * merge issues addressed * changes after merge * formatting issue fix * block and transaction views extended * code review comment addressed * associations and fields in api response renamed * format issue addressed * fix credo issue * fix tests issues * ethereumjsonrpc test fail investigation * test issues fixes |
6 months ago |
Kirill Fedoseev |
fb4fde678d
|
feat: MUD API support (#9869)
* feat: mud support * chore: fix ci warnings * feat: skip missing schemas * ci: build redstone image * chore: fix dialyzer * chore: remove noop migration * feat: full-text table search * fix: don't show deleted records * fix: type specs and dializer fixes * feat: checksum addresses * fix: handle invalid params * chore: add missing envs |
7 months ago |
Maxim Filonov |
dea361d56f
|
Add secondary coin and transaction stats (#9483)
* Add volume_24h * Add secondary coin and transactions stats * Process review comments * Allow different source for secondary coin * Fix exchange_rates_secondary_coin_price_source --------- Co-authored-by: Nikita Pozdniakov <nikitosing4@mail.ru> |
8 months ago |
Alexander Kolotov |
51d82f1dbf
|
zksync chain type support (#9631)
* zkSync customizations * Insert placeholders instead of deriving current token balances * ZkSync Batches status tracking (#9080) * initial version of batch tracking * missed file added * attempt to add DB migration * Finalized L1 txs tracking * keep batches in DB * Batches statuses tracker introduction * rpc endponts to get batches data * extended views for blocks and transactions * Refactoring of fetchers * Fetch historical blocks * handle_info calls simplified * Ability to recover missed blocks * zksync info in a separate sub-map * added doc comments, part 1 * finalized doc comments * actual bathes count instead of the last imported batch * fix formatting * credo fixes * Address dialyzer warnings * Fix spelling * remaining issues with spelling and dialyzer * Attempt to address BlockScout Web Tests issue * review comments addressed, part 1 * review comments addressed, part 2 * collection all_options for import module reworked to get rid of dialyzer findings * removed unnecessary functionality * proper import * Credo fixes * Add CHAIN_TYPE=zksync to image generation workflow * Proper handling of empty transactions list in etc_getBlockByNumber * Merge master * Address merge issues * Fix format * Refactoring of chain type specific code for block and transaction views * Consistent name for functions * add exceptions for Credo.Check.Design.AliasUsage * Fix rebasing conflicts * Fix rebase conflicts * fix issue with stability fees in tx view * make Stability related tests dependent on chain type in compile time * move zksync related migration * Changelog updated * removal of duplicated migration * List r,s,v as optional attributes for transaction --------- Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com> Co-authored-by: Qwerty5Uiop <alex000010@bk.ru> |
8 months ago |
nikitosing |
546b732ac1
|
Add stability validators (#9390)
* Add stability validators * Process review comments * Fix tests |
9 months ago |
Victor Baranov |
9819522ea1
|
Optimism chain type (#9460)
* Transaction page L1 fields * Path fix * Reduce the number of files from 19 to 5 in logs rotate config * Customize optimism-goerli deployment * Optimism branding * Remove testnet logo text. OG uses customized label * Fix Circles theme * L1 tx fields fix for Optimism BedRock update * Remove redundant line * Add gas_price handling for elixir_to_params and change function ordering * Remove l1TxOrigin handling for another version of RPC * Add GA * Fix realtime fetcher test * Update Changelog * Fix internal transactions processing for non-consensus blocks * Lose consensus only for consensus=true blocks * Fix handling transaction RPC responses without some fields * Fix tests except for indexer module * Add Optimism BedRock support (Txn Batches, Output Roots, Deposits, Withdrawals) (#6980) * Add op_output_roots table * Add OptimismOutputRoots runner * Add initial code for output roots fetcher * Add checks to init function * Partially add logs and L1 reorgs handling * Add reorgs handling * Add RPC retries * Write output roots to database * Log output roots handling * Update indexer README * Add API v2 for Optimism Output Roots * Add op_withdrawals table * Add OptimismWithdrawals runner * Prepare realtime optimism withdrawals fetching * Add realtime optimism withdrawals fetching * Define checks in init function * log.first_topic can be nil * Show total count of output roots in API v2 * Add msg_nonce gaps filler * Refactoring * Intermediate refactoring * Add historical withdrawals handling and refactor * Finish op_withdrawals table filling * Small refactoring * Add op_withdrawal_events table * Add OptimismWithdrawalEvents runner * Add OptimismWithdrawalEvent fetcher * Update indexer README * Add API v2 for Optimism Withdrawals * Add env variables to common-blockscout.env and Makefile * Set `from` as address object instead of just address hash for withdrawal * mix format * Add op_transaction_batches table * Add OptimismTxnBatches runner * Add a draft for OptimismTxnBatch fetcher * Add a draft for OptimismTxnBatch * Extend a draft for OptimismTxnBatch * Extend OptimismTxnBatch * Finish OptimismTxnBatch (without reorgs handling yet) * Optimize OptimismTxnBatch fetcher * Remove duplicated txn batches * Add zlib_inflate_handler for empty case * Add reorgs handling for txn batches * Fix reorgs handling for txn batches * Small refactor * Finish Indexer.Fetcher.OptimismTxnBatch (without refactoring yet) * Apply new ex_rlp version * Add API v2 for Optimism Txn Batches * Add env variables to common-blockscout.env and Makefile * Refactor OptimismTxnBatch fetcher for mix credo * Replace binary_slice with binary_part function to run with Elixir 1.13 * Update changelog * Update indexer readme * Rename op_withdrawals.l2_tx_hash field to l2_transaction_hash * Rename l1_tx_hash fields to l1_transaction_hash * Rename *tx* fields to *transaction* fields * Rename env variables * Rename env variables * Add an indexer helper * Add an indexer helper * Small refactoring * Fix tx_count for txn batches view * Use EthereumJSONRPC.Block.ByHash instead of the raw call * Infinity timeout for blocks query * Small refactoring * Refactor init function for two modules * Small refactoring * Rename l1_transaction_timestamp field to l1_timestamp * Rename withdrawal_hash field to hash * Refactor for decode_data function * Refactor for mix credo * Add INDEXER_OPTIMISM_L1_BATCH_BLOCKS_CHUNK_SIZE env and small refactoring * Add INDEXER_OPTIMISM_L1_BATCH_BLOCKS_CHUNK_SIZE env to other files * Add an index for l1_block_number field * Add an index for l1_block_number field * Remove redundant :ok * Use faster way to count rows in a table * Refactor reorgs monitor functions * Clarify frame structure * Reduce storage consumption for optimism transaction batches * Reuse CacheHelper.estimated_count_from function * Bedrock optimism deposits (#6993) * Create `op_deposits` table * Add OptimismDeposit runner * WIP Fetcher * Finish fetcher * Integrate deposits into APIv2 * Add envs * Fix requests * Remove debug * Update envs names * Rename `tx` -> `transaction` * Reuse `decode_data/2` * Fix review * Add `uninstall_filter` * Fix formatting * Switch to realtime mode more carefully * Fix review Allow nil in timestamp Add progress logging Improve check_interval calculation * Fix logging and env * Fix Association.NotLoaded error * Replace switching to realtime mode log * Remove excess start_block * Fix reorg logging * Fix `from_block` > `to_block` and add realtime logging * Fix block boundaries --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> * mix format * Return total count of L2 entity by a separate API request * Filter by consensus blocks * Parallelize tx count operation and small refactoring * Use read replica for L2 entities in API * Parse block_number and tx_hash for Optimism Deposits module * Return page_size back to 50 * Small fixes and refactoring * Update apps/block_scout_web/lib/block_scout_web/api_router.ex Co-authored-by: Maxim Filonov <53992153+sl1depengwyn@users.noreply.github.com> * Small optimization * Use ecto association instead of explicit join for txn batches * Refactoring * Use Stream inspead of Enum * Small refactoring * Add assoc for transaction batches in OptimismFrameSequence * Use common reorg monitor for Optimism modules * Rename Explorer.Helpers to Explorer.Helper * Don't start an optimism module unless the main optimism module is not started * Don't start reorg monitor for optimism modules when it is not needed * Small refactoring * Remove debug broadcasting * Add Optimism BedRock Deposits to the main page in API (#7200) * Add Optimism BedRock Deposits to the main page in API * Update changelog * Pass the number of deposits instead of only one item per once --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> * Refactor for credo * Output L1 fields in API v2 for transaction page * Update changelog * Use helper * Refactor Indexer.Fetcher.Optimism * Fix l1_timestamp issue in OptimismTxnBatch fetcher * Reset Logger metadata before Indexer.Transform.OptimismWithdrawals.parse function finishes * Fix IDs ordering in remove_duplicates function of Indexer.Fetcher.OptimismTxnBatch * Consider rewriting of the first frame in Indexer.Fetcher.OptimismTxnBatch * Fix Indexer.Fetcher.OptimismTxnBatch (consider chunking) * Fix Indexer.Fetcher.OptimismTxnBatch * Fix handling invalid frame sequences in Indexer.Fetcher.OptimismTxnBatch * Read Optimism finalization period from a smart contract * Fixes for dialyzer * Fix for EthereumJSONRPC tests * Fixes for Explorer tests * Fixes for Explorer tests * Fix of block/realtime/fetcher_test.exs * mix format and small fixes for block_scout_web tests * Reset GA cache * Fix handling nil in PendingBlockOperation.estimated_count() --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> Co-authored-by: Maxim Filonov <53992153+sl1depengwyn@users.noreply.github.com> * Fix autocomplete * Fix merging conflicts * Add exit handler to Indexer.Fetcher.OptimismWithdrawal * Fix transactions ordering in Indexer.Fetcher.OptimismTxnBatch * Update changelog * Refactor to fix credo * Mix credo fix * Fix transaction batches module for L2 OP stack (#7827) * Fix mixed transactions handling in Indexer.Fetcher.OptimismTxnBatch * Ignore duplicated frame * Update changelog * Add sorting to the future frames list * Change list order --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> * Remove unused aliases * Ignore previously handled frame by OP transaction batches module (#8122) * Ignore duplicated frame * Update changelog --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> * Return alias for Explorer.Chain.Cache.Helper in chain.ex * Ignore invalid frame by OP transaction batches module (#8208) * Update changelog * Ignore invalid frame * Update changelog --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> * Fix Indexer.Fetcher.OptimismTxnBatch * Fix API v2 for OP Withdrawals * Refactor optimism fetchers init * Add log for switching from fallback url * Fix for Indexer.Fetcher.OptimismTxnBatch * Add OP withdrawal status to transaction page in API (#8702) * Add OP withdrawal status to transaction page in API * Update changelog * Small refactoring * Update .dialyzer-ignore --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> * Add start pause to `Indexer.Fetcher.OptimismTxnBatch` * Small refactor of `Indexer.Fetcher.OptimismTxnBatch` * Consider consensus block only when retrieving OP withdrawal transaction status (#8811) * Consider consensus block only when retrieving OP withdrawal transaction status * Update changelog * Clear GA cache --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> * Hotfix for optimism_withdrawal_transaction_status function * Return all OP Withdrawals bound to L2 transaction * Try to import config * Remove unused functions from Explorer.Chain * Refactor for mix credo * Fix order of proxy standards: 1167, 1967 * Fixes in Optimism due to changed log topics type * Fix for EthereumJSONRPC tests * Clear GA cache and update cspell.json * Fix indexer tests * Return current exchange rate in api/v2/stats * Fix log decoding bug * Temp disable build of image for arm64 * Rewrite Indexer.Fetcher.OptimismTxnBatch module * Add handling of span batches * Add support of latest block for Optimism modules * Update changelog and spelling * Rewrite Indexer.Fetcher.OptimismTxnBatch module * Add handling of span batches * Add support of latest block for Optimism modules * Refactoring * Partially add specs and docs for public functions * Refactoring * add an entry to CHANEGELOG.md * apply review (use origin entity instead of joined entity in with tx status) * Fixes after rebase * Remove old UI sustomizations * Optimism chain type * Change structure of folders * Fixes after review * Fix CHANGELOG * Fixes after 2nd review * Process 3d review: add tests for fee/2 function * Process 4th review * Review fix: move Op related functions from chain.ex * Review fix: make OptimismFinalizationPeriod configurable * Process review comment * System.get_env("CHAIN_TYPE") => Application.get_env(:explorer, :chain_type) --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> Co-authored-by: Qwerty5Uiop <alex000010@bk.ru> Co-authored-by: varasev <33550681+varasev@users.noreply.github.com> Co-authored-by: Maxim Filonov <53992153+sl1depengwyn@users.noreply.github.com> Co-authored-by: rlgns98kr <rlgns98kr@gmail.com> |
9 months ago |
Qwerty5Uiop |
42425edef8
|
Null round handling (#9403)
* Null round handling * Add repo for filecoin chain type * Add repo for filecoin chain type * Modify gas price constraint for Filecoin as it for PolygonEdge * Fix null round heights db type * Add filecoin to chain-type matrix --------- Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com> |
9 months ago |
POA | 0092b1a4c3 |
Draft
|
9 months ago |
POA | b6859d3547 |
Define chain type
|
9 months ago |
nikitosing |
a47d83f0be
|
Add bridged tokens functionality, could be enabled by compile time en… (#9169)
* Add bridged tokens functionality, could be enabled by compile time env var * Process reviewer's comment * Fix credo * Process review comments * Reset GA cache * Fix warning |
10 months ago |
varasev |
c7724f51df
|
Shibarium Bridge indexer and API v2 extension (#8929)
* Define shibarium_bridge table * Add ShibariumBridgeOperations runner * Add init for Indexer.Fetcher.Shibarium.L1 * Draft for Indexer.Fetcher.Shibarium.L1 * mix format for Indexer.Fetcher.Shibarium.L1 * Fix Indexer.Fetcher.Shibarium.L1 * Refactor Indexer.Fetcher.Shibarium.L1 * Add draft (incomplete) for Indexer.Fetcher.Shibarium.L2 * Extend draft (incomplete) for Indexer.Fetcher.Shibarium.L2 * Extend draft (incomplete) for Indexer.Fetcher.Shibarium.L2 * Complete unrefactored Indexer.Fetcher.Shibarium.L2 * Improve Indexer.Fetcher.Shibarium.L2 * Prepare Indexer.Fetcher.Shibarium.L2 for transformer * Add unrefactored Indexer.Transform.Shibarium.Bridge * Small refactoring of Shibarium modules * Refactoring * Add API v2 for Shibarium Deposits and Withdrawals * Small fixes * Update changelog * Fixes and refactoring * Partially add specs and docs * Partially add specs and docs * Log topic type changed to bytea * Small improvements * Cache deposits and withdrawals counters for Shibarium * Fixes for credo * Fixes for Chain.import related to CHAIN_TYPE * Reset GA cache * Small refactoring * Update mix.exs * Remove unnecessary credo ignore --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com> |
10 months ago |
Kirill Fedoseev | d49020ef89 |
feat: blobs migrations and api
|
10 months ago |
Viktor Baranov | 294caa9946 |
Add DATABASE_QUEUE_TARGET env
|
12 months ago |
varasev |
e9522deb1e
|
Suave functional (#8556)
* Add execution_node field indexing * Add `wrapped` field (and its subfields) indexing * Add allowed_peekers field for transaction to API v2 response * Add execution_node field for transaction to API v2 response * Add Suave fields for regular transaction to API v2 response * Add API v2 endpoint for transactions filtered by execution node * Add index for execution_node field * Small fixes * Update changelog * Fix for CHAIN_TYPE, backward compatibility * Update spelling * Fix for dyalizer * Fix default_on_conflict * Fix test.exs * Fix view for Suave transaction * Add Suave-specific comments * mix format * Set pool_size to 1 for suave * Small refactoring for repo * mix format, mix dialyzer --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> |
1 year ago |
POA | 5e3a8cb5be |
Set pool_size to 1 for polygon_zkevm
|
1 year ago |
POA | 5ea5da2ba4 |
Define chain type
|
1 year ago |
Viktor Baranov | c18b929b9e |
Fix db pool size exceeds Postgres max connections
|
1 year ago |
Maxim Filonov | 80c99447dd |
Add RSK chain type
|
1 year ago |
varasev |
3235ab1caa
|
Deposits and Withdrawals for Polygon Edge (#8180)
* Prepare tables for Polygon Supernet Withdrawals module * Prepare Indexer.Fetcher.PolygonSupernetWithdrawal * Prepare Indexer.Fetcher.PolygonSupernetWithdrawalExit * Prepare tables for Polygon Supernet Deposits module * Partially add Polygon Supernet Deposits module * Add Polygon Supernet Deposits module * Extend transaction data in API v2 for Polygon Supernet Deposits and Withdrawals * Extend API v2 for list of Polygon Supernet Deposits * Extend API v2 for list of Polygon Supernet Withdrawals * Modify collated_gas_price constraint to support Immutable test chain * Update number of retries * Fix Indexer.Fetcher.PolygonSupernetWithdrawal * Fix API v2 for Indexer.Fetcher.PolygonSupernetWithdrawal * Return page_size to 50 * Fix API v2 for Indexer.Fetcher.PolygonSupernetDeposit * Fix Explorer.Validator.MetadataRetriever to prevent sending request to nil address * Refactor PolygonSupernet* modules * Refactor PolygonSupernet* modules * Small refactoring of PolygonSupernet* modules * Update changelog * Fixes for dialyzer and cspell * Fix of Explorer tests * Add env vars for docker * Add env variable for eth_getLogs * Share event signatures between modules * Refactoring for fill_block_range function * Small refactoring of transaction actions module * Move polygon_supernet_* modules to a separate folder * Add specs for public functions * Remove redundant function * Reuse decode_data function * Move polygon_supernet_* files into a separate folder * Move polygon_supernet_* files into a separate folder * Partially disband Explorer.Chain module * Define chain type * Remove infinite waiting for safe block * max format * Rename Polygon Supernet to Polygon Edge * Set INDEXER_INTERNAL_TRANSACTIONS_TRACER_TYPE to polygon_edge if CHAIN_TYPE is polygon_edge * Fix chain type definition * Fix repos list definition in releases_tasks * INDEXER_POLYGON_SUPERNET_ -> INDEXER_POLYGON_EDGE_ --------- Co-authored-by: POA <33550681+poa@users.noreply.github.com> Co-authored-by: Viktor Baranov <baranov.viktor.27@gmail.com> |
1 year ago |
Viktor Baranov | 1d6da1b305 |
Set integration with Blockscout eth bytecode DB endpoint by default, replace old UI with new one in docker-compose configs, set default value for port: 4000
|
1 year ago |
Victor Baranov |
c6decf3371
|
Refactor runtime config (#7119)
* Refactor runtime config * Process reviewer comments * Invalidate GA cache |
2 years ago |
nikitosing |
0e0931e130
|
Blockscout core API v2 (#6429)
* Add tests; Fix /transactions bug * Add /internal-transactions and /logs tests * Checksum all address hashes; Done transaction_controller_test.exs * Add block_controller_test.exs * Done block_controller_test.exs * Add /counters, change /token-transfers for /addresses; Add timestamp to token transfer body * Drop params from next_page_params; Add address_controller_test.exs * Fix pending txs pagination; Add tests for address controller * Tests for address in progress * Add coin balances test for address * Done address_controller_test.exs * Done tests for API v2; Fix pagination for search; Add cache for transactions for API v2 * Add ERC filtering for transactions/0x../token-transfers; Add network utilization to /stats * Return nil for nil address_hash instead of struct * Fix token transfers * Remove decoded field from revert_reason body |
2 years ago |
Viktor Baranov | 50487be827 |
Fix definitions of NETWORK_PATH, API_PATH, SOKCET_ROOT: process trailing slash
|
2 years ago |
Viktor Baranov | 9fb791ec19 |
Refactor DB config
|
2 years ago |
Viktor Baranov | 74b9daa405 |
Finalize Account functionality PR
|
2 years ago |
Viktor Baranov | b4a3748de4 |
ACCOUNT_DATABASE_URL from DATABASE_URL if not provided
|
2 years ago |
Никита Поздняков |
17f4946b7a
|
Fix docker compose
|
2 years ago |
Никита Поздняков |
4a88a10bda
|
Fix tests
|
2 years ago |
Никита Поздняков |
00ee70f5a9
|
Add redis storage to have possibility to invalidate sessions
|
2 years ago |
Viktor Baranov | ddc898b359 |
Rename account env vars
|
2 years ago |
nikitosing | d7eef32074 |
Migrate account data to separate DB (#67)
* Config changes * Separate migrations * Remain to fix preloads * Some changes * All is working, need to fix tests migrations * mix tasks * Fix tests and tune config * Add migration script to migrate account data * Fix after rebase * Add branch to config.yml * Add fix for broken sequence id counter * Add drop dblink * Add envs to makefile and common-bs.env * Fix credo |
2 years ago |
Никита Поздняков |
69c89c0dc0
|
Remove unused Config import
|
2 years ago |
Qwerty5Uiop | e269f90c95 |
Refactor runtime config
|
2 years ago |