]> git.ardis.lu - solc-metadata/commitdiff
Clarify note on metadata generation
authorArdis Lu <ardisglu@gmail.com>
Sun, 25 Jun 2023 02:55:23 +0000 (19:55 -0700)
committerArdis Lu <ardisglu@gmail.com>
Sun, 25 Jun 2023 02:55:23 +0000 (19:55 -0700)
README.md

index 7b78d2fe408661cb5adc3c5ca5a630ca6ec2658d..a84dfdec6c0d38f6fbba2385a4dcdf8f0fe69b5a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -12,7 +12,7 @@ By default, the Solidity compiler appends metadata to the end of a smart contrac
 
 ## Extract
 
-After the runtime bytecode is fetched, the metadata may be extracted by reading the last ~53 or so bytes from the end of the runtime bytecode. The exact length will vary depending on the version of `solc` used to compile the bytecode. See the [`solc` docs](https://docs.soliditylang.org/en/v0.8.19/metadata.html#encoding-of-the-metadata-hash-in-the-bytecode) for details about how this metadata is encoded and how exactly to extract the metadata.
+After the runtime bytecode is fetched, the metadata may be extracted by reading the last ~53 or so bytes from the end of the runtime bytecode. The exact length will vary depending on the version of `solc` and the exact compiler settings used to compile the bytecode. See the [`solc` docs](https://docs.soliditylang.org/en/latest/metadata.html#encoding-of-the-metadata-hash-in-the-bytecode) for details about how this metadata is encoded and how exactly to extract the metadata.
 
 ## Decode
 
This page took 0.048893 seconds and 4 git commands to generate.