Skip to content

Commit

Permalink
Fixes eth_fee_history behaviour spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesduncombe committed Mar 13, 2024
1 parent 271c824 commit d629355
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/tt_eth/behaviours/chain_client.ex
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ defmodule TTEth.Behaviours.ChainClient do

@callback eth_fee_history(
block_count :: integer(),
newest_block :: binary(),
reward_percentiles :: list(binary())
newest_block :: binary() | integer(),
reward_percentiles :: list(non_neg_integer())
) ::
{:ok, map()} | error
@callback eth_fee_history(
block_count :: integer(),
newest_block :: binary(),
reward_percentiles :: list(binary()),
newest_block :: binary() | integer(),
reward_percentiles :: list(non_neg_integer()),
opts
) ::
{:ok, map()} | error
Expand Down

0 comments on commit d629355

Please sign in to comment.