From b5e76d8af6ee16c710d3b71446c66a5c7dabce53 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sat, 24 Jun 2023 19:55:23 -0700 Subject: [PATCH] Clarify note on metadata generation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b78d2f..a84dfde 100644 --- 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 -- 2.47.3