Skip to content
  1. Dec 01, 2021
  2. Nov 29, 2021
  3. Nov 26, 2021
  4. Nov 25, 2021
  5. Nov 23, 2021
    • Tarik Gul's avatar
      fix: staking payouts historicApi, and add tests (#762) · 5866e3ab
      Tarik Gul authored
      
      
      * staking payouts historicApi
      
      * start tests
      
      * boilerplate for tests
      
      * mock data and types for tests
      
      * stakingPayouts reponse
      
      * mock data for staking payouts
      
      * lint eraRewardPoints
      
      * setup main test
      
      * adjust custom response
      
      * generate correct types for mock data
      
      * correct nominator data
      
      * correct eraRewardPoints
      
      * add error tests
      
      * fix eraRewardPoints types
      
      * add test for extractTotalValidatorRewardPoints
      
      * replace EraRewardPoints type
      
      * lint
      
      * clean empty line
      
      * tests for eraExposure
      
      * add deriveNominatorExposures for vals and noms
      
      * general cleanup, and DRY
      
      * add polkadot v9122 registry
      
      * add docs and switch things over to polkadotV9122registry
      
      * lint
      
      * fix doc grumbles
      
      * Update src/services/accounts/AccountsStakingPayoutsService.spec.ts
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      
      * cleanup comments
      
      * mapToBe -> mockEraRewardsMap
      
      * lint
      
      * Update src/services/accounts/AccountsStakingPayoutsService.spec.ts
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      Co-authored-by: default avatarDavid <[email protected]>
      5866e3ab
  6. Nov 17, 2021
  7. Nov 15, 2021
  8. Nov 11, 2021
  9. Nov 10, 2021
  10. Nov 09, 2021
    • Tarik Gul's avatar
      feat: add query param `metadata` (#746) · 273cac2a
      Tarik Gul authored
      * add query param decodeMeta
      
      * update docs
      
      * fix test description
      
      * lint
      
      * fix up the query param to have both noMeta and metadata without introducing breaking changes
      
      * update logic, and clean it up
      
      * lint
      
      * change ifs to switch
      
      * update the docs
      
      * update more docs
      
      * build:docs
      
      * inline comment
      273cac2a
  11. Nov 04, 2021
    • Rob Thijssen's avatar
      fix: support calamari parachain fee calculations (#749) · 1e2f4a5e
      Rob Thijssen authored
      * support calamari fee calculation
      
      * lose redundant import
      
      * calamari runtime constants
      
      * calamari handler
      
      * whitespace for the linter
      
      * wasm-pack
      
      * sorting for the linter
      
      * minCalcFeeRuntime correction
      
      * lint
      
      * whitespace fix
      1e2f4a5e
  12. Nov 01, 2021
  13. Oct 27, 2021
    • Tarik Gul's avatar
      fix: bump polkadot-js deps, and substrate/dev (#734) · ac485346
      Tarik Gul authored
      * update deps
      
      * bump deps
      
      * bump deps
      
      * update /runtime/code test
      ac485346
    • Tarik Gul's avatar
      feat: add /accounts/:address/validate endpoint (#726) · 77bf8edb
      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
      
      * add AccountsValidate controller to other chains-config
      
      * remove networkId
      
      * update tests
      
      * ValidateAddrResponse -> IValidateAddrResponse
      
      * typos
      
      * ss58Decoded -> ss58Prefix
      
      * inline docs for validate address
      
      * update docs
      
      * cleanup testws
      
      * Update src/services/accounts/AccountsValidateService.spec.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/accounts/AccountsValidateService.spec.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/accounts/AccountsValidateService.spec.ts
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      
      * Update src/services/accounts/AccountsValidateService.ts
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * update docs
      
      * add proper error handling for base58decode
      
      * docs
      
      Co-authored-by: default avatarZeke Mostov <[email protected]>
      Co-authored-by: default avatarDavid <[email protected]>
      77bf8edb
  14. Oct 26, 2021
  15. Oct 22, 2021
  16. Oct 18, 2021
  17. Oct 15, 2021
  18. Oct 14, 2021
    • Tarik Gul's avatar
      fix!: change the response for vesting-info (#717) · 8b9866d0
      Tarik Gul authored
      * BREAKING CHANGE: default return value is an array instead of an object
      
      * add docs
      
      * fix: vesting-info tests, add another test as well
      
      * docs
      
      * lint
      
      * add test
      
      * lint
      
      * refactor to avoid duplicate unwrap calls
      8b9866d0
  19. Oct 13, 2021
  20. Oct 12, 2021
    • Tarik Gul's avatar
      fix(tests): restructure mockApi tests to integrate with historical api (#702) · 2bf71ada
      Tarik Gul authored
      * 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
      
      * fix: restructure block tests and mockApi
      
      * fix: change mockApi to defaultMockApi for BlocksTraceService
      
      * fix: add AccountsAssetsService.spec.ts refactoring to mockApi
      
      * lint and cleanup
      
      * refactor AccountsBalanceInfoService.spec.ts
      
      * refactor NodeNetworkService.spec.ts
      
      * refactor NodeTransactionPoolService.spec.ts
      
      * refactor NodeVersionService.spec.ts
      
      * restructure AccountsStakingInfoService.spec.ts
      
      * refactor AccountsVestingInfoService.spec.ts
      
      * refactor PalletsAssetsService.spec.ts
      
      * refactor PalletsStakingProgressService.spec.ts
      
      * refactor PalletsStorageService.spec.ts
      
      * cleanup
      
      * refactor ParasService.spec.ts
      
      * refactor RuntimeCodeService.spec.ts
      
      * refactor RuntimeMetadataService.spec.ts
      
      * refactor RuntimeSpecService.spec.ts
      
      * refactor TransactionFeeEstimateService.spec.ts
      
      * refactor TransactionMaterialService.spec.ts
      
      * refactor TransactionSubmitService.spec.ts
      
      * refactor mockApi to be defaultMockApi
      
      * lint
      
      * fix merge conflict with nextFeeMultiplier
      
      * historical -> historic
      2bf71ada
  21. 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
      update blockstores with 9110 runtime (#704) · 35b7132c
      Tarik Gul authored
      35b7132c
  22. Oct 05, 2021
  23. 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
  24. Oct 01, 2021
  25. Sep 22, 2021
    • Tarik Gul's avatar
      fix: update polkadot-js deps (#677) · f14f2c2e
      Tarik Gul authored
      
      
      * bump polkadot-js deps
      
      * fix: AssetBalances -> PalletAssetsAssetBalances type
      
      * fix: BalanceOf -> u128 type
      
      * fix: metadataV12
      
      * fix test input values for account assets
      
      * add --silent to test
      
      * fix: bump polkadot/api 6.0.3
      
      * bump polkadot-js 6.0.5
      
      * Update src/services/accounts/AccountsAssetsService.ts
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      * lint
      
      Co-authored-by: default avatarDavid <[email protected]>
      f14f2c2e
  26. Sep 07, 2021
  27. Sep 02, 2021
  28. Aug 21, 2021
  29. Aug 19, 2021