Merge pull request #7996 from ethereum/updateMetadata

Update metadata.
This commit is contained in:
chriseth 2019-12-12 16:50:29 +01:00 committed by GitHub
commit 0e2578dfc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ Contract Metadata
.. index:: metadata, contract verification .. index:: metadata, contract verification
The Solidity compiler automatically generates a JSON file, the contract The Solidity compiler automatically generates a JSON file, the contract
metadata, that contains information about the current contract. You can use metadata, that contains information about the compiled contract. You can use
this file to query the compiler version, the sources used, the ABI and NatSpec this file to query the compiler version, the sources used, the ABI and NatSpec
documentation to more safely interact with the contract and verify its source documentation to more safely interact with the contract and verify its source
code. code.
@ -122,7 +122,9 @@ explanatory purposes.
different bytecode. different bytecode.
.. note:: .. note::
Note the ABI definition above has no fixed order. It can change with compiler versions. The ABI definition above has no fixed order. It can change with compiler versions.
Starting from Solidity version 0.5.12, though, the array maintains a certain
order.
Encoding of the Metadata Hash in the Bytecode Encoding of the Metadata Hash in the Bytecode
============================================= =============================================