- change txpool_besuTransactions to txpool_besuPendingTransactions

- change runtime config enable pending transaction for besu client
pull/9560/head
MASDXI 9 months ago
parent 7df24b0ede
commit 627750338c
  1. 1
      CHANGELOG.md
  2. 2
      apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/pending_transaction.ex
  3. 1
      config/runtime.exs

@ -15,6 +15,7 @@
### Fixes
- [#](https://github.com/blockscout/blockscout/pull/) - Fix fetch pending transaction for hyperledger besu client
- [#9514](https://github.com/blockscout/blockscout/pull/9514) - Fix missing `0x` prefix for `blockNumber`, `logIndex`, `transactionIndex` and remove `transactionLogIndex` in `eth_getLogs` response.
- [#9512](https://github.com/blockscout/blockscout/pull/9512) - Docker-compose 2.24.6 compatibility
- [#9262](https://github.com/blockscout/blockscout/pull/9262) - Fix withdrawal status

@ -61,7 +61,7 @@ defmodule EthereumJSONRPC.PendingTransaction do
{:ok, [Transaction.params()]} | {:error, reason :: term}
def fetch_pending_transactions_besu(json_rpc_named_arguments) do
with {:ok, transactions} <-
%{id: 1, method: "txpool_besuTransactions", params: []}
%{id: 1, method: "txpool_besuPendingTransactions", params: [512]}
|> request()
|> json_rpc(json_rpc_named_arguments) do
transactions_params =

@ -561,7 +561,6 @@ config :indexer, Indexer.Fetcher.TransactionAction,
config :indexer, Indexer.Fetcher.PendingTransaction.Supervisor,
disabled?:
System.get_env("ETHEREUM_JSONRPC_VARIANT") == "besu" ||
ConfigHelper.parse_bool_env_var("INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER")
config :indexer, Indexer.Fetcher.Token, concurrency: ConfigHelper.parse_integer_env_var("INDEXER_TOKEN_CONCURRENCY", 10)

Loading…
Cancel
Save