aboutsummaryrefslogtreecommitdiffstats
path: root/docs/miscellaneous.rst
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-04-26 01:29:00 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-04-26 01:29:51 +0800
commit8a5feb8c490e38961da68ea059309e06cef3e1c0 (patch)
treeef9417210f0694228684d2f2f881f3fb3ebf3e1f /docs/miscellaneous.rst
parent6c9dcaf7ac729ca06dad8cd839556df96f0022af (diff)
downloaddexon-solidity-8a5feb8c490e38961da68ea059309e06cef3e1c0.tar
dexon-solidity-8a5feb8c490e38961da68ea059309e06cef3e1c0.tar.gz
dexon-solidity-8a5feb8c490e38961da68ea059309e06cef3e1c0.tar.bz2
dexon-solidity-8a5feb8c490e38961da68ea059309e06cef3e1c0.tar.lz
dexon-solidity-8a5feb8c490e38961da68ea059309e06cef3e1c0.tar.xz
dexon-solidity-8a5feb8c490e38961da68ea059309e06cef3e1c0.tar.zst
dexon-solidity-8a5feb8c490e38961da68ea059309e06cef3e1c0.zip
Explain that bytecode depends on metadata
Diffstat (limited to 'docs/miscellaneous.rst')
-rw-r--r--docs/miscellaneous.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index 7be46eac..914dfacd 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -317,6 +317,12 @@ Comments are of course also not permitted and used here only for explanatory pur
.. note::
Note the ABI definition above has no fixed order. It can change with compiler versions.
+.. note::
+ Since the bytecode of the resulting contract contains the metadata hash, any change to
+ the metadata will result in a change of the bytecode. Furthermore, since the metadata
+ includes a hash of all the sources used, a single whitespace change in any of the source
+ codes will result in a different metadata, and subsequently a different bytecode.
+
Encoding of the Metadata Hash in the Bytecode
=============================================