1. 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
  2. Aug 30, 2022
  3. Aug 29, 2022
  4. Aug 24, 2022
  5. Aug 22, 2022
  6. Aug 19, 2022
  7. Aug 16, 2022
  8. Aug 15, 2022
  9. Aug 12, 2022
  10. Aug 11, 2022
    • Tarik Gul's avatar
      fix!(calc): fee calculation (#974) · b4a87819
      Tarik Gul authored
      
      
      * fix(fee): fee calculation
      
      * feat(calc): add calc_actual_fee
      
      * export mod
      
      * revert some changes
      
      * fix spacing
      
      * fix test warnings
      
      * cleanup
      
      * organize calculation
      
      * more cleanup
      
      * update sp_arithmetic to 5.0.0
      
      * fix small deprecation grumble in calc payout
      
      * cleanup implementation
      
      * Add failing fee calc examples to tests
      
      * more comments on test fee calcs
      
      * Fix up tests and fee calc
      
      * change to calc_partial_fee, and add acala test
      
      * remove calc_fee
      
      * update wasm
      
      * fix small comment blunder
      
      * update wasm-bindgen
      
      * remove impl, and unwraps, replace with Result
      
      * rebuild wasm
      
      Co-authored-by: default avatarJames Wilson <[email protected]>
      b4a87819
  11. Aug 09, 2022
  12. Aug 08, 2022
  13. Aug 03, 2022
  14. Aug 02, 2022
  15. Aug 01, 2022
  16. Jul 28, 2022
  17. Jul 27, 2022
  18. Jul 20, 2022
  19. Jul 13, 2022
  20. Jul 12, 2022
  21. Jul 07, 2022
    • Tarik Gul's avatar
      feat: support for `feeByEvent` query param which will abstract the fees by events (#970) · 92c155d8
      Tarik Gul authored
      * add query param feeByEvent to all applicable controllers
      
      * add compare integers
      
      * support for query param feeByEvent
      
      * fix grumble
      
      * fix compare.spec.ts
      
      * inline comments
      
      * add tests for getPartialFeeByEvents
      
      * change error message
      
      * create mock event data
      
      * remove unneccessary comments
      
      * add tests getPartialFeeInfo
      
      * export constructEvent
      
      * docs
      
      * provide a better description for feeByEvent in docs
      
      * create areFeesSimilar
      
      * create findEvent
      92c155d8
  22. Jul 06, 2022
  23. Jul 05, 2022
  24. Jul 04, 2022
  25. Jun 28, 2022