Merge pull request #5101 from ethereum/docs-return-metadata-note

Return note taken from metadata and reorder
This commit is contained in:
chriseth 2018-09-26 22:51:40 +02:00 committed by GitHub
commit d51d4def9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,15 +93,16 @@ explanatory purposes.
}
}
.. note::
Note the ABI definition above has no fixed order. It can change with compiler versions.
.. 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 the ABI definition above has no fixed order. It can change with compiler versions.
Encoding of the Metadata Hash in the Bytecode
=============================================