Skip to content
  1. 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
    • Zeke Mostov's avatar
      feat!: Type definition specification with env vars and JSON files (#399) · 8c621b08
      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
      8c621b08
  2. Jan 19, 2021
    • Denis_P's avatar
      ci: build container on release (#396) · ed52edd2
      Denis_P authored
      * new (CI): optimized Dockerfile; labeled Dockerfile; Github Action to build container; edit docker-compose
      
      * new (CI): rename secrets
      
      * CI: edit registry name
      
      * CI: edit registry namespace
      
      * CI: do repeat yourself in GHA
      
      * CI: fix maintainers; debug version tag
      
      * CI: add rpc to env file
      
      * CI: build the same image in parallel, what a joke
      
      * CI: fix matrix
      
      * CI: debug matrix
      
      * CI: debug matrix 2
      
      * CI: according to doc this should work
      
      * CI: proudly move it to parity namespace
      
      * CI: add docker pull to README
      ed52edd2
  3. Jan 18, 2021
  4. Jan 15, 2021
  5. Jan 07, 2021
  6. Jan 05, 2021
  7. Dec 22, 2020
  8. Dec 21, 2020
  9. Dec 18, 2020
  10. Dec 15, 2020
  11. Dec 13, 2020
  12. Dec 09, 2020
  13. Dec 04, 2020
  14. Dec 02, 2020
  15. Nov 24, 2020
  16. Nov 20, 2020
  17. Nov 17, 2020
  18. Nov 16, 2020
  19. Nov 12, 2020
  20. Nov 09, 2020
  21. Nov 02, 2020
  22. Oct 29, 2020
  23. Oct 28, 2020
  24. Oct 27, 2020
  25. Oct 24, 2020
  26. Oct 23, 2020
  27. Oct 22, 2020
  28. Oct 21, 2020