Skip to content
  1. Sep 27, 2021
  2. Sep 24, 2021
  3. Sep 17, 2021
  4. Aug 02, 2021
  5. Jul 29, 2021
  6. Jul 27, 2021
  7. Jul 20, 2021
  8. Jun 30, 2021
    • Tarik Gul's avatar
      fix: add `vrfDelay` as a `phase` return value for ongoing auctions to reflect... · b4d86620
      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
      b4d86620
  9. May 31, 2021
  10. May 12, 2021
  11. May 11, 2021
  12. Apr 19, 2021
  13. Mar 29, 2021
  14. Mar 04, 2021
  15. Jan 27, 2021
  16. Jan 26, 2021
    • Tarik Gul's avatar
      feat: add route /blocks/{blockId}/extrinsics/{extrinsicIndex} (#400) · 6507ce70
      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: default avatarZeke Mostov <[email protected]>
      
      * Update docs/src/openapi-v1.yaml
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update docs/src/openapi-v1.yaml
      
      Co-authored-by: default avatarZeke 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: default avatarZeke Mostov <[email protected]>
      
      * fix: getExtrinsicByExtrinsicIndex => getExtrinsicByIndex
      
      * fix: getExtrinsicByIndex => getExtrinsicByTimepoint
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      6507ce70
  17. Jan 20, 2021
    • Tarik Gul's avatar
      feat: add finalized tag when querying blocks (#386) · b95f9131
      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: default avatarDavid <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update src/services/blocks/BlocksService.spec.ts
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Resolve comment formatting
      
      * Update src/controllers/blocks/BlocksController.ts
      
      Co-authored-by: default avatarZeke 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: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * fix: lint
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * Update src/controllers/blocks/BlocksController.ts
      
      Co-authored-by: default avatarDavid <[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: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * fix: DRY test code
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarZeke 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: default avatarDavid <[email protected]>
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      b95f9131
  18. Dec 09, 2020
  19. Dec 02, 2020
  20. Nov 24, 2020
  21. Sep 28, 2020
  22. Sep 22, 2020
  23. Sep 16, 2020
    • Zeke Mostov's avatar
      Implement `/pallets/{palletId}/storage/{storageItemId}` (#278) · fcbf5c1b
      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: default avatarDavid <[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: default avatarDavid <[email protected]>
      fcbf5c1b
  24. Sep 09, 2020
  25. Sep 07, 2020
  26. Sep 04, 2020
  27. Sep 02, 2020
  28. Aug 31, 2020
  29. Aug 28, 2020
  30. Aug 26, 2020
  31. Aug 24, 2020
    • Zeke Mostov's avatar
      Implement `runtime/code` & `runtime/spec` (#228) · cc682148
      Zeke Mostov authored
      
      
      * Implement `runtime/code` & `runtime/spec`
      
      * Apply suggestions Joe from code review
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Add eof
      
      * Update readme links
      
      * Update src/services/runtime/RuntimeCodeService.ts
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      cc682148
    • Zeke Mostov's avatar
      Implement `accounts/{accountId}/staking-payouts` (#217) · 2f817d1a
      Zeke Mostov authored
      
      
      * Initial impl with Big.js
      
      
      Remove unused comment
      
      Update comments and org
      
      Update response structure
      
      Remove validator count
      
      * Convert to Perbill arithmetic
      
      * Implement calc-payout crate
      
      * eslintignore calc-payout
      
      * Alexander feedback
      
      * Add check for era - depth; Update openapi
      
      * update README debug section
      
      * Update readmes
      
      * Apply suggestions from Joe code review
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * add docs to payouts controller
      
      * Clean up docs
      
      Reverse
      
      * Update calc/Cargo.toml
      
      Co-authored-by: default avatarDan Forbes <[email protected]>
      
      * Update return property names for nominator and validator rewards
      
      * themself -> itself
      
      * Code style refactors and comment updates
      
      * Small era message update
      
      * Delete line in ReadMe
      
      * Remove accidental add
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      Co-authored-by: default avatarDan Forbes <[email protected]>
      2f817d1a
    • Zeke Mostov's avatar
      Implement node endpoints (#226) · 651601c3
      Zeke Mostov authored
      * Create NodeNetwork
      
      * Setup node/version
      
      * Add unit tests
      
      Test node transaction pool
      
      Test node version
      
      Add return types for services
      
      * Shorten method names
      
      * Superficial fixups
      
      * Update NodeNetwork
      docs
      
      * Update docs and add pool field to transaction-pool
      
      * save
      
      * Update network return fields
      
      * Update tx pool
      
      * Update testing for transaction pool
      
      * Update transaction pool docs
      
      * Update docs
      
      * Update openapi
      
      * update readme
      
      * Update clientVersion
      
      * Update docs and network response property order
      
      * Update transaction pool docs'
      
      * Trivial changes
      
      * Update import
      
      * Link to node controllers from paths in README.md
      651601c3
  32. Aug 10, 2020
  33. Aug 04, 2020