Merge pull request #8350 from blockscout/va-tx-actions-base-mainnet

Add Base Mainnet support for tx actions
pull/8354/head
Victor Baranov 1 year ago committed by GitHub
commit 25c5b98fe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 3
      apps/indexer/lib/indexer/transform/transaction_actions.ex

@ -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

@ -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 =

Loading…
Cancel
Save