Commit Graph
8 Commits
Author SHA1 Message Date
Liu-Cheng Xu 414f81774d Add NextKeys and QueuedKeys for session module (#291)
* Add NextKeys and QueuedKeys for session module

* Fix fmt
2021-08-23 12:16:24 +01:00
Liu-Cheng Xu 490836fa2d Reorg the order of deps (#284)
* Reorg the order of deps

This patch is simply for easier editor operation when replacing the
substrate deps.

* .
2021-06-06 17:10:34 +01:00
Liu-Cheng Xu cef6d697b8 Expose the rpc client in Client (#267)
When we build a `Client` for a substrate chain, we can only access the
methods exposed in `Client` which does not cover all the RPC interfaces
in the chain, it's not feasible to request the methods like `chain_getKeys`
with `Client` only. The downstream user of this library has to build another
`RpcClient` for the uncovered RPC interfaces, which can be unneccessary.
2021-05-21 11:45:34 +01:00
Liu-Cheng Xu 0415b5d1f4 Use async-trait (#264)
* Use async-trait

* Use async-trait for store trait too
2021-04-14 16:20:24 +01:00
Liu-Cheng Xu 5a0201c130 Add Balances Locks (#197)
* Add Balances Locks

* Pass fmt

* Add tests for Balances Locks

In order to write this test, I just added the new staking::BondCall :).

* .

* In case you want to run multiple tests at the same time

* Return Result in integration test
2021-01-15 09:34:35 +00:00
Liu-Cheng Xu 0c7454dfcd Display RawEvent data in hex (#168)
So that printing the RawEvent won't comsume more than the whole screen.
2020-09-21 10:32:41 +01:00
Liu-Cheng Xu e843bd670f Add SudoUncheckedWeightCall (#167)
* Add SudoUncheckedWeightCall

* Add test_sudo_unchecked_weight()

* Fix CI

Use nightly fmt.

* .
2020-09-21 09:22:57 +01:00
Liu-Cheng Xu ce22986a75 Add SetCodeWithoutChecksCall (#166) 2020-09-17 15:20:48 +01:00