Daniel
Daniel
You need to pass the long version string to ``loadRemoteVersion``, i.e. ``` solc.loadRemoteVersion("v0.8.7+commit.e28d00a7", (err, solc) => { console.log(err, solc); }); ``` should work. You can extract the long version string...
For the record: There's some work towards this already in https://github.com/ekpyron/solc-js/tree/constantRemoval - it still needs to be extended and properly tested, though.
In general, why would you expect different tools to format their output in exactly the same way? Is the ``0x`` prefix what you're getting at there? I'd consider that a...
Not in the "normal" solc-js test suite... what I do in https://github.com/ethereum/solidity/blob/98ec970813c47ebbb3ad9b11042116de5b89aac5/scripts/wasm-rebuild/docker-scripts/rebuild_tags.sh#L158 (part of https://github.com/ethereum/solidity/pull/8118) is to copy the "new old" ``soljson.js`` over to test it - that's how I...
Not sure how difficult it would be to let the npm/tape stuff take a soljson.js file as optional argument or something like that... my experience with them is only tangential...
The remaining failing test is due to the new code transform allowing arbitrary inputs so far, but it's also perfectly fine to require disambiguated, hoisted, etc. code, so the failure...
This has more significant gains compared to https://github.com/ethereum/solidity/pull/12759 bleeps ir-optimize-evm+yul bytecode_size : -3.09 % method_gas : -0.01 % elementfi ir-optimize-evm+yul bytecode_size : -5.65 % deployment_gas : -5.17 % method_gas :...
This is the output of the benchmark differ (https://github.com/ethereum/solidity/pull/12804) for the IR-OPTIMIZE-EVM+YUL run (the rest remains unaffected): ### `ir-optimize-evm+yul` | project | bytecode_size | deployment_gas | method_gas | |:----------------:|---------------:|---------------:|---------------:| |...
Rebased again - my guess is that this has less of an effect after https://github.com/ethereum/solidity/pull/12731 now, but I'd say we should still do it.
Still seems to have some positive effects, even though mainly on bytecode size apparently: | project | bytecode_size | deployment_gas | method_gas | |------------------|---------------|----------------|------------| | bleeps | -1.6% | 0%...