mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add onlyMetadata helper in test/Metadata
This commit is contained in:
@@ -27,6 +27,9 @@ namespace dev
|
||||
namespace test
|
||||
{
|
||||
|
||||
/// Returns only the CBOR metadata.
|
||||
bytes onlyMetadata(bytes const& _bytecode);
|
||||
|
||||
/// Returns the bytecode with the metadata hash stripped out.
|
||||
bytes bytecodeSansMetadata(bytes const& _bytecode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user