Commit Graph

194 Commits

Author SHA1 Message Date
David Palm 303c5f4742 WIP 2020-09-15 23:41:28 +02:00
David Palm b3687af2bf Merge branch 'staking' of github.com:paritytech/substrate-subxt into staking
* 'staking' of github.com:paritytech/substrate-subxt:
  Fmt
  Test contract instantiate
  Revert contracts put_code test to pure code (not using the macro)
2020-09-15 11:36:02 +02:00
Demi M. Obenour 95c89009dd Merge remote-tracking branch 'origin/aj-contract-test' into staking 2020-09-14 12:03:12 -04:00
Andrew Jones 92bcd26c81 Fmt 2020-09-14 16:13:17 +01:00
Andrew Jones 0e7bc2d2e5 Test contract instantiate 2020-09-14 16:12:48 +01:00
Andrew Jones 9a8680246e Revert contracts put_code test to pure code (not using the macro) 2020-09-14 13:44:11 +01:00
David Palm 1394bb91a4 Merge branch 'staking' of github.com:paritytech/substrate-subxt into staking
* 'staking' of github.com:paritytech/substrate-subxt:
  Remove more junk
  Remove a pointless change in Cargo.toml
  Remove more code not needed for Ledgeracio
  More deletions
  Remove some code Ledgeracio does not need
  Fix header
  Fix tests
  If property fetch fails, use dummy values
  Chill support and update to latest Substrate
  Add in all default features for debugging
  Make `PayoutStakersCall` public
2020-09-14 10:37:12 +02:00
Demi M. Obenour b253a7ab39 Remove more junk 2020-09-11 21:37:06 -04:00
Demi M. Obenour c622641a8e Remove a pointless change in Cargo.toml
w.r.t. upstream.
2020-09-11 20:47:02 -04:00
Demi M. Obenour 1df5a64024 Remove more code not needed for Ledgeracio 2020-09-11 20:26:14 -04:00
Demi M. Obenour 9f34f76d81 More deletions 2020-09-11 19:42:46 -04:00
Demi M. Obenour 33f1710909 Remove some code Ledgeracio does not need 2020-09-11 19:37:00 -04:00
Demi M. Obenour 0084f87575 Fix header 2020-09-11 16:20:08 -04:00
Demi M. Obenour d3865a613e Fix tests 2020-09-11 15:40:45 -04:00
David Palm 773d43e4ce Merge branch 'master' into staking
* master:
  decode option event arg (#158)
  Release v0.12.0 (#157)
  Only return an error if the extrinsic failed. (#156)
  Update to rc6. (#155)
  Different assert. (#153)
  Add a method to fetch an unhashed key, close #100 (#152)
  Fix port number. (#151)
2020-09-11 12:35:46 +02:00
Demi M. Obenour dd15f22f38 Merge branch 'master' into staking 2020-09-08 21:07:34 -04:00
Greg Hill e85d01ed08 decode option event arg (#158)
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
2020-09-07 14:58:45 +01:00
Demi M. Obenour 3efe16f2ff If property fetch fails, use dummy values 2020-09-06 18:12:25 -04:00
Andrew Jones af45c39fb1 Release v0.12.0 (#157)
* Bump version, update changelog

* Bump proc-macro crate

* Bump client crate
v0.12.0
2020-09-01 15:54:01 +01:00
David Craven e9c50e21d0 Only return an error if the extrinsic failed. (#156) 2020-09-01 11:15:04 +01:00
Demi M. Obenour 274412745b Chill support and update to latest Substrate 2020-08-31 15:21:16 -04:00
Demi M. Obenour b03b28b9f0 Add in all default features for debugging 2020-08-28 14:28:33 -04:00
Demi M. Obenour 8bcde31499 Merge branch 'master' into staking 2020-08-28 14:24:26 -04:00
David Craven 3ea9d3b8bb Update to rc6. (#155)
* Update to rc6.

* Fix clippy warnings.
2020-08-25 09:50:14 +01:00
Demi M. Obenour 93fafcd8ac Merge remote-tracking branch 'origin/master' into staking 2020-08-24 13:36:10 -04:00
Demi M. Obenour 59decaf575 Make PayoutStakersCall public 2020-08-17 13:49:35 -04:00
David Craven eac2ce3b2a Different assert. (#153) 2020-08-17 09:14:26 +01:00
Yuanchao Sun 59b9c117b7 Add a method to fetch an unhashed key, close #100 (#152)
* Add a method to fetch an unhashed key, close #100

* Return decoded value

* Refactoring
2020-08-13 21:06:30 +01:00
Demi M. Obenour c330e687b1 Era reward points support 2020-08-13 11:54:44 -04:00
David Craven 9aa32ef63d Fix port number. (#151) 2020-08-13 16:04:30 +01:00
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