-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support json rpc 2.0 with
author_submitAndWatchExtrinsic
trusted ca…
…lls (#1623) * add workaround to support json rpc 2.0 with `author_submitAndWatch` trusted call * update trusted_op_direct_request * fix obsolete imports in rpc_responder * make direct request no longer generic, it can only return the hash anyhow, we can easily introduce it later. * fix deserializing rpc response * [cli/trusted_operation] remove unnecessary nesting * fix clippy * extract await status update * [cli] fix correctly extract hash in benchmarks * fmt * add check that we can only us direct_calls in send direct request * improve logs * add comment about storing initial top hash * add todos for rpc refactor. * better comment * add more comments * fix handling of indirect calls * derive copy for trusted operation status * fix type inference in trusted transfer cmd * [cli] merge await status update from benchmark and send_direct_request into one function. * [cli] partially fix benchmarks * fix clippy * fix local setup for two workers * [cli] fix: always close client in trusted_operation and return if the status is invalid.
- Loading branch information
Showing
16 changed files
with
291 additions
and
177 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.