diff --git a/CHANGELOG.md b/CHANGELOG.md index 730642281d..5ccd93ca59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ ### Fixes +- [#8350](https://github.com/blockscout/blockscout/pull/8350) - Add Base Mainnet support for tx actions - [#8282](https://github.com/blockscout/blockscout/pull/8282) - NFT fetcher improvements - [#8287](https://github.com/blockscout/blockscout/pull/8287) - Add separate hackney pool for TokenInstance fetchers - [#8293](https://github.com/blockscout/blockscout/pull/8293) - Add ETHEREUM_JSONRPC_TRACE_URL for Geth in docker-compose.yml diff --git a/apps/indexer/lib/indexer/transform/transaction_actions.ex b/apps/indexer/lib/indexer/transform/transaction_actions.ex index 549be9fa80..e4305c33c3 100644 --- a/apps/indexer/lib/indexer/transform/transaction_actions.ex +++ b/apps/indexer/lib/indexer/transform/transaction_actions.ex @@ -18,6 +18,7 @@ defmodule Indexer.Transform.TransactionActions do @goerli 5 @optimism 10 @polygon 137 + @base_mainnet 8453 @base_goerli 84531 # @gnosis 100 @@ -161,7 +162,7 @@ defmodule Indexer.Transform.TransactionActions do end defp parse_uniswap_v3(logs, actions, protocols_to_rewrite, chain_id) do - if Enum.member?([@mainnet, @goerli, @optimism, @polygon, @base_goerli], chain_id) and + if Enum.member?([@mainnet, @goerli, @optimism, @polygon, @base_mainnet, @base_goerli], chain_id) and (is_nil(protocols_to_rewrite) or Enum.empty?(protocols_to_rewrite) or Enum.member?(protocols_to_rewrite, "uniswap_v3")) do uniswap_v3_positions_nft =