From 5281f5a1b4864288fce4a32f16a49aaa9f3e4bc1 Mon Sep 17 00:00:00 2001 From: Ayrat Badykov Date: Tue, 25 Jun 2019 12:25:08 +0300 Subject: [PATCH] cast constructor arguments --- apps/explorer/lib/explorer/chain/smart_contract.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/explorer/lib/explorer/chain/smart_contract.ex b/apps/explorer/lib/explorer/chain/smart_contract.ex index 1cd9accfff..2f6fd741af 100644 --- a/apps/explorer/lib/explorer/chain/smart_contract.ex +++ b/apps/explorer/lib/explorer/chain/smart_contract.ex @@ -262,7 +262,8 @@ defmodule Explorer.Chain.SmartContract do :contract_source_code, :address_hash, :evm_version, - :optimization_runs + :optimization_runs, + :constructor_arguments ]) |> validate_required([:name, :compiler_version, :optimization, :address_hash]) |> add_error(:contract_source_code, error_message(error))