Skip to content
  1. Jan 18, 2021
    • Zeke Mostov's avatar
      fix: Update fee calc to use... · 5ec24e63
      Zeke Mostov authored
      fix: Update fee calc to use `system::constants::BlockWeights.per_class.normal.base_extrinsic` (#388)
      
      * fix: Update fee calc to use system::blockWeight
      
      * WIP
      
      * Use blockweights constant in metadata
      
      * Add comment
      
      * Bump deps
      
      * New metadata WIP
      
      * Add tests to show how constants are used
      
      * Pre-merge
      
      * Ensure correct constants based on runtime version
      
      * Grammar
      
      * Update specs
      5ec24e63
  2. Jan 15, 2021
  3. Jan 07, 2021
  4. Dec 18, 2020
  5. Dec 09, 2020
  6. Nov 24, 2020
  7. Nov 17, 2020
  8. Oct 21, 2020
  9. Sep 22, 2020
  10. Sep 17, 2020
  11. Sep 16, 2020
  12. Sep 11, 2020
  13. Sep 07, 2020
  14. Aug 31, 2020
  15. Aug 28, 2020
  16. Aug 25, 2020
  17. Aug 24, 2020
    • Zeke Mostov's avatar
      Implement `accounts/{accountId}/staking-payouts` (#217) · 2f817d1a
      Zeke Mostov authored
      
      
      * Initial impl with Big.js
      
      
      Remove unused comment
      
      Update comments and org
      
      Update response structure
      
      Remove validator count
      
      * Convert to Perbill arithmetic
      
      * Implement calc-payout crate
      
      * eslintignore calc-payout
      
      * Alexander feedback
      
      * Add check for era - depth; Update openapi
      
      * update README debug section
      
      * Update readmes
      
      * Apply suggestions from Joe code review
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * add docs to payouts controller
      
      * Clean up docs
      
      Reverse
      
      * Update calc/Cargo.toml
      
      Co-authored-by: default avatarDan Forbes <[email protected]>
      
      * Update return property names for nominator and validator rewards
      
      * themself -> itself
      
      * Code style refactors and comment updates
      
      * Small era message update
      
      * Delete line in ReadMe
      
      * Remove accidental add
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      Co-authored-by: default avatarDan Forbes <[email protected]>
      2f817d1a
  18. Aug 22, 2020
  19. Aug 01, 2020
  20. Jul 31, 2020
  21. Jul 30, 2020
  22. Jul 29, 2020
  23. Jul 28, 2020
  24. Jul 25, 2020
    • Zeke Mostov's avatar
      Unit test `calc_fee`; Refactor `fetchBlock` (#187) · 908fce52
      Zeke Mostov authored
      * Refactor partial fee calculation to make it testable
      
      Correct name
      
      Create mock api skeletion
      
      save changes
      
      refactor fetch blocks
      
      * Add dummy header
      
      * test createCalcFee
      
      * More refactors of fetchBlock
      
      * Rename constants.ts => mock.ts
      
      * Move mockApi to mock file
      
      * Move header to its own file
      
      * Update commetn
      
      * Update comment
      908fce52
  25. Jul 22, 2020
  26. Jul 21, 2020