pull/1559/head
Ayrat Badykov 6 years ago
parent 86a66a2c07
commit 089e161997
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/block_scout_web/test/block_scout_web/schema/query/address_test.exs
  2. 2
      apps/block_scout_web/test/block_scout_web/schema/query/transaction_test.exs
  3. 2
      apps/explorer/lib/explorer/chain/transaction.ex

@ -215,7 +215,7 @@ defmodule BlockScoutWeb.Schema.Query.AddressTest do
"r" => to_string(transaction.r),
"s" => to_string(transaction.s),
"status" => nil,
"v" => transaction.v,
"v" => to_string(transaction.v),
"value" => to_string(transaction.value.value),
"from_address_hash" => to_string(transaction.from_address_hash),
"to_address_hash" => to_string(transaction.to_address_hash),

@ -55,7 +55,7 @@ defmodule BlockScoutWeb.Schema.Query.TransactionTest do
"r" => to_string(transaction.r),
"s" => to_string(transaction.s),
"status" => transaction.status |> to_string() |> String.upcase(),
"v" => transaction.v,
"v" => to_string(transaction.v),
"value" => to_string(transaction.value.value),
"from_address_hash" => to_string(transaction.from_address_hash),
"to_address_hash" => to_string(transaction.to_address_hash),

@ -202,7 +202,7 @@ defmodule Explorer.Chain.Transaction do
field(:r, :decimal)
field(:s, :decimal)
field(:status, Status)
field(:v, :integer)
field(:v, :decimal)
field(:value, Wei)
timestamps()

Loading…
Cancel
Save