diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-07-19 17:43:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-19 17:43:19 +0800 |
commit | 2a46e1b0e23b57f9333d4bf2fe0f402795581d61 (patch) | |
tree | d611ac556b46c9baa2dd4d85148cff61d29400a2 /test/libsolidity | |
parent | b2879c18768f25d46595be5ca0d41b3c69835223 (diff) | |
parent | 6d8929a71aa5cecb6f4a1aa15a2a5db640a62631 (diff) | |
download | dexon-solidity-2a46e1b0e23b57f9333d4bf2fe0f402795581d61.tar dexon-solidity-2a46e1b0e23b57f9333d4bf2fe0f402795581d61.tar.gz dexon-solidity-2a46e1b0e23b57f9333d4bf2fe0f402795581d61.tar.bz2 dexon-solidity-2a46e1b0e23b57f9333d4bf2fe0f402795581d61.tar.lz dexon-solidity-2a46e1b0e23b57f9333d4bf2fe0f402795581d61.tar.xz dexon-solidity-2a46e1b0e23b57f9333d4bf2fe0f402795581d61.tar.zst dexon-solidity-2a46e1b0e23b57f9333d4bf2fe0f402795581d61.zip |
Merge pull request #2589 from ethereum/rename-onchainmetadata
Rename onChainMetadata to metadata
Diffstat (limited to 'test/libsolidity')
-rw-r--r-- | test/libsolidity/Metadata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/Metadata.cpp b/test/libsolidity/Metadata.cpp index 08dd4bb4..ce1a7b18 100644 --- a/test/libsolidity/Metadata.cpp +++ b/test/libsolidity/Metadata.cpp @@ -46,7 +46,7 @@ BOOST_AUTO_TEST_CASE(metadata_stamp) compilerStack.addSource("", std::string(sourceCode)); ETH_TEST_REQUIRE_NO_THROW(compilerStack.compile(dev::test::Options::get().optimize), "Compiling contract failed"); bytes const& bytecode = compilerStack.runtimeObject("test").bytecode; - std::string const& metadata = compilerStack.onChainMetadata("test"); + std::string const& metadata = compilerStack.metadata("test"); BOOST_CHECK(dev::test::isValidMetadata(metadata)); bytes hash = dev::swarmHash(metadata).asBytes(); BOOST_REQUIRE(hash.size() == 32); |