Move bytecodeSansMetadata(bytes) helper to test/Metadata

This commit is contained in:
Alex Beregszaszi
2019-02-05 23:13:01 +00:00
parent be22032141
commit 26de5684a2
3 changed files with 18 additions and 5 deletions
+4
View File
@@ -19,6 +19,7 @@
* Metadata processing helpers.
*/
#include <libdevcore/CommonData.h>
#include <string>
namespace dev
@@ -26,6 +27,9 @@ namespace dev
namespace test
{
/// Returns the bytecode with the metadata hash stripped out.
bytes bytecodeSansMetadata(bytes const& _bytecode);
/// Returns the bytecode with the metadata hash stripped out.
std::string bytecodeSansMetadata(std::string const& _bytecode);