Closed bernard-wagner closed 2 months ago
It doesn't really matter, the bytecode is embedded into the binary, if you want to update the test contract with new functions then just recompile with anything, paste the bytecode in, and automatically update the test assertions
Currently
testdata/Counter.sol
specifiespragma solidity ^0.8.13;
. When recompiling with a more recent version ofsolc
the bytecode of the contract intest_trace_printing
differs. This hinders the development of new tests.Recommend pinning to an exact version of
solc
to ensure the bytecode is reproducible. Also worth including thesolc --version
output alongside the command information already provided.Happy to make the PR, but not sure what version of
solc
was used to generate the current bytecode version. Tried usingsolc-select
and compiling with[0.8.13...0.8.26]
and I wasn't able to reproduce the bytecode.