Skip to content
  1. Nov 20, 2023
  2. Oct 23, 2023
  3. Oct 19, 2023
  4. Oct 16, 2023
  5. Sep 01, 2023
  6. Aug 18, 2023
  7. Aug 02, 2023
  8. Jul 14, 2023
  9. Jul 12, 2023
  10. Jul 11, 2023
  11. Jun 12, 2023
  12. 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
  13. 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
  14. May 07, 2023
  15. May 01, 2023
  16. Apr 28, 2023
  17. Apr 24, 2023
  18. 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
  19. Mar 20, 2023
  20. Mar 08, 2023
  21. Feb 27, 2023
  22. Feb 13, 2023
  23. Feb 08, 2023
  24. Feb 07, 2023
  25. Feb 01, 2023
  26. Jan 30, 2023
  27. Jan 23, 2023
  28. Jan 18, 2023
  29. Jan 17, 2023
  30. Jan 09, 2023
  31. Dec 26, 2022
  32. Dec 20, 2022
  33. Dec 13, 2022
  34. Dec 07, 2022
  35. 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