Skip to content
  1. Feb 09, 2023
  2. Jan 30, 2023
  3. Jan 24, 2023
    • 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
  4. Jan 23, 2023
    • Cameron Marshall's avatar
      feat: add /pallets/errors (#1176) · 65a08814
      Cameron Marshall authored
      * add controller and service for errors
      
      * add pallet errors endpoint
      
      * removed unused error query param
      
      * fix newline in response json
      
      * add abstract pallet service
      
      * add AbstractPallerService
      
      * remove dev log
      
      * change access modifier in abstract pallets
      
      * change fn name
      
      * add errors pallet to kusama
      
      * remove unused import
      remove newline
      
      * remove lower casing of pallet name in fetchErrors
      update latest polkadot e2e tests with PhragmentElection Pallet
      
      * update parsedPalletName
      65a08814
  5. 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
  6. 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
  7. 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
  8. Nov 24, 2022
  9. Nov 03, 2022
  10. Oct 03, 2022
  11. Sep 06, 2022
  12. Aug 31, 2022
    • Tarik Gul's avatar
      fix!: integrate @substrate/[email protected] for partial fees (#1017) · 92e3e1da
      Tarik Gul authored
      
      
      * update @substrate/calc
      
      * remove feeByEvent query param
      
      * integrate calc_partial_fee
      
      * update e2e-tests for kusama
      
      * update polkadot e2e tests
      
      * update westend e2e tests
      
      * fix ss58 field in runtime/spec for statemint
      
      * update the docs
      
      * add apiAt.call.transactionPaymentApi
      
      * add queryFeeErrCache
      
      * fix tests
      
      * stop using call and use the RPC
      
      * fix tests, and remove consoles
      
      * add QueryFeeDetailsCache
      
      * fix kusama chain config for fees
      
      * lint
      
      * fix grumbles
      
      * fix naming for QueryFeeCache
      
      * fix QueryFeeDetailsCache, and write tests
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * Update docs/src/openapi-v1.yaml
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * Update src/services/blocks/BlocksService.ts
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * Update src/types/chains-config/ControllerConfig.ts
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      
      * fix conflct
      
      * fix _versionWithCall when null check
      
      * change if to else if in QueryFeeDetailsCache
      
      * complete unfinished comment
      
      * set subtrate/calc back to 0.3.0
      
      * rename QueryFeeCache methods and instance vars
      
      * isQueryFeeDetailsAvail -> hasQueryFeeDetails
      
      * change to hasQueryFeeApi
      
      * add notes
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      92e3e1da
  13. Jul 06, 2022
    • Tarik Gul's avatar
      test(e2e): update validate endpoint (#979) · 0a911de9
      Tarik Gul authored
      * test(e2e): update /accounts/{address}/validate for kusama
      
      * test(e2e): update /accounts/{address}/validate for polkadot
      
      * test(e2e): update /accounts/{address}/validate for westend
      0a911de9
  14. Jun 21, 2022
  15. Jun 03, 2022
    • Tarik Gul's avatar
      fix(calc): rework calculating fees (#937) · 33064669
      Tarik Gul authored
      * remove calcFee
      
      * remove all calcFee tests
      
      * remove all calcFee associated types
      
      * remove export for MetadataConsts
      
      * adjust mock response to reflect api.rpc.payment.queryInfo
      
      * remove ICalcFee
      
      * handle minCalcFeeRuntime
      
      * adjust minCalcFeeRuntime error message
      
      * fix e2e tests for kusama
      
      * adjust polkadot e2e-tests
      
      * add a check for rpc.payment
      33064669
  16. May 26, 2022
  17. May 09, 2022
  18. Mar 28, 2022
    • Tarik Gul's avatar
      fix: update e2e-tests (#877) · 7382dcaa
      Tarik Gul authored
      * fix(e2e-tests): update kusama with 9150, 9151, 9160, 9170
      
      * fix: add polkadot account e2e-tests
      
      * fix: update polkadot with 9140, 9151, and 9170
      
      * update statemine with e2e-tests
      
      * update e2e tests for statemint
      7382dcaa
  19. Feb 15, 2022
  20. Feb 01, 2022
  21. Jan 05, 2022
    • Tarik Gul's avatar
      fix(e2e-tests): add statemint, and update with 9130 runtime tests (#807) · c6ec7beb
      Tarik Gul authored
      * fix: change /experimental to /paras in description
      
      * statemint account assets e2e boilerplate
      
      * fix(temporary): change min calc fee runtime version to 601
      
      * statemint block e2e tests
      
      * add runtime spec for statmint e2e tests
      
      * update e2e tests for statemint configuration
      
      * add v9122, and v9140 blocks for polkadot
      
      * add polkadot 9122 and 9140 tests for accounts
      
      * fix: comments on runtime version
      
      * revert min calc fee statemint
      
      * update kusama 9130 accounts
      
      * update blocks 9130
      
      * updates paras/* for 9130 and cleanup
      
      * update paras paras e2e 9130
      
      * fix comment grumble
      
      * add statemint script
      
      * lint
      c6ec7beb
  22. Jan 04, 2022
  23. Nov 15, 2021
  24. Nov 10, 2021
  25. Nov 05, 2021
  26. Nov 01, 2021
  27. Oct 27, 2021
    • Tarik Gul's avatar
      fix(e2e-tests): add e2e-tests for `/accounts/{accoundId}/validate` (#731) · 2f115b35
      Tarik Gul authored
      
      
      * add ValidateAddressService
      
      * add ValidateAddressController
      
      * add AccountsValidate to polkadot, westend, and kusama
      
      * imports
      
      * add kusama chain config
      
      * fix response
      
      * fix networkInfo bug
      
      * lint
      
      * get tests started
      
      * change the name of the service
      
      * cleanup, lint, fix build, test boilerplate
      
      * update the tests
      
      * more tests
      
      * use hexToU8a for hex conversion
      
      * add tests for hex values
      
      * cleanup
      
      * docs
      
      * e2e tests for validate
      
      * update e2e responses
      
      * update docs
      
      * Update docs/src/openapi-v1.yaml
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * docs
      
      Co-authored-by: default avatarDavid <[email protected]>
      2f115b35
  28. Oct 26, 2021
  29. Oct 18, 2021
  30. Oct 11, 2021
    • Tarik Gul's avatar
      fix(BlocksService): refactor api.derive for performance, and add historicApi... · 5861cb1f
      Tarik Gul authored
      fix(BlocksService): refactor api.derive for performance, and add historicApi to BlocksService (#699)
      
      * fix: refactor api.derive.chain in /blocks
      
      * add historicApi
      
      * remove bench test
      
      * tests: adjust tests to accept historicalApi
      
      * refactor blocks to use historicApi
      
      * fix: fetchevents bug
      
      * fix: update historic kusama blocks e2e tests
      
      * put back --silent
      
      * fix: lint
      
      * fix: tests for pallets staking progress
      
      * cleanup
      
      * optimize getWeights, remove expandMetadata
      
      * fix: nexttFeeMultiplier get by parent hash
      
      * add ? to nextFeeMultiplier
      
      * lint
      5861cb1f
    • Tarik Gul's avatar
  31. Oct 02, 2021
    • Tarik Gul's avatar
      feat: add `era` to `blocks/{blockId}` response for extrinsics (#685) · 43623471
      Tarik Gul authored
      
      
      * fix: add eraInfo as a field in extrinsics response
      
      * docs: update docs with GenericExtrinsicEra
      
      * fix: switch eraInfo to era
      
      * docs: update docs
      
      * fix: refactor
      
      * fix: lint
      
      * fix: update mock data, and adjust unit tests
      
      * docs: update GenericExtrinsicEra description
      
      * Update docs/src/openapi-v1.yaml
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * docs: adjust docs
      
      * tests(e2e): update kusama e2e test responses for /blocks
      
      * tests(e2e): update the polkadot e2e tests for /blocks
      
      * tests(e2e): update westend e2e responses for /blocks
      
      * fix: space at end of file
      
      Co-authored-by: default avatarDavid <[email protected]>
      43623471
  32. Sep 21, 2021
    • Tarik Gul's avatar
      tests(e2e): add `/runtime/*` endpoints (#674) · ddb8e459
      Tarik Gul authored
      * fix: add e2e for kusama
      
      * fix: add runtime for polkadot endpoints
      
      * fix: grumbles
      
      * fix: add runtime response types
      
      * fix: add RuntimeResponse type (typecast)
      
      * boilerplate for westend
      
      * add runtime endpoints for westend
      
      * lint
      ddb8e459
  33. Sep 06, 2021
  34. Jun 29, 2021
  35. Jun 23, 2021
    • Tarik Gul's avatar
      fix: createCalcFee bug (#587) · 21a7e08c
      Tarik Gul authored
      * fix: fix createCalcFee bug
      
      * fix: error message
      
      * fix: error message
      
      * fix: refactor
      
      * fix: add historical block to e2e tests
      
      * fix: comment
      21a7e08c
  36. May 31, 2021