aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-09-27 04:51:40 +0800
committerGitHub <noreply@github.com>2018-09-27 04:51:40 +0800
commitd51d4def9e53422cc8ed08bc3fb01c3a4ab82ab9 (patch)
tree2ffd04c794e97997c362adef30c659d182bd3619
parentf81c6e6d164d282f49d0c7d44729946b7da12181 (diff)
parent663fbf213e04d3a0ff2979764ec563c8984237dd (diff)
downloaddexon-solidity-d51d4def9e53422cc8ed08bc3fb01c3a4ab82ab9.tar.gz
dexon-solidity-d51d4def9e53422cc8ed08bc3fb01c3a4ab82ab9.tar.zst
dexon-solidity-d51d4def9e53422cc8ed08bc3fb01c3a4ab82ab9.zip
Merge pull request #5101 from ethereum/docs-return-metadata-note
Return note taken from metadata and reorder
-rw-r--r--docs/metadata.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/metadata.rst b/docs/metadata.rst
index a9b5b7d4..c0613809 100644
--- a/docs/metadata.rst
+++ b/docs/metadata.rst
@@ -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 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
=============================================