Merge branch 'master' into ab-pass-external-librarie-to-solidity-compiler

pull/1418/head
Ayrat Badykov 6 years ago committed by GitHub
commit 1b220a2d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      apps/block_scout_web/config/dev.exs
  2. 7
      apps/explorer/priv/repo/migrations/20190208143201_add_index_on_address_hash_block_number_and_token_contract_address_hash_for_current_token_balance.exs

@ -11,8 +11,8 @@ config :block_scout_web, BlockScoutWeb.Endpoint,
https: [
port: 4001,
cipher_suite: :strong,
certfile: "priv/cert/selfsigned.pem",
keyfile: "priv/cert/selfsigned_key.pem"
certfile: System.get_env("CERTFILE") || "priv/cert/selfsigned.pem",
keyfile: System.get_env("KEYFILE") || "priv/cert/selfsigned_key.pem"
],
debug_errors: true,
code_reloader: true,

@ -0,0 +1,7 @@
defmodule Explorer.Repo.Migrations.AddIndexOnAddressHashBlockNumberAndTokenContractAddressHashForCurrentTokenBalance do
use Ecto.Migration
def change do
create(index(:address_current_token_balances, [:address_hash, :block_number, :token_contract_address_hash]))
end
end
Loading…
Cancel
Save