- Nov 02, 2020
-
-
Zeke Mostov authored
* build: Update internals to no longer use `Decorated` * Correct spelling
-
- Oct 05, 2020
-
-
Zeke Mostov authored
* fix: Update from TRANSASCTION_VERSION to EXTRINSIC_VERSION * Remove stray code
-
- Oct 02, 2020
-
-
Zeke Mostov authored
* feat: Add `proxy.{proxyAnnounced, announce}`, `utility.asDerivative` * Add docs to methods; Run yarn docs * Update src/methods/utility/asDerivative.spec.ts Co-authored-by: David <[email protected]> * Explain proxy filtering * Update doc comments * Yarn docs Co-authored-by: David <[email protected]>
-
- Sep 04, 2020
-
-
Zeke Mostov authored
* Tests not working * Tests working * small update' * bug: Update `addProxy` and `removeProxy` * Add rejectProxy` * Update exports * Apply suggestions from code review Co-authored-by: joe petrowski <[email protected]> * Run yarn docs Co-authored-by: joe petrowski <[email protected]>
-
- Sep 02, 2020
-
-
Zeke Mostov authored
-
- Aug 20, 2020
-
-
Zeke Mostov authored
Co-authored-by: joe petrowski <[email protected]>
-
- Aug 05, 2020
-
-
psiofxt authored
-
- Aug 04, 2020
-
-
Zeke Mostov authored
-
- Jul 16, 2020
-
-
Jack Kearney authored
Co-authored-by: Jack Kearney <[email protected]>
-
- Jul 14, 2020
-
-
Zeke Mostov authored
Delete unused util code Add error for approvals array of incorrect length remove test Add space
-
- Jul 11, 2020
-
-
Zeke Mostov authored
* Lock us to specific config version * Add utilit.batch and its tests * Hard code eslintrc, tsconfig, & prettierrc updates to disable Add disable disables in decode signed tx add disables Fix * Hard code eslintrc, tsconfig, & prettierrc updates to disable Add disable disables in decode signed tx add disables Fix Revert tabs to spaces Reduce disable statements Remove stray disable * Add staking.rebond Remove unused lints update test to use a balance.transfers Update tests Testing working * Add space * Correct method name
-
- Jul 10, 2020
-
-
Zeke Mostov authored
* Lock us to specific config version * Add utilit.batch and its tests * Hard code eslintrc, tsconfig, & prettierrc updates to disable Add disable disables in decode signed tx add disables Fix * Hard code eslintrc, tsconfig, & prettierrc updates to disable Add disable disables in decode signed tx add disables Fix Revert tabs to spaces Reduce disable statements Remove stray disable * Go back to spaces * Remove unused lints * update test to use a balance.transfers Update tests Co-authored-by: joepetrowski <[email protected]>
-
Zeke Mostov authored
-
- Jun 24, 2020
-
-
Zeke Mostov authored
* feat: Add `staking.setPayee` Setup spec for setPayee Finish checking with the example template Generate docs * Update src/methods/staking/setPayee.ts Co-authored-by: joe petrowski <[email protected]> * Upgrade @polkadot-js deps * Update payout stakers test Co-authored-by: joe petrowski <[email protected]>
-
- Jun 16, 2020
-
-
Zeke Mostov authored
* 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: joe 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: joe petrowski <[email protected]>
-
- Jun 06, 2020
-
-
Amaury Martiny authored
* Make it work * Update README * Make it work * Add example * Better comment * Better signWith * Add docs * Update README * yarn docs * Nits
-
- May 26, 2020
-
-
Amaury Martiny authored
* feat: Add attest and claimAttest * Update polkadot * Docs * Remove skipped tests * Fix test due to polkadot/api * docs changes * yarn doc * Add utilities for claiming and attesting * Docs * add claim example * Update SAFT hash * Typo * Fix tests * add encodeunsigned (#155) * export encodeUnsignedTransaction * docs * Update src/util/encodeUnsignedTx.ts Co-authored-by: Amaury Martiny <[email protected]> * Update api Co-authored-by: joepetrowski <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
- May 22, 2020
-
-
Amaury Martiny authored
* feat: Add system.remark * yarn docs
-
- May 21, 2020
-
-
Amaury Martiny authored
* fix(deps): Bump @polkadot/api to v1.15.0-beta.8 * withdrawUnbonded takes args * docs
-
- May 20, 2020
-
-
Amaury Martiny authored
* docs: Make getRegistry docs clearer * Docs Co-authored-by: joe petrowski <[email protected]>
-
- May 18, 2020
-
-
Amaury Martiny authored
BREAKING CHANGE: `BaseTxInfo` now takes an additional `transactionVersion` field.
-
- May 16, 2020
-
-
Amaury Martiny authored
BREAKING CHANGE: This refactor breaks compatibility with v1, as all functions now require a `{ metadataRpc?, registry }` last argument. #### Rationale In v1, by not passing any last argument, we implicitly used Kusama's most recent TypeRegistry. This was a handy shortcut, but might create hard-to-debug issues down the road (e.g. using another chain, or using Kusama with an incompatible spec version). In v2, we never default to Kusama anymore, and always require the user passing the registry (and sometimes the metadata too, if needed, see docs for details). Example 1: ```diff + // Get Kusama's registry at `specVersion` + const registry = getRegistry('Kusama', 'kusama', specVersion); const unsigned = methods.balances.transfer( { dest: '1F...', value: 23 }, { // other info about tx - metadataRpc: metadataRpc, - } + }, { + metadataRpc: metadataRpc, + registry: registry + } ); ``` Example 2: ```diff const unsigned = {...}; const signature = '...'; + // Get Kusama's registry at `specVersion` + const registry = getRegistry('Kusama', 'kusama', unsigned.specVersion); - const signed = createSigned(unsigned, signature); + const signed = createSigned(unsigned, signature, { + metadataRpc: unsigned.metadata, + registry, + }); ``` Here is the full list of breaking changes: - `decode` function taking 3 arguments was deprecated in v1, in favor or 2 arguments. In v2, `decode` takes exactly 2 arguments. - `createSigningPayload`, `createSignedTx`, `methods.*.*` functions all take a mandatory last argument `{ metadataRpc?, registry }`. Note that the `metadata` field has been renamed to `metadataRpc`. Whether a function needs `metadataRpc` is documented for each function. - `deriveAddress`'s 2nd argument `ss58Format` is now mandatory, and does not default to Kusama's prefix anymore.
-
- May 11, 2020
-
-
Amaury Martiny authored
* fix: Allow balance transfer value as string * Add eraPeriod * Add backwards compatibility * Change comments * Change default to 64 * Generate docs
-
- Apr 30, 2020
-
-
Amaury Martiny authored
* Add polkadot example * fix: Use ss58 from chain properties * docs * Remove some functions from docs * Add comment
-
- Apr 27, 2020
-
-
Amaury Martiny authored
* fix: Add options parameter to all methods * Add comments * Docs * no docs on example * Small tweaks
-
- Apr 01, 2020
-
-
Amaury Martiny authored
* fix(deps): Update @polkadot/api to v1.9-stable * docs * Remove useless comment
-
- Mar 31, 2020
-
-
Amaury Martiny authored
`democracy.vote` and `democracy.proxyVote` now take a `AccountVote` object as input, instead of the simple `Vote`
-
- Mar 30, 2020
-
-
Amaury Martiny authored
* chore(deps-dev): bump @amaurymartiny/config from 1.0.11 to 1.1.0 Bumps [@amaurymartiny/config](https://github.com/amaurymartiny/config) from 1.0.11 to 1.1.0. - [Release notes](https://github.com/amaurymartiny/config/releases) - [Changelog](https://github.com/amaurymartiny/config/blob/master/CHANGELOG.md) - [Commits](https://github.com/amaurymartiny/config/compare/v1.0.11...v1.1.0) Signed-off-by: dependabot-preview[bot] <[email protected]> * Run yarn lint --fix Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
-
- Mar 17, 2020
-
-
Amaury Martiny authored
* refactor: Use registry.createType * Update polkadot/api
-
- Mar 16, 2020
-
-
joe petrowski authored
-
Amaury Martiny authored
* fix: Add options to createSignedTx and createSigningPayload * docs * Add badge on README * typo
-
- Mar 12, 2020
-
-
Amaury Martiny authored
* fix: Export methods as per doc * Add tutorial * Add README * Add spacing * Fix lint * docs * Remove example * Remove console.log * Remove mention in README
-
- Mar 11, 2020
-
-
Amaury Martiny authored
* fix: Export methods object * docs
-
Amaury Martiny authored
* docs: Better docs for payoutNominator (fixes #85) * docs
-
- Mar 10, 2020
-
-
Amaury Martiny authored
* Add staking and democracy * Add vesting * Add setController * docs * Use github actions again (it's faster) * Change on * Better comments * Docs * Update src/methods/democracy/openProxy.ts Co-Authored-By: joe petrowski <[email protected]> * Update src/methods/staking/setController.ts Co-Authored-By: joe petrowski <[email protected]> * docs * docs (again) Co-authored-by: joe petrowski <[email protected]>
-
- Feb 26, 2020
-
-
Amaury Martiny authored
* chore(deps): Update to latest @polkadot/api * Update docs
-
- Feb 12, 2020
-
-
Axel Chalon authored
-
- Feb 06, 2020
-
-
Amaury Martiny authored
* fix: Use again Capitalized enum in payee * Docs
-
- Feb 03, 2020
-
-
Amaury Martiny authored
-
- Jan 31, 2020
-
-
Amaury Martiny authored
* feat: Add chill and validate in staking * feat: Add session setKeys * FIx lint and test * Update src/methods/staking/chill.ts Co-Authored-By: joe petrowski <[email protected]> * Update src/methods/staking/validate.ts Co-Authored-By: joe petrowski <[email protected]> * Run yarn docs * Perbill * Docs Co-authored-by: joe petrowski <[email protected]>
-