-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add get_create2_address()
#80
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
well, actually I would use bytes. Since I was initially experimenting with |
I'm sorry, I just noticed that the function is converting int to 32 bytes, so there are no problems. Cool |
I actually thought about it and returned the original Added the |
Do you want me to make a release, or did you want to add something else? |
no, I wanted to add get_create_address, but as I looked, you have already implemented it |
Published v0.8.1 with this PR. |
Supersedes #79
@artemki2077, compared to your original proposal I changed
salt
to be an integer argument - do you think it is sensible? The examples I found online seem to be all usinguint256
as its type, but if in your usage you would have to call.to_bytes()
every time, we may as well have it as bytes.