cast constructor arguments

pull/2235/head
Ayrat Badykov 5 years ago
parent 44f245ade0
commit 5281f5a1b4
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 3
      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))

Loading…
Cancel
Save