Skip to content
  1. 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
  2. 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
  3. May 07, 2023
  4. May 01, 2023
  5. Apr 28, 2023
  6. Apr 24, 2023
  7. Apr 12, 2023
    • Tarik Gul's avatar
      fix!: update polkadot-js, and adjust for breaking changes... · 89648821
      Tarik Gul authored
      
      fix!: update polkadot-js, and adjust for breaking changes (`/accounts/{accountId}/balance-info`) (#1255)
      
      * chore(deps): update polkadot-js
      
      * Fix polkadot primitive candidate type cast in paras headers endpoint
      
      * Update polkadot-js
      
      * fix the accounts endpoint
      
      * Fix tests, and cleanup responses
      
      * Update polkadot historical e2e-tests
      
      * Update kusama historical e2e-tests
      
      * Update westend historical e2e-tests
      
      * Update statemine historical e2e tests
      
      * Add inline docs
      
      * Update docs
      
      * lint
      
      * Update docs/src/openapi-v1.yaml
      
      Co-authored-by: default avatarCameron Marshall <[email protected]>
      
      * rebuild docs
      
      ---------
      
      Co-authored-by: default avatarCameron Marshall <[email protected]>
      89648821
  8. Mar 20, 2023
  9. Mar 08, 2023
  10. Feb 27, 2023
  11. Feb 13, 2023
  12. Feb 08, 2023
  13. Feb 07, 2023
  14. Feb 01, 2023
  15. Jan 30, 2023
  16. Jan 23, 2023
  17. Jan 18, 2023
  18. Jan 17, 2023
  19. Jan 09, 2023
  20. Dec 26, 2022
  21. Dec 20, 2022
  22. Dec 13, 2022
  23. Dec 07, 2022
  24. Nov 22, 2022
    • Tarik Gul's avatar
      feat: add support for ink! contracts (#1015) · f6499fae
      Tarik Gul authored
      
      
      * feat: contracts endpoint boilerplate
      
      * add @polkadot/api-contracts
      
      * set this as a post request
      
      * modify post request handler type
      
      * cleanup service
      
      * add contracts controller to the default controller
      
      * boilerplate tests
      
      * set mock data for contracts
      
      * expand request types to include generic P type
      
      * cleanup controlelr with expanded types and clean naming. Add query params
      
      * add query params
      
      * comment out some tests
      
      * expand query params, and fix logic
      
      * fix small grumble
      
      * add validateAddress middleware
      
      * pass the ContractPromise into the service to make testing possible
      
      * add test for contracts ink
      
      * fix versions
      
      * cleanup contract query calls
      
      * fix inline comments, and cleanup code
      
      * remove parseBNorThrow (only needed for contrcuting contract txs)
      
      * docs
      
      * update 400 errors
      
      Co-authored-by: default avatarmarshacb <[email protected]>
      f6499fae
  25. Nov 21, 2022
  26. Nov 11, 2022
  27. Nov 10, 2022
  28. Nov 01, 2022
  29. Oct 31, 2022
  30. Oct 28, 2022