Skip to content

Commit

Permalink
Add Suave-specific comments
Browse files Browse the repository at this point in the history
  • Loading branch information
varasev committed Oct 2, 2023
1 parent a412261 commit 3bf6579
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/ethereum_jsonrpc/lib/ethereum_jsonrpc/transaction.ex
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ defmodule EthereumJSONRPC.Transaction do
"""
@spec elixir_to_params(elixir) :: params

# this is for Suave chain (handles `executionNode` and `wrapped` fields along with EIP-1559 fields)
def elixir_to_params(
%{
"blockHash" => block_hash,
Expand Down Expand Up @@ -342,6 +343,7 @@ defmodule EthereumJSONRPC.Transaction do
end
end

# this is for Suave chain (handles `executionNode` and `wrapped` fields without EIP-1559 fields)
def elixir_to_params(
%{
"blockHash" => block_hash,
Expand Down

0 comments on commit 3bf6579

Please sign in to comment.