aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-04-26 21:34:26 +0800
committerGitHub <noreply@github.com>2017-04-26 21:34:26 +0800
commitc02bcaea043032107dd6343e5c68cc948a6a88c2 (patch)
tree09a99322dd94ef170491f0212564d212ed09816e /docs
parent3cbdf6d490c6871d58f12f877cdc84111a7325c1 (diff)
parent8a5feb8c490e38961da68ea059309e06cef3e1c0 (diff)
downloaddexon-solidity-c02bcaea043032107dd6343e5c68cc948a6a88c2.tar.gz
dexon-solidity-c02bcaea043032107dd6343e5c68cc948a6a88c2.tar.zst
dexon-solidity-c02bcaea043032107dd6343e5c68cc948a6a88c2.zip
Merge pull request #2168 from ethereum/docs-metadata-clarify
Clarify some metadata implications
Diffstat (limited to 'docs')
-rw-r--r--docs/miscellaneous.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index 2865d884..914dfacd 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -314,6 +314,14 @@ 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
=============================================