diff options
author | Chris Ward <chriswhward@gmail.com> | 2018-09-27 00:32:16 +0800 |
---|---|---|
committer | Chris Ward <chriswhward@gmail.com> | 2018-09-27 00:32:16 +0800 |
commit | 663fbf213e04d3a0ff2979764ec563c8984237dd (patch) | |
tree | f8adb56a5e2e68285361ede2f10948bb72f7744f /docs/metadata.rst | |
parent | a17ca003ccd125f68ea7d472a2e006c64c1cc1b1 (diff) | |
download | dexon-solidity-663fbf213e04d3a0ff2979764ec563c8984237dd.tar dexon-solidity-663fbf213e04d3a0ff2979764ec563c8984237dd.tar.gz dexon-solidity-663fbf213e04d3a0ff2979764ec563c8984237dd.tar.bz2 dexon-solidity-663fbf213e04d3a0ff2979764ec563c8984237dd.tar.lz dexon-solidity-663fbf213e04d3a0ff2979764ec563c8984237dd.tar.xz dexon-solidity-663fbf213e04d3a0ff2979764ec563c8984237dd.tar.zst dexon-solidity-663fbf213e04d3a0ff2979764ec563c8984237dd.zip |
Return note taken from metadata and reorder
Diffstat (limited to 'docs/metadata.rst')
-rw-r--r-- | docs/metadata.rst | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/metadata.rst b/docs/metadata.rst index 9c4f2574..180b0647 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 ============================================= |