aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SolidityExecutionFramework.h
diff options
context:
space:
mode:
authorRhett Aultman <rhett.aultman@meraki.net>2017-01-17 07:07:48 +0800
committerRhett Aultman <rhett.aultman@meraki.net>2017-01-17 07:07:48 +0800
commit88a2ac25e5e10aa7cea8627b60aa663f7ed6066d (patch)
treef9b34d62409fa21fff59a3d134ac1d3be4a49c8b /test/libsolidity/SolidityExecutionFramework.h
parent43dbf01e73b915dbeddfd7eb9d62112fdf2f99f1 (diff)
downloaddexon-solidity-88a2ac25e5e10aa7cea8627b60aa663f7ed6066d.tar.gz
dexon-solidity-88a2ac25e5e10aa7cea8627b60aa663f7ed6066d.tar.zst
dexon-solidity-88a2ac25e5e10aa7cea8627b60aa663f7ed6066d.zip
Revert "Fix contract lookup in tests"
This reverts commit f8914c6b281f398d6084f10708233bf79d633ef0.
Diffstat (limited to 'test/libsolidity/SolidityExecutionFramework.h')
-rw-r--r--test/libsolidity/SolidityExecutionFramework.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/libsolidity/SolidityExecutionFramework.h b/test/libsolidity/SolidityExecutionFramework.h
index 00e8330c..03e3a881 100644
--- a/test/libsolidity/SolidityExecutionFramework.h
+++ b/test/libsolidity/SolidityExecutionFramework.h
@@ -67,11 +67,7 @@ public:
);
BOOST_ERROR("Compiling contract failed");
}
- eth::LinkerObject obj;
- if (_contractName.empty())
- obj = m_compiler.object(_contractName);
- else
- obj = m_compiler.object(":" + _contractName);
+ eth::LinkerObject obj = m_compiler.object(_contractName);
BOOST_REQUIRE(obj.linkReferences.empty());
sendMessage(obj.bytecode + _arguments, true, _value);
return m_output;