1. Mar 29, 2021
  2. Mar 22, 2021
  3. Mar 16, 2021
  4. Mar 15, 2021
  5. Mar 11, 2021
  6. Mar 10, 2021
  7. Mar 09, 2021
  8. Mar 08, 2021
  9. Mar 04, 2021
  10. Mar 02, 2021
  11. Mar 01, 2021
  12. Feb 23, 2021
  13. Feb 22, 2021
  14. Feb 15, 2021
  15. Feb 09, 2021
  16. Feb 02, 2021
  17. Jan 28, 2021
  18. Jan 27, 2021
  19. 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