mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Return note taken from metadata and reorder
This commit is contained in:
parent
a17ca003cc
commit
663fbf213e
@ -93,15 +93,16 @@ explanatory purposes.
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
Since the bytecode of the resulting contract contains the metadata hash, any
|
||||||
|
change to the metadata results in a change of the bytecode. This includes
|
||||||
|
changes to a filename or path, and since the metadata includes a hash of all the
|
||||||
|
sources used, a single whitespace change results in different metadata, and
|
||||||
|
different bytecode.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
Note the ABI definition above has no fixed order. It can change with compiler versions.
|
Note the ABI definition above has no fixed order. It can change with compiler versions.
|
||||||
|
|
||||||
Since the bytecode of the resulting contract contains the metadata hash, any
|
|
||||||
change to the metadata results in a change of the bytecode. This includes
|
|
||||||
changes to a filename or path, and since the metadata includes a hash of all the
|
|
||||||
sources used, a single whitespace change results in different metadata, and
|
|
||||||
different bytecode.
|
|
||||||
|
|
||||||
Encoding of the Metadata Hash in the Bytecode
|
Encoding of the Metadata Hash in the Bytecode
|
||||||
=============================================
|
=============================================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user