-
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
Various WASM client updates #1489
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## albatross #1489 +/- ##
=============================================
- Coverage 65.28% 64.95% -0.33%
=============================================
Files 424 425 +1
Lines 52121 52376 +255
=============================================
- Hits 34027 34021 -6
- Misses 18094 18355 +261
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 6 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Rebasing it to get it merged |
To be consistent with 1.0 client and across all methods, as the upcoming add_transaction_listener method will have to be async.
Because the API is mostly async, two async methods of which one takes `&mut self` and the other takes `&self` cannot be called at the same time. This prevents adding event listeners while waiting for waitForConsensusEstablished for example.
…urned Even when no peers accepted the subscription.
25c1b25
to
81bb56d
Compare
What's in this pull request?
PlainBlock
generated Typescript types, which were invalid beforeasync
, like they have been in the 1.0 client and to be consistent (because the tx listener method must be async as it does network requests to subscribe at peers)getAccount
andgetAccounts
methods on the client (enabled by Create the accounts proof request #1408 & Allow to prove the non-existence of keys #1484)serialize
method to Address for compatibility&mut self
methodsaddTransactionListener
from failing when called without peersThis relates to #1339.
Pull request checklist
clippy
andrustfmt
warnings.