change the allowed evm versions values for tests

pull/1964/head
Victor Baranov 6 years ago
parent 568a74f586
commit 3b9169fb23
  1. 18
      apps/explorer/test/explorer/smart_contract/solidity/code_compiler_test.exs

@ -272,12 +272,9 @@ defmodule Explorer.SmartContract.Solidity.CodeCompilerTest do
describe "allowed_evm_versions/0" do describe "allowed_evm_versions/0" do
@allowed_evm_versions_pattern '[ @allowed_evm_versions_pattern '[
"homestead", "CustomEVM1",
"tangerineWhistle", "CustomEVM2",
"spuriousDragon", "CustomEVM3"
"byzantium",
"constantinople",
"petersburg2"
]' ]'
test "returns default_allowed_evm_versions" do test "returns default_allowed_evm_versions" do
@ -290,12 +287,9 @@ defmodule Explorer.SmartContract.Solidity.CodeCompilerTest do
response = CodeCompiler.allowed_evm_versions() response = CodeCompiler.allowed_evm_versions()
assert response = [ assert response = [
"homestead", "CustomEVM1",
"tangerineWhistle", "CustomEVM2",
"spuriousDragon", "CustomEVM3"
"byzantium",
"constantinople",
"petersburg2"
] ]
end end
end end

Loading…
Cancel
Save