Skip to content
  1. 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
  2. May 27, 2022
  3. May 26, 2022
  4. May 20, 2022
  5. May 18, 2022
    • Tarik Gul's avatar
      fix(dev): updates substrate-js-dev, and fixes latest eslint rules (#913) · 12c5914d
      Tarik Gul authored
      * fix(deps): update substrate-js-dev
      
      * fix no-unsafe-argument for specToControllers
      
      * ignore no-unsafe-argument for nodeUtils transformer
      
      * cleanup unsafe usage of optional chaining
      
      * fix unsafe argument of type GenericCall<any> with safe typecasting
      
      * fix This number literal will lose precision at runtime
      
      * fix tsc issue with scripts
      12c5914d
  6. May 17, 2022
  7. May 16, 2022
    • Tarik Gul's avatar
      feat(balance-info): add query param to convert free balance to human (#914) · f1e03d6c
      Tarik Gul authored
      * update the balance key in IAccountsBalanceInfo to also be a string
      
      * accept a query param for converting the balance
      
      * add private convertBalance
      
      * add tests for convertBalance
      
      * change convert to denominate
      
      * switch all over to denomination
      
      * inline comments
      
      * handle zero values, and cleanup code
      
      * handle all balance values
      
      * add IBalanceLock type
      
      * add denominateLocks
      
      * update docs
      
      * add error handling for a chain with no decimal
      
      * correct the docs
      
      * cleanup code
      
      * cover edgecase where decimal is 0
      
      * set api to historicApi
      
      * fix decimal selection
      
      * detail dec value in applyDenominationBalance
      f1e03d6c
  8. May 02, 2022
    • Tarik Gul's avatar
      fix(deps): update pjs api (#906) · 528420c2
      Tarik Gul authored
      * fix(deps): update pjs api
      
      * update apps-config
      
      * update pjs deps
      
      * fix mock test data
      
      * update small script to install packages for you
      528420c2
  9. Apr 29, 2022
    • Tarik Gul's avatar
      fix: decode `Bytes` types for `/runtime/metadata` correctly (#907) · ce48c144
      Tarik Gul authored
      * fix: hacky solution to properly decode Bytes
      
      * add ISanitizeOptions type
      
      * fix: add sanitizeMetadataExceptions and options
      
      * add options to the necessary controllers
      
      * add registry to the options
      
      * fix logic to work with all types
      
      * add tests
      
      * pass in registry to options
      
      * remove old comments
      
      * cleanup
      
      * correctly sanitize non integer values using sanitizeNumbers
      
      * make sure options registry metadata matches rpc metadata response
      
      * fix grumbles for inline comments
      
      * add clarifying comment
      
      * fix bug with option types, and large multiple type name fields
      
      * destructure
      
      * add type comments in tests
      
      * inline comments
      
      * add a test for Option<u128>
      
      * fix sanitizeOptions to have metadataOpts
      
      * add logic for multiple runtimes, and not just v14
      ce48c144
  10. Apr 21, 2022
  11. Apr 13, 2022
  12. Apr 08, 2022
    • Tarik Gul's avatar
      fix: remove blockWeightsStore (#891) · ce701a0a
      Tarik Gul authored
      * fix: update polkadot-js api, and apps-config
      
      * fix(tests): remove createApiAugmentation for getWeights test
      
      * fix: remove metadata-consts, and adjust chains-config files
      
      * refactor controller and services using blockWeightStore
      
      * remove the test regarding blockWeightStore
      
      * remove blockWeightStore from chain fee guide
      
      * fix: inline docs
      
      * fix: cleanup unused types and docs
      
      * small grumble
      ce701a0a
  13. Apr 07, 2022
  14. Mar 22, 2022
  15. Mar 21, 2022
  16. Mar 15, 2022
  17. Mar 11, 2022
  18. Mar 01, 2022
  19. Feb 16, 2022
  20. Feb 15, 2022
  21. Feb 07, 2022
  22. Feb 02, 2022
  23. Feb 01, 2022
  24. Jan 25, 2022
  25. Jan 21, 2022
    • Tarik Gul's avatar
      fix: update polkadot-js api to 7.2.1 (#809) · 3553fb81
      Tarik Gul authored
      * update polkadot-js api to 7.2.1
      
      * update PalletAssetsAssetBalance -> Account
      
      * refactor the mock data for assets to keep things DRY
      
      * lint and set proper return types for exported mock test-helpers
      
      * fix: comment
      
      * fix logic to avoid breaking changes
      
      * fix pallet testing refactor
      
      * refactor logic to avoid breaking changes
      
      * cleanup code readability in asset-balances service
      
      * Update return type and return value
      
      * update inline docs
      
      * update comment grumbles
      
      * update inline docs for added asset types
      3553fb81
  26. Jan 19, 2022
  27. Jan 17, 2022
  28. Jan 04, 2022
  29. Dec 29, 2021
  30. Dec 24, 2021
  31. Dec 21, 2021
    • Tarik Gul's avatar
      fix: bump polkadot-js deps (#796) · c79d1269
      Tarik Gul authored
      * fix: change registry used in operation from Block -> ApiDecoration<promise>
      
      * fix: bump polkadot-js deps
      
      * fix: add import @polkadot/api-augment; to entry
      
      * fix: update imports for Codecs
      
      * comment
      
      * bump apps-config
      
      * add comment
      
      * fix: inline doc comments
      
      * update apps-config
      c79d1269
  32. Dec 20, 2021
  33. Dec 15, 2021
  34. Dec 11, 2021
  35. Dec 08, 2021
    • Tarik Gul's avatar
      fix: bump polkadot-js deps (#786) · 072ef063
      Tarik Gul authored
      * bump polkadot-js deps
      
      * fix BN bug
      
      * fix build
      
      * lint
      
      * fix BN bug
      
      * temp fix block state trace
      
      * fix: blocksTrace
      
      * fix: .toNumber -> toString(10) for base10
      
      * fix update sanitize numbers to check superclass for BN
      
      * lint
      
      * fix: set resolution on bn.js, remove sanitizeNumbers unnecessary logic
      
      * revert changes on blocksTrace
      072ef063
  36. Dec 01, 2021