📖 Removal of Bytecode Metadata #75
-
The README currently has this note regarding bytecode metadata:
I compiled the smart contract using the standard input JSON linked in the README (this file) on both Windows and Windows Subsystem for Linux (WSL) and the bytecode matches across systems. I tested compiling both with and without the bytecode metadata. See my repo CreateX-compilation-test to reproduce: Windows (PowerShell): PS> solc --version
solc, the solidity compiler commandline interface
Version: 0.8.23+commit.f704f362.Windows.msvc
PS> .\build.ps1
Algorithm Hash Path
--------- ---- ----
SHA256 54A8FA2DF078CB1199A4479FB1277AA1148B107896BE2AE5D900A4E5607A18B1 C:\...\CreateX-powershell.bin
SHA256 318D86DA5FBEA2FE20131FC3C16F4F0F01A4BF86371549546FFCC10A607F17C0 C:\...\CreateX-with-metadata-powershell.bin WSL (bash): $ solc --version
solc, the solidity compiler commandline interface
Version: 0.8.23+commit.f704f362.Linux.g++
$ ./build.sh
54a8fa2df078cb1199a4479fb1277aa1148b107896be2ae5d900a4e5607a18b1 ./CreateX-bash.bin
318d86da5fbea2fe20131fc3c16f4f0f01a4bf86371549546ffcc10a607f17c0 ./CreateX-with-metadata-bash.bin Can you share more details about which parts of the compilation are affected by the If there's differences in other |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@ardislu very good question! Let me elaborate on our design decision:
I hope this clarifies our choice. |
Beta Was this translation helpful? Give feedback.
@ardislu very good question! Let me elaborate on our design decision: