- 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]>
-
Zeke Mostov authored
-
- Dec 04, 2020
-
-
Amar Tumballi authored
* config: Enhance CUSTOM_TYPES to take AnyJson If a pallet is updating a block with type Json, the Record<string, string> is not going to meet the needs. Enhancing the type of the CUSTOM_TYPES to take json object with `AnyJson` type would fix the issues. Signed-off-by: Amar Tumballi <[email protected]> * Use RegistryTypes Co-authored-by: emostov <[email protected]>
-
- Dec 02, 2020
-
-
Zeke Mostov authored
feat: Impl `/pallets/{pallets}/storage`; Impl index lookup for `/pallets/{palletId}/storage/{, storageItemId}` (#356) * feat(endpoint): Add `pallets/{pallets}/storage` * feat(endpoint): Add onlyIds query param to pallets storage * feat(endpoint): Support index look up for pallets * chore: Test `fetchStorage` * chore: Test `fetchStorageItem` * Apply suggestions from code review Co-authored-by: David <[email protected]> * Lint Co-authored-by: David <[email protected]>
-
- Nov 24, 2020
-
-
Zeke Mostov authored
* fix: Catch errors decoding opaque calls * Add docs to explain the undecoded opaquecalls are not valid * Builld docs * Update docs/src/openapi-v1.yaml Co-authored-by: David <[email protected]> * Update src/controllers/blocks/BlocksController.ts Co-authored-by: David <[email protected]> Co-authored-by: David <[email protected]>
-
- Nov 17, 2020
-
-
Zeke Mostov authored
* fix: Bump polkadot-js and adjust imports; Update specs * Update u32 to no alias * Adjust some imports * Use tabs not spaces * Fix linter complaints
-
- Nov 02, 2020
-
-
Zeke Mostov authored
* chore(release): 1.0.0 * Save progress * feat: Bump polkadot-js and document runtime/metadata API regression
-
- Oct 23, 2020
-
-
Zeke Mostov authored
-
- Oct 21, 2020
-
-
Zeke Mostov authored
* fix: Use correct registry when parsing extrinsic `call` arguments * Use registry directly; fix regressions in v0
-
Tarik Gul authored
* Add public ws urls * Add public url notice to logger * Run linter * Notify user only if its a public endpoint * Add clarifying comments about hardcoded ws urls * Cleanup logger by making terminal isPublicUrl output single line. * Run linter * Add warning if on unsecure, and non local url * Run linter * Add localhost to isLocal check
-
- Oct 15, 2020
-
-
Zeke Mostov authored
-
- Sep 28, 2020
-
-
Zeke Mostov authored
Bumping to polkadot-js v2, which drops support for extrinsics and metadata from pre Kusama.
-
- Sep 24, 2020
-
-
Zeke Mostov authored
build: Automated releases w/ conventional commits; Prep for npm package publish of calc and api-sidecar; (#298) - Releases process automation with conventional commits, including auto CHANGELOG generation - Convert @substrate/calc package to npm dependency - Prepare @substrate/calc package for publish to npm - Prepare @substrate/api-sidecar package for publish to npm
-
- Sep 22, 2020
-
-
Zeke Mostov authored
* feat: Remove authorId query param; Bump version in package * Build docs * Add a contributing note
-
Zeke Mostov authored
* Bump deps * Remove file log options * Small updates to wording
-
Zeke Mostov authored
* Impl noAuthor * Update openapi spec * Update to authorId param - no double neg! * Better var name * Tests passing
-
- Sep 18, 2020
-
-
Zeke Mostov authored
-
Zeke Mostov authored
-
- Sep 17, 2020
-
-
Zeke Mostov authored
-
Zeke Mostov authored
* Prepare v18 with bug fixing pd.js/api bump * Remove logs
-
- Sep 16, 2020
-
-
Zeke Mostov authored
* Replace test response * Get test to pass * Update fields to null
-
Zeke Mostov authored
* Replace test response * Get test to pass * Update fields to null * Include metadata in response * Save progress * Update openapi * Update README * Small updates * More small changes * Apply suggestions from code review Co-authored-by: David <[email protected]> * Improve comments and error messages * Update err message * Add example to docs; Refactor code; Documentation as string * docs corection * build docs * Small changes; * Add pallet index * Update openapi specs Co-authored-by: David <[email protected]>
-
- Sep 14, 2020
-
-
Zeke Mostov authored
-
- Sep 11, 2020
-
-
Zeke Mostov authored
* Initial impl * factor out functions * Add listen port: host * Improve docs * Update readme * Delete stray space
-
Zeke Mostov authored
-
- Sep 09, 2020
-
-
Zeke Mostov authored
-
Zeke Mostov authored
* Check if currentEra is an option to accomadate old substrate * Save option type check * Make more robust for all scenarios
-
- Sep 07, 2020
-
-
Zeke Mostov authored
-
Zeke Mostov authored
-
Zeke Mostov authored
* Add eventDocs & extrinsicDocs query params to /blocks clean up types Fix issues with event method Remove dead space remove console logs introduce eventDocs query parm Update controller docs add extrinsic docs remove comment update variable name remove commented out code * update so tests pass * Map & join docs * Refactor to private function, and not new line as last char * Fix typo in controller * Apply suggestions from Joe's code review Co-authored-by: joe petrowski <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
Zeke Mostov authored
-
- Sep 04, 2020
-
-
Zeke Mostov authored
-
Zeke Mostov authored
Implement `accounts/id/{staking-info, balance-info, vesting-info}` & `pallets/staking/progress` (#248) * balance-info * update uri * save * save * Add vesting service * save * save * implement vesting * update readme * Update README.md * updates test to reflect error messages * add pallets/staking/progress * pallets/staking/progress * correct controller import * export correction * fix typo * update readme * Apply suggestions from code review Co-authored-by: joe petrowski <[email protected]> * update docs * Update openapi Co-authored-by: joe petrowski <[email protected]>
-