diff --git a/.circleci/config.yml b/.circleci/config.yml index 907aeea8a9..2897077097 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: build: docker: # Ensure .tool-versions matches - - image: circleci/elixir:1.6.5-node-browsers + - image: circleci/elixir:1.7.2-node-browsers environment: MIX_ENV: test # match POSTGRES_PASSWORD for postgres image below @@ -118,7 +118,7 @@ jobs: check_formatted: docker: # Ensure .tool-versions matches - - image: circleci/elixir:1.6.5 + - image: circleci/elixir:1.7.2 environment: MIX_ENV: test @@ -132,7 +132,7 @@ jobs: credo: docker: # Ensure .tool-versions matches - - image: circleci/elixir:1.6.5 + - image: circleci/elixir:1.7.2 environment: MIX_ENV: test @@ -166,7 +166,7 @@ jobs: dialyzer: docker: # Ensure .tool-versions matches - - image: circleci/elixir:1.6.5 + - image: circleci/elixir:1.7.2 environment: MIX_ENV: test @@ -236,7 +236,7 @@ jobs: gettext: docker: # Ensure .tool-versions matches - - image: circleci/elixir:1.6.5 + - image: circleci/elixir:1.7.2 environment: MIX_ENV: test @@ -275,7 +275,7 @@ jobs: sobelow: docker: # Ensure .tool-versions matches - - image: circleci/elixir:1.6.5 + - image: circleci/elixir:1.7.2 environment: MIX_ENV: test @@ -299,7 +299,7 @@ jobs: test_geth_http: docker: # Ensure .tool-versions matches - - image: circleci/elixir:1.6.5-node-browsers + - image: circleci/elixir:1.7.2-node-browsers environment: MIX_ENV: test # match POSTGRES_PASSWORD for postgres image below @@ -349,7 +349,7 @@ jobs: test_geth_mox: docker: # Ensure .tool-versions matches - - image: circleci/elixir:1.6.5-node-browsers + - image: circleci/elixir:1.7.2-node-browsers environment: MIX_ENV: test # match POSTGRES_PASSWORD for postgres image below @@ -397,7 +397,7 @@ jobs: test_parity_http: docker: # Ensure .tool-versions matches - - image: circleci/elixir:1.6.5-node-browsers + - image: circleci/elixir:1.7.2-node-browsers environment: MIX_ENV: test # match POSTGRES_PASSWORD for postgres image below @@ -448,7 +448,7 @@ jobs: test_parity_mox: docker: # Ensure .tool-versions matches - - image: circleci/elixir:1.6.5-node-browsers + - image: circleci/elixir:1.7.2-node-browsers environment: MIX_ENV: test # match POSTGRES_PASSWORD for postgres image below diff --git a/.tool-versions b/.tool-versions index b1c3372c3b..2f81e457af 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,3 +1,3 @@ -elixir 1.6.5 -erlang 20.3.2 +elixir 1.7.1 +erlang 21.0.4 nodejs 10.5.0 diff --git a/README.md b/README.md index 18b205891e..c1f841935a 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,8 @@ We use [Terraform](https://www.terraform.io/intro/getting-started/install.html) The [development stack page](https://github.com/poanetwork/poa-explorer/wiki/Development-Stack) contains more information about these frameworks. -* [Erlang/OTP 20.3.2](https://github.com/erlang/otp) -* [Elixir 1.6.5](https://elixir-lang.org/) +* [Erlang/OTP 21.0.4](https://github.com/erlang/otp) +* [Elixir 1.7.1](https://elixir-lang.org/) * [Postgres 10.3](https://www.postgresql.org/) * [Node.js 10.5.0](https://nodejs.org/en/) * [Automake](https://www.gnu.org/software/automake/) diff --git a/apps/indexer/lib/indexer/sequence.ex b/apps/indexer/lib/indexer/sequence.ex index 535b911d9d..d543ffb67e 100644 --- a/apps/indexer/lib/indexer/sequence.ex +++ b/apps/indexer/lib/indexer/sequence.ex @@ -212,7 +212,7 @@ defmodule Indexer.Sequence do {:ok, reducer.(range, initial)} end - defp reduce_chunked_range(first..last = _range, _, step, initial, reducer) do + defp reduce_chunked_range(first..last, _, step, initial, reducer) do {sign, comparator} = if step > 0 do {1, &Kernel.>=/2} diff --git a/mix.lock b/mix.lock index 30d817c259..2394b99edf 100644 --- a/mix.lock +++ b/mix.lock @@ -21,7 +21,7 @@ "deep_merge": {:hex, :deep_merge, "0.1.1", "c27866a7524a337b6a039eeb8dd4f17d458fd40fbbcb8c54661b71a22fffe846", [:mix], []}, "dialyxir": {:hex, :dialyxir, "0.5.1", "b331b091720fd93e878137add264bac4f644e1ddae07a70bf7062c7862c4b952", [:mix], []}, "earmark": {:hex, :earmark, "1.2.5", "4d21980d5d2862a2e13ec3c49ad9ad783ffc7ca5769cf6ff891a4553fbaae761", [:mix], []}, - "ecto": {:hex, :ecto, "2.2.8", "a4463c0928b970f2cee722cd29aaac154e866a15882c5737e0038bbfcf03ec2c", [:mix], [{:db_connection, "~> 1.1", [hex: :db_connection, optional: true]}, {:decimal, "~> 1.2", [hex: :decimal, optional: false]}, {:mariaex, "~> 0.8.0", [hex: :mariaex, optional: true]}, {:poison, "~> 2.2 or ~> 3.0", [hex: :poison, optional: true]}, {:poolboy, "~> 1.5", [hex: :poolboy, optional: false]}, {:postgrex, "~> 0.13.0", [hex: :postgrex, optional: true]}, {:sbroker, "~> 1.0", [hex: :sbroker, optional: true]}]}, + "ecto": {:hex, :ecto, "2.2.8", "a4463c0928b970f2cee722cd29aaac154e866a15882c5737e0038bbfcf03ec2c", [:mix], [{:db_connection, "~> 1.1", [repo: "hexpm", hex: :db_connection, optional: true]}, {:decimal, "~> 1.2", [repo: "hexpm", hex: :decimal, optional: false]}, {:mariaex, "~> 0.8.0", [repo: "hexpm", hex: :mariaex, optional: true]}, {:poison, "~> 2.2 or ~> 3.0", [repo: "hexpm", hex: :poison, optional: true]}, {:poolboy, "~> 1.5", [repo: "hexpm", hex: :poolboy, optional: false]}, {:postgrex, "~> 0.13.0", [repo: "hexpm", hex: :postgrex, optional: true]}, {:sbroker, "~> 1.0", [repo: "hexpm", hex: :sbroker, optional: true]}], "hexpm"}, "elixir_make": {:hex, :elixir_make, "0.4.1", "6628b86053190a80b9072382bb9756a6c78624f208ec0ff22cb94c8977d80060", [:mix], []}, "ex_abi": {:hex, :ex_abi, "0.1.14", "425eb3dacbc284a907acdd79dd0657a66794bc823ee8ceae06e72f7b997ef48c", [:mix], [{:exth_crypto, "~> 0.1.4", [hex: :exth_crypto, repo: "hexpm", optional: false]}], "hexpm"}, "ex_cldr": {:hex, :ex_cldr, "1.3.2", "8f4a00c99d1c537b8e8db7e7903f4bd78d82a7289502d080f70365392b13921b", [:mix], [{:abnf2, "~> 0.1", [hex: :abnf2, optional: false]}, {:decimal, "~> 1.4", [hex: :decimal, optional: false]}, {:gettext, "~> 0.13", [hex: :gettext, optional: true]}, {:poison, "~> 2.1 or ~> 3.0", [hex: :poison, optional: true]}]},