Demi M. Obenour
28533f68d4
Expose clipped exposure
2020-08-12 17:39:45 -04:00
Demi M. Obenour
d5b11382d0
Era rewards point support
...
I also did some refactoring.
2020-08-12 14:59:15 -04:00
Demi M. Obenour
da3667572b
Expose properties and per-era preferences
2020-08-11 21:24:46 -04:00
Demi M. Obenour
6bf960f55f
Fix compilation errors
2020-08-07 21:44:41 -04:00
Demi M. Obenour
e829a46350
Merge branch 'master' into staking
2020-08-05 12:57:15 -04:00
Demi M. Obenour
ae676c9a06
Merge branch 'master' into staking
2020-08-05 12:50:35 -04:00
Andrew Jones
663934ca37
Fetch paged storage keys
2020-08-03 12:40:37 +01:00
David Craven
e6f3a82f99
Rc5 ( #143 )
...
* Update to rc6.
* Update runtime.
* Update node to rc6.
* Update client.
* Fix node.
* Add option to enable telemetry.
2020-07-27 08:53:02 +01:00
Andrew Jones
cd6b8f43f1
Refactor: extract functions and types for creating extrinsics ( #138 )
...
* Extract extrinsic
* Extract extrinsic types to own module
* Fix compiler errors
* Fix warnings
* Fmt
* Pin wabt-sys to 0.7.1, it fails (on my machine) with 0.7.2
* Fix up tests
* Fmt
* Reexport RuntimeVersion
2020-07-20 09:17:19 +01:00
Andrew Jones
d3e9e3f757
Upgrade to substrate rc4 release ( #131 )
...
* Upgrade to substrate rc4 release
* Fix up test-node/service
* Fix up client node config
* Fix up remaining compilation errors
* Fmt
* Remove fixme
* Fix test
* Release v0.10.0
2020-06-29 09:32:07 +01:00
Demi M. Obenour
d3df9eabe0
Bump deps and fix build
2020-06-25 21:14:00 -04:00
Demi M. Obenour
f15c5f6373
Merge branch 'master' into staking
2020-06-25 19:36:30 -04:00
David Craven
7f0847107c
Events sub ( #126 )
...
* Make event subscription logic more generic.
* Fix build.
* Add test-node.
* Update deps.
* Address review comments.
2020-06-25 07:05:00 +01:00
David Craven
3080ec91a6
Improve error handling in proc-macros, handle DispatchError etc. ( #123 )
...
* Improve error handling.
* Fix build.
* Handle runtime errors.
* Add runtime trait for better type inference.
* Use runtime trait part 1.
* wip
* Add support for sudo.
* Finish error handling.
* Fix tests.
* Fix clippy warnings.
2020-06-22 07:39:40 +01:00
Demi M. Obenour
a95fd8a588
Use some upstream type definitions
...
Also add `Default` impls.
2020-06-19 13:02:11 -04:00
Demi M. Obenour
2bea59fac9
Fix return type of BondedStore
2020-06-18 13:53:14 -04:00
Demi M. Obenour
90e3b9bb4e
Add Debug impls
2020-06-18 13:44:20 -04:00
Demi M. Obenour
d4d7b1d7a4
Merge branch 'master' into staking
2020-06-16 13:02:38 -04:00
David Craven
21d07c6c24
Support embedded full/light node clients. ( #91 )
...
* Add support for light clients.
* Add wasm toolchain to ci.
* Fix ci tests.
* Address review comments.
* Use expect instead of unwrap.
* Purge light client chain too.
* Add README section.
2020-06-15 08:01:16 +01:00
Demi M. Obenour
7587469c53
Merge branch 'master' into staking
2020-06-08 12:11:31 -04:00
David Craven
91203b91d3
Zero sized types ( #121 )
...
* Fix zero sized types.
* Cleanup.
* Expose genesis hash.
* Fix clippy warnings.
* Readd default type sizes for now.
* Cleanup ret type.
2020-06-08 12:25:51 +01:00
Demi M. Obenour
5bdeee4476
Merge branch 'master' into staking
2020-06-07 12:42:37 -04:00
Demi M. Obenour
067c6f9c74
Implement set_keys
...
This is needed for Ledgeracio.
2020-06-03 00:49:55 -04:00
Demi M. Obenour
57e2390a71
Switch to associated types for Staking
2020-06-02 20:28:04 -04:00
David Craven
26ada75dec
Fix optional store items. ( #120 )
...
* Fix optional store items.
* Support querying a block hash.
2020-06-01 12:24:56 +01:00
Demi M. Obenour
3314ea1dcb
Implement set_payee call
2020-05-31 17:07:23 -04:00
Demi M. Obenour
49b3b1e820
Use the correct key for staking maps
...
They use the key type, not ‘PhantomData’.
2020-05-31 16:57:39 -04:00
Demi M. Obenour
c4942c45a8
Reformat
2020-05-28 12:34:08 -04:00
Demi M. Obenour
7868f2c3f4
Merge branch 'async-signer' into staking
2020-05-27 22:01:01 -04:00
Demi M. Obenour
193104c5e9
Make signing fallable and asynchronous
...
This is needed for hardware wallets, which require human confirmation to
sign transactions. Blocking on a human to sign transactions is not a
good idea, and the signing might fail for many reasons (device
unplugged, authorization not granted, etc).
2020-05-27 21:55:07 -04:00
Demi M. Obenour
ab9612b381
Respond to code review
...
This fixes most of the issues found during review, with the exception of
tests.
2020-05-27 14:40:09 -04:00
Demi M. Obenour
aaf190e1b9
Fix compilation errors and remove useless lifetimes
2020-05-18 19:20:18 -04:00
Demi M. Obenour
ebfdc17459
Add staking payout support
2020-05-17 17:34:24 -04:00
Demi M. Obenour
1b4dc07f77
Don’t impl ‘Staking’ for all ‘T: System’
2020-05-17 15:50:02 -04:00
Demi M. Obenour
ffbffd44eb
Use ‘#[module]’ and implement session for Kusama
2020-05-17 15:34:50 -04:00
Demi M. Obenour
88ac3cb2a8
Use the #[module] macro
...
This fixes a compile error
2020-05-17 13:46:15 -04:00
Demi M. Obenour
716dd13313
Try to implement nomination
...
This currently fails with compilation errors I do not understand.
2020-05-16 20:56:14 -04:00
Demi M. Obenour
ff967e9ff6
Reformat
2020-05-15 18:22:09 -04:00
Demi M. Obenour
cfabfe8ca2
Add partial session support
2020-05-15 18:17:55 -04:00
Demi M. Obenour
a28fb20264
Staking: use proc macros
2020-05-15 16:25:28 -04:00
Demi M. Obenour
872123766b
Merge branch 'master' into staking
2020-05-14 12:22:18 -04:00
David Craven
f861f3fac4
Split subxt ( #102 )
...
* Proc macro improvements.
* Use proc-macros.
* Update examples.
* Fix build.
* Run rustfmt.
* Fix total issuance test.
* Remove gas limit from put code call.
* Handle runtime errors.
* Fix tests.
* Make test more reliable.
* Revert "Handle runtime errors."
This reverts commit 26f30a9f4cfcfddfb3e49308cded46cfe6468697.
* Use expect instead of unwrap.
* Parse marker type.
* Fetch doesn't fail.
2020-05-12 12:25:22 +01:00
Andrew Jones
f2c42f88cf
Update to substrate alpha.7 release ( #105 )
...
* Update to substrate alpha.7
* Remove gas limit from contracts put code
* Rename SystemEvent::ReapedAccount to KilledAccount
* Log debug event received before attempting to decode
* Temporary registration of Balance type before #102 merged
* Show contract test errors, increase instantiate gas_limit
2020-05-06 09:15:14 +01:00
Demi M. Obenour
3d6e2eebbc
Reformat
2020-05-05 10:30:59 -04:00
Demi M. Obenour
fef1260a00
Fix missing documentation
2020-05-01 17:57:36 -04:00
Demi M. Obenour
93c347cb18
Remove dead code
2020-05-01 15:31:19 -04:00
Demi M. Obenour
c08e22a873
Reformat
2020-04-30 20:46:18 -04:00
Demi M. Obenour
d4a085af7f
Add more staking types
2020-04-30 20:36:36 -04:00
Demi M. Obenour
10667e319a
Merge branch 'master' of github.com:paritytech/substrate-subxt
2020-04-30 18:18:44 -04:00
Demi M. Obenour
6bdf5e8d8b
Initial Staking API
2020-04-30 18:15:28 -04:00