Explicitly add evm version to tests

pull/1964/head
Victor Baranov 6 years ago
parent 0044b72715
commit 6fb255eece
  1. 2
      apps/explorer/test/explorer/smart_contract/verifier_test.exs

@ -21,6 +21,7 @@ defmodule Explorer.SmartContract.VerifierTest do
"contract_source_code" => contract_code_info.source_code, "contract_source_code" => contract_code_info.source_code,
"compiler_version" => contract_code_info.version, "compiler_version" => contract_code_info.version,
"name" => contract_code_info.name, "name" => contract_code_info.name,
"evm_version" => "petersburg",
"optimization" => contract_code_info.optimized "optimization" => contract_code_info.optimized
} }
@ -68,6 +69,7 @@ defmodule Explorer.SmartContract.VerifierTest do
"compiler_version" => contract_code_info.version, "compiler_version" => contract_code_info.version,
"name" => contract_code_info.name, "name" => contract_code_info.name,
"optimization" => contract_code_info.optimized, "optimization" => contract_code_info.optimized,
"evm_version" => "petersburg",
"constructor_arguments" => constructor_arguments "constructor_arguments" => constructor_arguments
} }

Loading…
Cancel
Save