Run mix format, gettext, credo, dialyzer.

pull/953/head
Lokraan 6 years ago
parent 8cfd2cf159
commit fb5139c386
  1. 20
      apps/block_scout_web/priv/gettext/default.pot
  2. 20
      apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po
  3. 3
      apps/explorer/test/explorer/chain_test.exs

@ -478,6 +478,11 @@ msgstr ""
msgid "Hash" msgid "Hash"
msgstr "" msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_transaction/index.html.eex:58
msgid "Hide"
msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:31 #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:31
#: lib/block_scout_web/templates/transaction/_tile.html.eex:46 #: lib/block_scout_web/templates/transaction/_tile.html.eex:46
@ -776,6 +781,11 @@ msgstr ""
msgid "Server Response" msgid "Server Response"
msgstr "" msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_transaction/index.html.eex:57
msgid "Show"
msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/address/overview.html.eex:13 #: lib/block_scout_web/templates/address/overview.html.eex:13
msgid "Show QR Code" msgid "Show QR Code"
@ -1184,13 +1194,3 @@ msgstr ""
#: lib/block_scout_web/views/address_contract_view.ex:15 #: lib/block_scout_web/views/address_contract_view.ex:15
msgid "true" msgid "true"
msgstr "" msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_transaction/index.html.eex:58
msgid "Hide"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_transaction/index.html.eex:57
msgid "Show"
msgstr ""

@ -478,6 +478,11 @@ msgstr ""
msgid "Hash" msgid "Hash"
msgstr "" msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_transaction/index.html.eex:58
msgid "Hide"
msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:31 #: lib/block_scout_web/templates/internal_transaction/_tile.html.eex:31
#: lib/block_scout_web/templates/transaction/_tile.html.eex:46 #: lib/block_scout_web/templates/transaction/_tile.html.eex:46
@ -776,6 +781,11 @@ msgstr ""
msgid "Server Response" msgid "Server Response"
msgstr "" msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_transaction/index.html.eex:57
msgid "Show"
msgstr ""
#, elixir-format #, elixir-format
#: lib/block_scout_web/templates/address/overview.html.eex:13 #: lib/block_scout_web/templates/address/overview.html.eex:13
msgid "Show QR Code" msgid "Show QR Code"
@ -1184,13 +1194,3 @@ msgstr ""
#: lib/block_scout_web/views/address_contract_view.ex:15 #: lib/block_scout_web/views/address_contract_view.ex:15
msgid "true" msgid "true"
msgstr "" msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_transaction/index.html.eex:58
msgid "Hide"
msgstr ""
#, elixir-format
#: lib/block_scout_web/templates/address_transaction/index.html.eex:57
msgid "Show"
msgstr ""

@ -723,8 +723,7 @@ defmodule Explorer.ChainTest do
hash_str = "0xcbbcd5ac86f9a50e13313633b262e16f695a90c2" hash_str = "0xcbbcd5ac86f9a50e13313633b262e16f695a90c2"
{:ok, hash} = Chain.string_to_address_hash(hash_str) {:ok, hash} = Chain.string_to_address_hash(hash_str)
assert {:ok, %Chain.Address{hash: hash}} = assert {:ok, %Chain.Address{hash: hash}} = Chain.find_or_insert_address_from_hash(hash)
Chain.find_or_insert_address_from_hash(hash)
end end
end end

Loading…
Cancel
Save