-
Notifications
You must be signed in to change notification settings - Fork 72
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
update compiler version and remove deprecated entities #45
update compiler version and remove deprecated entities #45
Conversation
@mirceanis Did you get a chance to look the at PR? |
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.
Excellent work.
It took me a while to test this out since the existing test harness doesn't work on my machine any more.
We need to upgrade the test automation here as well if we want to keep improving the contract(s).
I made some suggestions regarding the way the message is hashed in the change/add/remove*Signed()
methods, for maintaining compatibility with existing codebases.
Using abi.encodePacked
instead of abi.encode
allows the caller to use simple concatenation of byte arrays instead of doing RLP encoding of arguments.
Also, since there is at most one variable-length array parameter, the warning in the solidity docs does not apply.
Thanks @mirceanis for the feedback. I have made the suggested changes. I do agree that the tests need to upgraded. It broke for me as well and I could only test it with our test-suite. I guess I could give sometime post next week to improve test cases. |
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.
Looks great!
Thank you for contributing
BTW, I have started a governance topic about did:ethr upgrades on our discord: https://discord.gg/MTeTAwSYe7 Feel free to join and share your thoughts. |
# [1.0.0](v0.0.3...1.0.0) (2022-07-07) ### Bug Fixes * update compiler version and remove deprecated entities ([#45](#45)) ([c906383](c906383)) * Merge pull request #53 from uport-project/develop ([210e1a5](210e1a5)), closes [#53](#53) [#12](#12) [#52](#52) ### Features * add deployments JSON and use an index for the module ([ae9f393](ae9f393)) * adopt hardhat for development ([#46](#46)) ([0ab4f15](0ab4f15)) ### BREAKING CHANGES * Please see #12 and #52
# [1.0.0](v0.0.3...1.0.0) (2022-07-07) ### Bug Fixes * update compiler version and remove deprecated entities ([#45](#45)) ([c906383](c906383)) * Merge pull request #53 from uport-project/develop ([210e1a5](210e1a5)), closes [#53](#53) [#12](#12) [#52](#52) ### Features * add deployments JSON and use an index for the module ([ae9f393](ae9f393)) * adopt hardhat for development ([#46](#46)) ([0ab4f15](0ab4f15)) ### BREAKING CHANGES * Please see #12 and #52
🎉 This PR is included in version 1.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR contains changes :
now
withblock.timestamp
byte
withbytes1
keccak256
implementation to one parameter implementation (latest version)0x0
address to full length address