Skip to content
  1. Aug 14, 2023
    • Dominique's avatar
      fix: change error&error codes returned from /transaction/* related endpoints (#1312) · 797c4217
      Dominique authored
      * fix: change error&error codes returned from /transaction/* related endpoints
      
      * Revert back to using `extractCauseAndStack` & pass error code in `txErrorMiddleware`
      - Reverted to the previous error handling with `extractCauseAndStack`
      - Added the `code` in error thrown and passed it in the `txErrorMiddleware`
      - Reverted the changes to the test `.spec` files
      - Updated the mock files with the error code returned since now `err` also includes the `code`
      - Updated `ITxLegacyError`
      - Reverted changes in docs and rebuilt
      
      * fix: removed comment
      797c4217
  2. Aug 03, 2023
  3. Aug 02, 2023
  4. Jul 14, 2023
  5. Jul 12, 2023
  6. Jul 11, 2023
  7. Jul 05, 2023
  8. Jun 29, 2023
  9. Jun 26, 2023
  10. Jun 20, 2023
  11. Jun 13, 2023
  12. Jun 12, 2023
  13. Jun 08, 2023
  14. Jun 07, 2023
  15. May 31, 2023
  16. May 30, 2023
    • Dominique's avatar
      feat: add prometheus `metrics` endpoint in dedicated server & port (#1232) · a256790e
      Dominique authored
      
      
      * feat: add prometheus `metrics` endpoint in dedicated server & port
      - add separate express instance and port for prometheus metrics
      - expose the default prometheus metrics
      - add a custom metric of type `counter` that increments in every http error
      
      * fix lint errors by using an IIFE & adding void operator
      - remove the `return` keyword
      - add an IIFE inside the callback
      - add the `void` operator
      
      * update dep prom-client
      
      * add prometheus flags & fix for process.kill
      - add a prometheus flag that runs the prometheus server & enables the metrics endpoint
      - add a prometheus-port flag so that the user can choose a custom port to run the metrics endpoint
      - change the code in killAll so that there is no `Object is possibly undefined` error
      
      * code refactor, help page & README
      - add prometheus options and description under help flag
      - add `metricsApp` and increased `httpErrorCounter` only if prometheus flag is true
      - move logger and register inside functions
      - docs: add a section for prometheus in the README
      
      * remove jest unnecessary flags
      
      ---------
      
      Co-authored-by: default avatartarikgul <[email protected]>
      a256790e
  17. May 29, 2023
  18. May 26, 2023
    • Dominique's avatar
      Update pjs deps & fixes (#1285) · 110b01ad
      Dominique authored
      - Updated pjs api deps.
      - Updated code of `isFrozen` so that we support both past & future runtimes.
      - Removed one test from latest-e2e-tests of kusama because this pallet was removed.
      - Updated docs related to the `isFrozen` change.
      110b01ad
  19. May 23, 2023
  20. May 16, 2023
  21. May 08, 2023
  22. May 07, 2023
  23. May 05, 2023
  24. May 01, 2023
  25. Apr 28, 2023
  26. Apr 24, 2023
  27. Apr 19, 2023
  28. Apr 12, 2023