1. Jan 25, 2023
    • Tarik Gul's avatar
      feat: add fileTransport (#1189) · 9c2effb3
      Tarik Gul authored
      * feat: add fileTransport for local logging
      
      * lint
      
      * add env vars to SidecarConfig
      
      * add logic to transport logger
      
      * adjust logging
      
      * update log config
      
      * add WRITE_MAX_FILE_SIZE and WRITE_MAX_FILES
      
      * update the docs
      
      * cleanup some grumbles
      
      * update readme
      9c2effb3
  2. Jan 24, 2023
    • Tarik Gul's avatar
      1585605d
    • Dominique's avatar
      feat: add `/pallets/staking/validators` endpoint (#1045) · 70e0a367
      Dominique authored
      
      
      * Added the `validators` endpoint
      - Controller, service, response type
      - Returns all validators addresses and their corresponding status (active / waiting)
      
      * Validators Info per block
      - Added the `at` query param
      - Modified the Service accordingly
      
      * yarn lint
      
      * Changes `array` to `Set` (James Super Tip)
      - Changed the data structure used to save the validators in the active set from an `array` to a `Set` (based on James suggestion)
      - Changed also the used functions accordingly.
      - Merged in one loop the check of which validator is in the active set and the population of the returned array.
      
      * Lint & Update docs
      - yarn lint
      - Added validators endpoint to the docs
      - Corrected other parts of the docs mentioned by the swagger as errors.
      
      * Added in latest e2e tests the validators endpoint
      
      * Changes from Tarik s comments
      
      * Adjustments in the docstring
      
      * Update src/services/pallets/PalletsStakingValidatorsService.ts
      
      Co-authored-by: default avatarTarik Gul <[email protected]>
      
      * yarn lint:fix
      
      Co-authored-by: default avatarTarik Gul <[email protected]>
      70e0a367
    • Tarik Gul's avatar
      docs: remove try it out option in docs (#1191) · 22f8fd47
      Tarik Gul authored
      22f8fd47
  3. Jan 23, 2023
  4. Jan 19, 2023
  5. Jan 18, 2023
  6. Jan 17, 2023
  7. Jan 16, 2023
    • Cameron Marshall's avatar
      feat: add nomination pools support (#1095) · 7534b1e9
      Cameron Marshall authored
      * nomination pools
      
      * chore(deps): updated polkadot-js deps
      
      * feat: support for nomination pools
      
      * update tests
      
      * update nomination pool service
      
      * update test
      
      * remove historicApi as param
      
      * removed historicApi param from nomination pool info service
      
      * lint
      
      * update param info
      
      * update metadata arg, remove legacy docs
      
      * update open-api yml
      
      * update open api refs
      
      * add nomination pools controller to kusama and polkadot controllers
      
      * add comments to nomination pool service fns
      
      * add nomination pool latest e2e test
      7534b1e9
  8. Jan 10, 2023
    • Tarik Gul's avatar
      feat: add `/paras/head/included-candidates` and `/paras/head/backed-candidates` (#1166) · eb4add7a
      Tarik Gul authored
      * feat: add /paras/head
      
      * backed candidates endpoint
      
      * finalize the backed-candidate logic
      
      * fix grumble with return type
      
      * fix types and complete /paras/head logic
      
      * cleanup
      
      * add test for parasHead, and add at field for responses
      
      * add test for backed candidates
      
      * add docs
      
      * add inline docs
      
      * rework the endpoints
      
      * update docs
      
      * remove mute mock data
      
      * update endpoint descriptions
      
      * leases to heads
      
      * adjust inline comment
      
      * add the endpoints to the latest e2e tests
      
      * fix spacing
      eb4add7a
    • Tarik Gul's avatar
      chore(release): 14.2.3 (#1182) · 6070552b
      Tarik Gul authored
      v14.2.3
      6070552b
  9. Jan 09, 2023
  10. Jan 06, 2023
  11. Dec 27, 2022
  12. Dec 26, 2022
  13. Dec 22, 2022
  14. Dec 20, 2022
    • Tarik Gul's avatar
      test(e2e-tests): add e2e-tests for latest runtimes, and blocks (#1155) · 095f57f9
      Tarik Gul authored
      * test(e2e-tests): outline errors for the process
      
      * add correct error code when sidecar fails to build
      
      * reorg the tsconfig in e2e tests and where the entry file exists
      
      * add endpoints
      
      * change yarn script names to historical for init
      
      * change request format to return statusCode as well as data
      
      * add working script
      
      * some cleanup
      
      * organize naming
      
      * cleanup
      
      * fix tiny grumble
      
      * add license to file
      
      * add script to startup the e2e tests
      
      * fix small blunders, and add scripts to package.json
      
      * set runE2eTests to runHistoricalE2eTests
      
      * add --local to historical e2e tests
      
      * get local working, and fix resolving errors
      
      * fix is local to fail when a chain is not specified
      
      * DRY up code
      
      * update docs in scripts
      
      * docs in e2e-tests
      
      * cleanup
      
      * add all statemint end points
      
      * make `--local` take in an input
      
      * update release notes
      
      * add latest to readme
      
      * new lint
      095f57f9
    • Xiliang Chen's avatar
      fix: avoid use queryInfo rpc call (#1169) · 907ba927
      Xiliang Chen authored
      * avoid use queryInfo rpc call
      
      * fallback to rpc call
      
      * minor improvement
      
      * update fetchQueryFeeDetails
      907ba927
    • Xiliang Chen's avatar
      fix: use local version of wasm-pack (#1168) · f922247a
      Xiliang Chen authored
      f922247a
  15. Dec 14, 2022
  16. Dec 13, 2022
  17. Dec 07, 2022
  18. Dec 06, 2022
  19. Dec 05, 2022
  20. Dec 03, 2022
  21. Nov 30, 2022
  22. Nov 24, 2022
  23. Nov 22, 2022
    • Tarik Gul's avatar
      fix docs (#1145) · 17f00d64
      Tarik Gul authored
      17f00d64
    • 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