diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-19 23:10:32 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-07-19 03:54:28 +0800 |
commit | 6d8929a71aa5cecb6f4a1aa15a2a5db640a62631 (patch) | |
tree | 861e90567c6b89269c169e0e7a0b995a979186c3 /test/libsolidity/Metadata.cpp | |
parent | 01fbc636239f78134b37f9dedeacf40455ee2e0c (diff) | |
download | dexon-solidity-6d8929a71aa5cecb6f4a1aa15a2a5db640a62631.tar dexon-solidity-6d8929a71aa5cecb6f4a1aa15a2a5db640a62631.tar.gz dexon-solidity-6d8929a71aa5cecb6f4a1aa15a2a5db640a62631.tar.bz2 dexon-solidity-6d8929a71aa5cecb6f4a1aa15a2a5db640a62631.tar.lz dexon-solidity-6d8929a71aa5cecb6f4a1aa15a2a5db640a62631.tar.xz dexon-solidity-6d8929a71aa5cecb6f4a1aa15a2a5db640a62631.tar.zst dexon-solidity-6d8929a71aa5cecb6f4a1aa15a2a5db640a62631.zip |
Rename onChainMetadata to metadata
Diffstat (limited to 'test/libsolidity/Metadata.cpp')
-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 32cf910b..83919283 100644 --- a/test/libsolidity/Metadata.cpp +++ b/test/libsolidity/Metadata.cpp @@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE(metadata_stamp) /// NOTE: compiles without optimisations ETH_TEST_REQUIRE_NO_THROW(compilerStack.compile(), "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); |