Skip to content
  1. Jun 22, 2022
  2. Jun 21, 2022
  3. Jun 20, 2022
  4. Jun 17, 2022
    • Tarik Gul's avatar
      feat: add `/blocks` that enforces `range` query param. (#954) · f8ab1ec9
      Tarik Gul authored
      * Add range query param type
      
      * correctly parse a range or throw an error
      
      * create new endpoint to query a range of blocks using an async generator
      
      * lint, add `/blocks` route
      
      * fix grumbles
      
      * fix blunder
      
      * sort collection of responses, add comments for range algorithm
      
      * add return types
      
      * cleanup QueueNext type
      
      * port runTasks to AbstractController, and make it generic
      
      * add PromiseQueue
      
      * fix memory allocation, and remove async generator
      
      * add PromiseQueue
      
      * use PromiseQueue
      
      * lint
      
      * remove console
      
      * fix verifyInt
      
      * add /blocks to docs
      
      * change BlockRange to Blocks
      
      * set a max range, extra error handling
      
      * add verifyUInt within util
      
      * remove this.verifyInt and replace it with verifyUInt and verifyNonZeroUInt
      
      * correct error message
      
      * fix small async await grumble
      
      * refactor calling each promise
      
      * allow parseNumberOrThrow to accept zeroes
      
      * fix comment grumble
      f8ab1ec9
    • Tarik Gul's avatar
      docs: fix `includeFee` query param (#965) · b7a5843e
      Tarik Gul authored
      b7a5843e
  5. Jun 16, 2022
  6. Jun 14, 2022
  7. Jun 13, 2022
  8. Jun 07, 2022
  9. Jun 06, 2022
    • Tarik Gul's avatar
      feat: add query param `includeFee` to add a `tip`, `partialFee`, and... · 8241d340
      Tarik Gul authored
      feat: add query param `includeFee` to add a `tip`, `partialFee`, and `priority` field to each extrinsic for `/node/transaction-pool` (#931)
      
      * add test response
      
      * update controller to include tip query parameter
      
      * create tests that include tip query param
      
      * update the return type to include tip
      
      * update dervice logic to handle tip inclusion
      
      * update the docs
      
      * fix grumble
      
      * switch the naming in the controller from tip to fee
      
      * add partial fee functionality
      
      * handle priority correctly
      
      * fix some linting errors
      
      * update response type for partialfee
      
      * set query param as includeFee
      
      * update normal extrinsic response
      
      * add const values to defaultMockApi
      
      * add computation logic to calculate priority
      
      * update docs
      
      * add test suite for operational transactions
      
      * lint
      
      * remove commented import
      
      * rename maxBlock to maxBlockWeight
      
      * add end line
      
      * fix priority type decsription
      
      * cleanup small grumbles
      
      * fix comment
      
      * fix some comments
      8241d340
    • Tarik Gul's avatar
      fix(polkadot-js): update api, and common deps (#934) · fd7021ce
      Tarik Gul authored
      * fix(polkadot-js): update api, and common deps
      
      * update to latest polkadot-js versions
      fd7021ce
  10. Jun 05, 2022
  11. Jun 03, 2022
    • Tarik Gul's avatar
      chore(release): 12.0.1 (#938) · 6e700186
      Tarik Gul authored
      v12.0.1
      6e700186
    • 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
  12. May 27, 2022
  13. May 26, 2022
  14. May 24, 2022
  15. May 20, 2022
  16. May 18, 2022
  17. May 17, 2022
  18. 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
  19. May 10, 2022
  20. May 09, 2022
  21. May 03, 2022
  22. 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
  23. 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
  24. Apr 25, 2022
  25. Apr 21, 2022