-
Notifications
You must be signed in to change notification settings - Fork 443
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
[ink_e2e]
method to generate and fund unique accounts
#1615
Conversation
This commit lets us grab what's in the output buffer after our call to `instantiate`, however we are unable to succesfully decode the `AccountId` from the success case.
I accidently introduced this not knowing that the generic `C` was for the return type
Is supposed to help give better error messages if somebody uses a wrong type with the builder
Co-authored-by: Andrew Jones <ascjones@gmail.com>
Fixes some inconsistent errors between Clippy and `rustc`
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.
Nice! Would love to see this as part of the environment eventually. Could you create a follow-up so we don't forget about it?
Co-authored-by: Michael Müller <mich@elmueller.net>
I suggest to merge #1591 first, then we can merge this into |
Codecov Report
@@ Coverage Diff @@
## master #1615 +/- ##
==========================================
- Coverage 64.84% 64.68% -0.16%
==========================================
Files 205 207 +2
Lines 6286 6417 +131
==========================================
+ Hits 4076 4151 +75
- Misses 2210 2266 +56
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Allows individual tests to generate their own unique accounts to avoid the problem of race conditions between tests using the same account, causing failures in #1591.
Can consider integrating this into the environment somehow, but for now providing the method is a good start.
master
. So this PR view shows commits and changes from those PRs.For the clean diff see the commit view 8321e6f