Commit Graph

164 Commits

Author SHA1 Message Date
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 7bad6c6909 Merge branch 'master' into staking 2020-08-10 13:23:10 -04:00
Demi Obenour 511e6f5a16 Implement the concat in twox_64_concat (#150)
Co-authored-by: Demi M. Obenour <demiobenour@gmail.com>
2020-08-10 11:05:17 +01:00
Demi M. Obenour 528b218ef2 Implement the concat in twox_64_concat 2020-08-07 21:44:51 -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
David Craven 271775bf99 Storage map iter (#148)
* Add example file

* Fmt

* Add KeyIter.

* Add iter method to store proc-macro.

* Fetch all values at once.

* Update docs.

* Run rustfmt.

Co-authored-by: Andrew Jones <ascjones@gmail.com>
2020-08-05 09:08:12 +01:00
Andrew Jones 663934ca37 Fetch paged storage keys 2020-08-03 12:40:37 +01:00
Andrew Jones d3e7bd2282 Release v0.11.0 (#145)
* Bump versions

* Update changelog

* Update PR links

* Fix changelog linebreak

* Remove explicit wabt-sys dependency

* Update changelog

* Update parity-scale-codec version
v0.11.0
2020-07-31 11:02:21 +01:00
hewigovens cb23cb24e0 Fix build error, wabt 0.9.2 is yanked (#146) 2020-07-31 08:29:48 +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
Demi M. Obenour 94ce5ced27 Merge branch 'master' into staking 2020-07-17 20:58:59 -04:00
Amar Singh 015a819759 event subscription example (#140)
* added example

* fmt
2020-07-16 08:09:03 +01:00
Demi M. Obenour e80ddd4b2f Merge branch 'master' into staking 2020-07-08 18:12:23 -04:00
Demi M. Obenour fe20eb5a59 Merge remote-tracking branch 'origin/master' into staking 2020-07-08 15:53:04 -04:00
David a4ba74ed72 Document the Call derive macro (#137)
* Document the `Call` derive macro

* Obey the fmt

* Update proc-macro/src/lib.rs

Co-authored-by: Andrew Jones <ascjones@gmail.com>

* Review feedback

Co-authored-by: Andrew Jones <ascjones@gmail.com>
2020-07-07 08:20:58 +01:00
David 536c54c843 Document the #[module] macro (#135)
* Document the #[module] macro

* Obey the fmt

* Review feedback

* More docs

* Tweak wording

* tweak wording

* whitespace

* Tweak docstring
2020-07-07 08:19:44 +01:00
David Craven c6350fcc11 Support authors api. (#134) 2020-07-01 15:27:14 +01:00
Demi M. Obenour ff8e37f1d1 Remove last reference to Kusama feature 2020-06-30 10:36:25 -04:00
Andrew Jones 4265dd6a69 Release client v0.2.0 (#133)
* Bump client version

* Bump client dev dependency version

* Changelog

* Bump subxt version
2020-06-29 13:21:20 +01:00
Andrew Jones f08f316741 Release client v0.2.0 (#133)
* Bump client version

* Bump client dev dependency version

* Changelog

* Bump subxt version
2020-06-29 11:44:33 +01:00
Andrew Jones cc25207a2a Release client v0.2.0 (#133)
* Bump client version

* Bump client dev dependency version

* Changelog

* Bump subxt version
2020-06-29 10:12:21 +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
v0.10.0
2020-06-29 09:32:07 +01:00
David Craven 4ee7fb11ad Support unsigned extrinsics. (#130) 2020-06-26 07:38:37 +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
Andrew Jones 5fd83f8bdb Release v0.9.0 (#129)
* Bump version, update changelog

* Add client version
v0.9.0
2020-06-25 10:49:28 +01: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 4d8ccabcec Fix compile errors 2020-06-16 15:33:39 -04:00
Demi M. Obenour c63b74cf93 Fix syntax error in Cargo.toml 2020-06-16 13:39:33 -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 6ccfc9c0b1 Include a copy of ValidatorId
This avoids needing to depend on Polkadot.
2020-06-09 14:19:26 -04:00
Demi M. Obenour 06bc4ab977 Fix Polkadot and Kusama ‘SessionKey’ structs
I had failed to include the ‘Parachains’ component, which the default
Substrate runtime doesn’t have.
2020-06-08 22:38:56 -04: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 83c6c61042 Remove impl of Signer for Box<dyn Signer + Send + Sync>
It isn’t needed, since Box implements Deref.
2020-06-04 10:42:23 -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