Skip to content
Unverified Commit 51e5d775 authored by Zeke Mostov's avatar Zeke Mostov Committed by GitHub
Browse files

feat: Add proxy methods and `staking.payoutStakers` (#172)



* Add proxy methods and delete democracy methods

* Bump @polkadot

* Tests proxy; Deprecated metadata for democracy tests; Add payoutStakers

add example back


add back democracy

Add back democracy methods

Add payoutStakers and remove payoutNominators and payoutValidators

Add old metadata and use for unit tests of deprecated democracy method

rename folder of examples tests for new functions

* Update doc comments for proxy methods to list proxy types

Incorporate joes comments

* Insert console warn deprecation for democracy proxy methods

* Rename TEST_OPTIONS to KUSAMA_TEST_OPTIONS

* Put back deprecated staking methods; More descriptive name for old metadata

Remeber export statements for old payout methods

* Generate docs with `yarn docs`

* Add @depcrated doc strings

* Apply suggestions from Joe's doc code review

Co-authored-by: default avatarjoe petrowski <[email protected]>

* Add docs indicating methods only callable when elections are closed

* Generate updated docs with `yarn docs`

* Update src/methods/proxy/proxy.ts

* Update src/methods/proxy/removeProxies.ts

* Update src/methods/proxy/removeProxy.ts

* Update src/methods/staking/payoutStakers.ts

* Bump @polkadot/api to 1.19.0-beta.3

* Remove temp examples; Correct bob address in test util;

* One more address

* tiny linting error

* Fix failing tests by using CC1 base tx info

* Ignore deprecated static metadata

* Explain deprecated metadata

* Tiny comment enhancement

Co-authored-by: default avatarjoe petrowski <[email protected]>
parent 7b18c7bb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment