Fix format and cspell tests

pull/9518/head
Viktor Baranov 9 months ago
parent 0459615106
commit 7a7a424f9e
  1. 2
      apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/pending_transaction.ex
  2. 3
      config/runtime.exs
  3. 1
      cspell.json

@ -60,7 +60,6 @@ defmodule EthereumJSONRPC.PendingTransaction do
@spec fetch_pending_transactions_besu(EthereumJSONRPC.json_rpc_named_arguments()) ::
{:ok, [Transaction.params()]} | {:error, reason :: term}
def fetch_pending_transactions_besu(json_rpc_named_arguments) do
with {:ok, transactions} <-
# `txpool_besuPendingTransactions` required parameter `numResults` for number of maximum pending transaction to return.
#
# TODO: Remove fix value when hyperledger besu client change `numResults` from required to optional parameter.
@ -71,6 +70,7 @@ defmodule EthereumJSONRPC.PendingTransaction do
# https://besu.hyperledger.org/public-networks/reference/cli/options#bonsai-historical-block-limit
#
# https://besu.hyperledger.org/public-networks/reference/api#txpool_besupendingtransactions
with {:ok, transactions} <-
%{id: 1, method: "txpool_besuPendingTransactions", params: [512]}
|> request()
|> json_rpc(json_rpc_named_arguments) do

@ -560,8 +560,7 @@ config :indexer, Indexer.Fetcher.TransactionAction,
)
config :indexer, Indexer.Fetcher.PendingTransaction.Supervisor,
disabled?:
ConfigHelper.parse_bool_env_var("INDEXER_DISABLE_PENDING_TRANSACTIONS_FETCHER")
disabled?: 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)

@ -211,6 +211,7 @@
"hljs",
"Hodl",
"httpoison",
"hyperledger",
"ifdef",
"ifeq",
"Iframe",

Loading…
Cancel
Save