-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove old libsolc API (compileJSON, compileJSONMulti, compileJSONCallback) #5105
Conversation
s_outputBuffer = compileMulti(_input, _optimize, _readCallback); | ||
return s_outputBuffer.c_str(); | ||
} | ||
extern char const* compileStandard(char const* _input, CStyleReadFileCallback _readCallback) noexcept |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm kind of leaning towards keeping this single line for now (during the release candidate time) so that projects can easily test it with truffle.
Changelog.md
Outdated
@@ -11,6 +11,8 @@ How to update your code: | |||
|
|||
Breaking Changes: | |||
* ABI Encoder: Properly pad data from calldata (``msg.data`` and external function parameters). Use ``abi.encodePacked`` for unpadded encoding. | |||
* C API (``libsolc``): Removed the ``version``, ``license``, ``compileSingle``, ``compileJSON``, ``compileJSONCallback`` methods |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps emphasize that this also applies to solc-js if used directly?
Codecov Report
@@ Coverage Diff @@
## develop #5105 +/- ##
===========================================
- Coverage 88.1% 88.01% -0.09%
===========================================
Files 323 322 -1
Lines 32647 32319 -328
Branches 3873 3849 -24
===========================================
- Hits 28763 28447 -316
+ Misses 2585 2581 -4
+ Partials 1299 1291 -8
|
174bfb1
to
8785f6e
Compare
I'm wondering whether the failure on travis is a problem or not. |
I replaced the "npm install solc" by a 'git clone' so we get the updated solc-js version, this should fix the travis tests. |
Cannot comment on the line, but the storebytecode needs to be fixed
This doesn't point to the |
Rebased and fixed |
Depends on #5104 and ethereum/solc-js#259.
Closes #3452.