Skip to content

BlockScout v12.1.0

Latest

Choose a tag to compare

@vbaranov vbaranov released this 24 Nov 15:17
· 15 commits to master since this release

🚀 Features

  • Add MARKET_DEFILLAMA_API_KEY for the DefiLlama market source (#15030)
  • Take DisputeGameFactory address from Superchain config and let configured OP values win over SystemConfig getters (#15015)
  • Add search by pool id (#15005)
  • Support include_zero_value in address internal transactions CSV export (#15008)
  • Exclude configured addresses from the top accounts list (#15007)

🐛 Bug Fixes

  • Address internal transactions pending test with block-level pending operations (#15125)
  • Handle empty gameCount() response in OP DisputeGame fetcher (#15109)
  • Vacuum and reindex token_transfers after EIP-7708 sanitizing (#15101)
  • Skip SQL queries in Hot smart-contracts API when the functionality is disabled (#15088)
  • Prevent verified source and proxy status from being attributed to contracts with different code (#15086)
  • Delete zero-value internal transactions of the border block (#15051)
  • Ignore void proofs in OP withdrawal status (#15049)
  • Pin validated IP addresses in SafeFetch to prevent DNS rebinding (#15046)
  • Allow disabling indexer fetchers with environment variables (#15039)
  • Ignore EIP-7708 system address Transfer logs as ERC-20 token transfers (#15042)
  • Cast method ids before ContractMethods cache lookup (#15045)
  • Handle rpc errors in EmptyBlocksSanitizer (#15044)
  • Tolerate pending internal transactions at chain head in API v2 (#15040)
  • Validate extension and content of local config files (#15035)
  • Limit token instance metadata size before storing it (#15027)
  • Prefer FULL match from any source in eth-bytecode-db search-all response (#15028)
  • Treat EVM halt errors as contract failures in token metadata fetchers (#15023)
  • Limit data processed by PendingTransactionsSanitizer at once (#15021)
  • Add missing log fields preparations (#15019)
  • Skip scam token filter in advanced filter when tokens are included (#15020)
  • Avoid seq scan in address token transfers existence check (#15018)
  • Decode revert reasons of contract creations by contract_methods candidates (#15016)
  • Fix BufferedTask timer accumulate (#15013)
  • Make CryptoCompare an opt-in price history source (#15012)
  • Record null rounds hit by the realtime fetcher instead of erroring on Filecoin (#15011)
  • Store Arbitrum rollup block confirmations in a dedicated table (#14940)

🚜 Refactor

  • Generate default HeavyDbIndexOperation callbacks in before_compile (#15017)

⚡ Performance

  • Fix new_contracts and missing_archival_token_balances counters query plans (#15112)
  • Optimize logs filter by topics (#15124)
  • Remove redundant transactions preload in getLogs (#15029)

⚙️ Miscellaneous Tasks

  • Add Contributor Licence Agreement (#15110)
  • Update LICENCE to v1.1 (#15108)
  • Eliminate compiler warnings in explorer and block_scout_web tests (#15050)
  • Stabilize explorer tests (#15048)
  • Flaky exchange rate channel test (race with market history cache restart) (#15057)
  • Disable Hot smart-contracts functionality by default (#15034)
  • Migrate CryptoRank market source to the v3 API (#15014)
  • Update Erlang OTP 28 -> 29 (#15010)
  • Bump Elixir version to 1.20.5 (#14994)

📘 Updated Swagger Documentation

Swagger files for version 12.1.0:
https://github.com/blockscout/swaggers/tree/master/blockscout/12.1.0

New environment variables list
Variable Description Parameters
INDEXER_DISABLE_CONTRACT_CODE_FETCHER If true, Indexer.Fetcher.ContractCode fetcher doesn't run. Implemented in #15039. Version: v12.1.0+
Default: false
Applications: Indexer
INDEXER_DISABLE_CURRENT_TOKEN_BALANCES_FETCHER If true, Indexer.Fetcher.TokenBalance.Current fetcher doesn't run. Implemented in #15039. Version: v12.1.0+
Default: false
Applications: Indexer
INDEXER_DISABLE_PENDING_TRANSACTIONS_SANITIZER If true, Indexer.PendingTransactionsSanitizer doesn't run. Implemented in #15039. Version: v12.1.0+
Default: false
Applications: Indexer
INDEXER_DISABLE_SIGNED_AUTHORIZATION_STATUS_FETCHER If true, Indexer.Fetcher.SignedAuthorizationStatus fetcher doesn't run. Implemented in #15039. Version: v12.1.0+
Default: false
Applications: Indexer
INDEXER_DISABLE_TOKEN_FETCHER If true, Indexer.Fetcher.Token fetcher doesn't run. Implemented in #15039. Version: v12.1.0+
Default: false
Applications: Indexer
INDEXER_DISABLE_TOKEN_UI_MULTIPLIER_UPDATER_FETCHER If true, Indexer.Fetcher.TokenUIMultiplierUpdater doesn't run. Multiplier changes imported while disabled are not recovered. Implemented in #15039. Version: v12.1.0+
Default: false
Applications: Indexer
INDEXER_DISABLE_UNCLE_BLOCK_FETCHER If true, Indexer.Fetcher.UncleBlock fetcher doesn't run. Implemented in #15039. Version: v12.1.0+
Default: false
Applications: Indexer
INDEXER_DISABLE_UNCLES_WITHOUT_INDEX_FETCHER If true, Indexer.Temporary.UnclesWithoutIndex fetcher doesn't run. Implemented in #15039. Version: v12.1.0+
Default: false
Applications: Indexer
MIGRATION_SANITIZE_EIP7708_TOKEN_TRANSFERS_BATCH_SIZE Number of EIP-7708 system-address token transfers to delete in each batch. Implemented in #15042. Version: v12.1.0+
Default: 500
Applications: Indexer
MIGRATION_SANITIZE_EIP7708_TOKEN_TRANSFERS_CONCURRENCY Number of parallel batches processing EIP-7708 system-address token transfers. Implemented in #15042. Version: v12.1.0+
Default: 1
Applications: Indexer
MIGRATION_SANITIZE_EIP7708_TOKEN_TRANSFERS_TIMEOUT Timeout between processing batches of EIP-7708 system-address token transfers. Follows the time format. Implemented in #15042. Version: v12.1.0+
Default: 0s
Applications: Indexer
INDEXER_TOKEN_INSTANCE_METADATA_MAX_SIZE Maximum size in bytes for token instance metadata. The minimum value is 1; payloads larger than this limit are stored as an error. Implemented in #15027. Version: v12.1.0+
Default: 10485760
Applications: Indexer
MIGRATION_SANITIZE_INCORRECT_WETH_BLOCKS_BATCH_SIZE Number of blocks processed in each range by the incorrect WETH token transfer sanitizer. Implemented in #14987. Version: v12.1.0+
Default: 10000
Applications: Indexer
TOP_ADDRESSES_EXCLUDED_ADDRESSES Comma-separated list of address hashes to exclude from the Top Accounts list (/api/v2/addresses and the old UI accounts page). Invalid addresses cause startup to fail. Implemented in #15007. Version: v12.1.0+
Default: (empty)
Applications: API