Skip to content
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

v0.0.7 - Upgrade to Solidity v0.5.0 #22

Merged
merged 25 commits into from
Feb 27, 2019
Merged

v0.0.7 - Upgrade to Solidity v0.5.0 #22

merged 25 commits into from
Feb 27, 2019

Conversation

GNSPS
Copy link
Owner

@GNSPS GNSPS commented Feb 27, 2019

This version has a refactored codebase to support Solidity's v0.5.x breaking syntax changes.

Thank you so much to @fubuloubu for the awesome contribution! 😄 🙌

GNSPS and others added 25 commits January 25, 2018 00:03
Multiples of 32 bytes can now be safely sliced
Though I really like Nick Johnson's string library this has been built entirely by me (as opposed to what the NatSpec comment in the top said since the last commit 😄) I just copied the comment layout on top of his library and forgot to change the author 😂
* Add uint8, uint16, uint32

* Unit test for uint8, uint16, uint32
* (refactor) Changed codebase to Solidity v0.5.0

* Style changes
* Added `memory` everywhere to bytes and strings
* `target.call(data)` now returns a tuple

* Adding note about compiler support in the README + typo fix

* Replaced the ThrowProxy pattern for a better v0.5.x one

ThrowProxy was giving problems while testing with the JS-VM with the Constantinople hard-fork. So I changed the tests to stop using that pattern and use function selectors since that's now a thing.

It is cleaner now.
@GNSPS GNSPS merged commit 14ca2bd into master Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants