- Jul 17, 2021
-
-
Tarik Gul authored
* fix: statemine controller
-
- Jul 14, 2021
-
-
Tarik Gul authored
* fix: update deps, resolutions
-
- Jul 13, 2021
-
-
Tarik Gul authored
-
- Jul 09, 2021
-
-
Lovesh Harchandani authored
* Update types for Dock
-
- Jun 30, 2021
-
-
Tarik Gul authored
fix: add `vrfDelay` as a `phase` return value for ongoing auctions to reflect VRFdelays in polkadot (#593) * fix: update tests for auctions * docs: auctions * fix: add `delay` as a phase result * fix: change delay to vrfDelay * docs: update for vrfDelay * fix: starting => startPeriod, ending => endPeriod * docs: reflect startPeriod and endPeriod
-
- Jun 29, 2021
-
-
Tarik Gul authored
* fix: update metadata consts for blockstore * fix: update metadata consts and e2e tests
-
- Jun 23, 2021
-
-
Tarik Gul authored
* fix: fix createCalcFee bug * fix: error message * fix: error message * fix: refactor * fix: add historical block to e2e tests * fix: comment
-
- Jun 14, 2021
-
-
Tarik Gul authored
* fix: update deps, and reconfigure tests to reflect most recent polkadot-js changes * fix: naming
-
- Jun 07, 2021
-
-
Tarik Gul authored
-
- Jun 01, 2021
-
-
Tarik Gul authored
-
- May 31, 2021
-
-
Tarik Gul authored
-
- May 27, 2021
-
-
Jeremías Díaz authored
-
- May 24, 2021
-
-
Tarik Gul authored
fix: asset approval parameter change, update polkadot deps.
-
- May 17, 2021
-
-
Tarik Gul authored
* reduce controller config boilerplate * fix type doc for ControllerConfig * remove unnecessary comment
-
- May 16, 2021
-
-
Zeke Mostov authored
* fix(types): Bump polkadot-js/api to decode CompactSolution for 24 nominees * Lint
-
- May 12, 2021
-
-
Zeke Mostov authored
This PR introduces the following endpoints: - `/experimental/blocks/{blockId}/traces/operations?actions=false` - `/experimental/blocks/head/traces/operations?actions=false` - `/experimental/blocks/{blockId}/traces` - `/experimental/blocks/head/traces` Co-authored-by: Tarik Gul <[email protected]> Co-authored-by: David <[email protected]> Co-authored-by: Niklas Adolfsson <[email protected]>
-
- May 11, 2021
-
-
Tarik Gul authored
feat: assets endpoints
-
- May 07, 2021
-
-
Skedley authored
* initial commit adding kilt controller * updating kilt controllers pallets * fix: Bump polkadot-js/api to get parachain types: Document user contract regressions (#535) * chore(release): 6.0.0 (#539) Co-authored-by: Zeke Mostov <[email protected]>
-
- May 06, 2021
-
-
Zeke Mostov authored
-
- Apr 19, 2021
-
-
Zeke Mostov authored
Co-authored-by: Tarik Gul <[email protected]> Co-authored-by: David <[email protected]>
-
- Apr 09, 2021
-
-
Lovesh Harchandani authored
* Add weight for Dock mainnet Signed-off-by: lovesh <[email protected]> * Set minCalcFeeRuntime for Dock testnet Signed-off-by: lovesh <[email protected]>
-
- Mar 30, 2021
-
-
Zeke Mostov authored
-
- Mar 29, 2021
-
-
Tarik Gul authored
* fix: docs * build: docs * fix: return message * fix: remove try catch, and replace with simple conditional * Update docs/src/openapi-v1.yaml Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/pallets/PalletsStakingProgressService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/pallets/PalletsStakingProgressService.ts Co-authored-by: Zeke Mostov <[email protected]> * add string to union type for electionStatus * fix: return value for electionStatus * fix: build docs * fix: remove `erElectionStatus &&` Co-authored-by: Zeke Mostov <[email protected]>
- Mar 22, 2021
-
-
Zeke Mostov authored
-
- Mar 16, 2021
-
-
Zeke Mostov authored
builld(env): Use @substrate/dev for tsconfig, eslint, prettier, jest, and babel configuration (#472) * build: Use @substraate/dev for jest setup * Update tsconfig.json with substrate/dev * Use @substrate/dev for prettier and eslint
-
- Mar 10, 2021
-
-
Zeke Mostov authored
BREAKING CHANGE Enums in responses serialize with [camelCase variants](https://github.com/polkadot-js/api/pull/3024). Check spec diffs for details Other changes - Reverses regressions in decoding blocks with [sudo proxy variants](https://github.com/polkadot-js/api/pull/3286) - Updates jest.config to treat `.js` files as ESM - transforming @polkadot/* packages from ESM to CJS. - Bump deps
-
- Feb 15, 2021
-
-
Zeke Mostov authored
-
- Feb 09, 2021
-
-
Tarik Gul authored
fix: discriminate `extrinsic_base_weight` based on dispatch class
-
- Jan 28, 2021
-
-
Zeke Mostov authored
Co-authored-by: David <[email protected]>
-
- Jan 26, 2021
-
-
Tarik Gul authored
* Add new /blocks/{blockId}/extrinsics/{extrinsicsIndex} endpoint * Add endpoint to chains-config endpoints * Add exports to entry files * Add request validations * Abstract logic from BlocksExtrinsicsController into BlocksServices * Refactor index, and add await t async call * Add types * fix: revert back to original method and cleanup index param fix: destructure fix: reorder index * fix: add options for PoW chains, adjust options passed into fetchBlock * feat: block 789629 extrinsic responce json file * fix: modify types for at[object] * fix: revert types for IExtrinsicIndex at:[object] * fix: mock json extrinsic data * fix: working fetchExtrinsicByIndex test * feat: Test extrinisics error * fix: change error type * fix: async/await functionality across fetch extrinsics, fix tests, lint * feat: docs * fix: docs * fix: (docs) events, extrinsics * fix: docs responses * fix: docs ExtrinsicIndex * fix: bugs in docs * fix: change thrown error to BadRequest for 400 error * fix: lint * fix: docs description for ExtrinsicIndex, organize BadRequest import * Update docs/src/openapi-v1.yaml Co-authored-by: Zeke Mostov <[email protected]> * Update docs/src/openapi-v1.yaml Co-authored-by: Zeke Mostov <[email protected]> * Update docs/src/openapi-v1.yaml Co-authored-by: Zeke Mostov <[email protected]> * fix: extrinsicsIndex -> extriniscIndex (singular) fix: typos, naming, add parseNumberOrThrow fix: revert to parseInt * fix: typos, IAt type, docs, error messages * fix: lint * fix: fix error messaging, and docs fix: cleanup block extrinsics controller fix: omitFinalized -> true fix: add test to check parseNumberOrThrow will throw an error if a negative is passed in. Yarn fix * fix: remove async * fix: remove async fix: update extrinsic index test to query extrinsic 2 fix: lint * Update docs/src/openapi-v1.yaml Co-authored-by: Zeke Mostov <[email protected]> * fix: getExtrinsicByExtrinsicIndex => getExtrinsicByIndex * fix: getExtrinsicByIndex => getExtrinsicByTimepoint Co-authored-by: Zeke Mostov <[email protected]>
-
- Jan 20, 2021
-
-
Tarik Gul authored
* Import Compact, BlockNumber Types: Create isFinalizedBlock method * Add finalized tag type * Cleanup isFinalizedBlock, add comments, add finalized tag * Run lint --fix * Parallelize rpc query * Update isFinalized to account for fork edgecase * Refactor promises, and lint * Optimize and refactor rpc calls * Update blocks controller to accomodate fetchBlock params * Refactor initial Promise.all() * Update fetchBlock in test suites to fit updated params * Add finalized tag with boolean tru * Mock data for testing queried hashs on forks * Add tests for isFinalizedBlock: (2 tests, one is a queried hash is on a fork, and another to confirm a finalized block) * export mock json data * Run lint --fix * Update grammar * Update src/services/blocks/BlocksService.spec.ts Co-authored-by: David <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: David <[email protected]> * Update src/services/blocks/BlocksService.spec.ts Co-authored-by: David <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: David <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: David <[email protected]> * Resolve comment formatting * Update src/controllers/blocks/BlocksController.ts Co-authored-by: Zeke Mostov <[email protected]> * Update params for fetchBlock to an options object * BlockService resolve merge conflicts * More merge conflicts resolved * Revert changes * Remove BlockNumber * Revert test * fix: Conflicts resolved, and up to date with master * feat: omit finalized tag when running against a PoW chain * update: update the docs * feat: add testing for omiting the finalized tag * DRY test suite * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * fix: lint * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: David <[email protected]> * Update src/controllers/blocks/BlocksController.ts Co-authored-by: David <[email protected]> * fix: omitFinalizeTag => omitFinalizedTag * fix: DRY finalized * fix: check for undefined finalizedHeadBlockNumber * Update docs * fix: docs, and update the finalized description * Update src/controllers/blocks/BlocksController.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * fix: DRY test code * Update src/services/blocks/BlocksService.ts Co-authored-by: Zeke Mostov <[email protected]> * fix: docs on interface * fix: lint * fix: queryFinalized should be false * fix: queryFinalized should be false fix: when querying for blockId and on a PoW chain omit finalized tag * fix: lint Co-authored-by: David <[email protected]> Co-authored-by: Zeke Mostov <[email protected]>
-
Zeke Mostov authored
* feat!: Type definition specification with env vars and JSON files BREAKING CHANGE remove /config/types.json; Replaced with SAS_SUBSTRATE_TYPES. * Add links to readme * chore(deps): Bump deps
-
- Jan 18, 2021
-
-
Zeke Mostov authored
fix: Update fee calc to use `system::constants::BlockWeights.per_class.normal.base_extrinsic` (#388) * fix: Update fee calc to use system::blockWeight * WIP * Use blockweights constant in metadata * Add comment * Bump deps * New metadata WIP * Add tests to show how constants are used * Pre-merge * Ensure correct constants based on runtime version * Grammar * Update specs
-
- Jan 15, 2021
-
-
Zeke Mostov authored
* fix: Use correct registry when creating calls; Remove usage of derive.chain.getBlock * small change * Update specs
-
- Jan 07, 2021
-
-
Zeke Mostov authored
* chore(release): 2.1.0 * refactor: Optimize `accounts/{accountId}/staking-payouts` blocking query * Bump deps * Fix issues with deriveNominatedExposures * Update comment * Remove commented out code * Update src/services/accounts/AccountsStakingPayoutsService.ts Co-authored-by: David <[email protected]> * Rename el variable * update Co-authored-by: David <[email protected]>
-
Zeke Mostov authored
* fix: Account for polkadot-js number serialization change; Add log message to calc * Update mock api to use codec types for weightToFee * fix spacing * Update README.md Co-authored-by: David <[email protected]> * Cast to AbstractInt; Spacing Co-authored-by: David <[email protected]>
-
- Dec 18, 2020
-
-
Lovesh Harchandani authored
* Support Dock's Multiplier Signed-off-by: lovesh <[email protected]> * Link package for local testing; Bump deps * Add controllers for Dock Signed-off-by: lovesh <[email protected]> * Revert to calc NPM package Co-authored-by: emostov <[email protected]>
-
- Dec 09, 2020
-
-
Zeke Mostov authored
* feat: chainSpec based controller config; Types from apps-config Clean up * Update mock api to include derive getBlock - specs work * Update to reflect TS 4.1 * Clean up comments * Save * feat: Token query param for non-native token balance-info * Revert package.json * Initial reply david review * Update src/main.ts Co-authored-by: David <[email protected]> * Remove kulupu controller * Add chain builder integration guide * Patch CHAIN_INTEGRATION.md * Apply suggestions from code review Co-authored-by: joe petrowski <[email protected]> * Update CHAIN_INTEGRATION.md * Bump deps * Use whole options object for controller creation * Apply suggestions from code review Co-authored-by: David <[email protected]> * Respond to maciej feedback * Update chain integration guide * Remove excessive nullish colescing operators * Fix merge issue * Update CHAIN_INTEGRATION.md Co-authored-by: David <[email protected]> Co-authored-by: David <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-