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
Make contracts 4.24 compatible #951
Make contracts 4.24 compatible #951
Conversation
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.
Awesome @artiebits, thanks a lot. We usually wait around a month after solc is released to update, so this will be perfect for our next release.
However, because we were slow to review this now it has some conflicts. Can you please rebase?
Also, please update the truffle version.
package.json
Outdated
@@ -58,7 +58,7 @@ | |||
"ganache-cli": "6.1.0", | |||
"solidity-coverage": "^0.5.0", | |||
"solium": "^1.1.7", | |||
"truffle": "^4.1.8", | |||
"truffle": "^4.1.9", |
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.
This should be 4.1.11:
https://github.com/trufflesuite/truffle/releases/tag/v4.1.11
@ElOpio np, rebased and updated |
Sorry @artiebits, once more. |
oops we did it again π I'll personally avoid merging any more PRs until this one is merged. sorry for the extra work, @artiebits |
Any chance merging this and #1002? It would simplify our life at the Solidity repo a lot :) |
@axic will do! |
Also it'd be cool if these sort of upgrades were done automatically by a bot in the future, since it's a pretty easily automatable (but human-checkable) operation |
Btw, people with write access to this repo should be able (unless specifically disabled by the owner) to push to @artiebits PRs. |
no worries, updated |
This should be possible using Solium's fix mode! |
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.
a quick search for 0.4.23
in the project shows no missing pragmas, so we're good to go
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.
LGTM
π Description
npm run lint:all:fix
).Truffle updated solc to 0.4.24 as well.
Warnings fixed:
keccak256
only accepts a single "bytes" argument.