1. Aug 24, 2020
    • Zeke Mostov's avatar
      Implement `runtime/code` & `runtime/spec` (#228) · cc682148
      Zeke Mostov authored
      
      
      * Implement `runtime/code` & `runtime/spec`
      
      * Apply suggestions Joe from code review
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * Add eof
      
      * Update readme links
      
      * Update src/services/runtime/RuntimeCodeService.ts
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      cc682148
    • 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
    • Zeke Mostov's avatar
      Implement node endpoints (#226) · 651601c3
      Zeke Mostov authored
      * Create NodeNetwork
      
      * Setup node/version
      
      * Add unit tests
      
      Test node transaction pool
      
      Test node version
      
      Add return types for services
      
      * Shorten method names
      
      * Superficial fixups
      
      * Update NodeNetwork
      docs
      
      * Update docs and add pool field to transaction-pool
      
      * save
      
      * Update network return fields
      
      * Update tx pool
      
      * Update testing for transaction pool
      
      * Update transaction pool docs
      
      * Update docs
      
      * Update openapi
      
      * update readme
      
      * Update clientVersion
      
      * Update docs and network response property order
      
      * Update transaction pool docs'
      
      * Trivial changes
      
      * Update import
      
      * Link to node controllers from paths in README.md
      651601c3
  2. Aug 23, 2020
  3. Aug 22, 2020
  4. Aug 19, 2020
  5. Aug 18, 2020
  6. Aug 17, 2020
  7. Aug 12, 2020
    • Zeke Mostov's avatar
      Future proof `sanitizeNumbers` (#154) · 3b1c9b1b
      Zeke Mostov authored
      * Setup Jest and sanity check sanitizeNumbers
      
      Test extended types
      
      Test AbstractInt as value in object
      
      sanitize a staking response
      
      Fix some small details
      
      * Add Block response type
      
      * Add explicit return types for all public ApiHandler functions
      
      * Fix missing extrinsic fields; Standardiz accounts summary naming
      
      * Check for struct, option, and Result
      
      * Complete an outline
      
      * Add codec map
      
      * save progress
      
      * Initial skeleton of sanitizeData and sanitizeCodec
      
      * Save small changes
      
      * Clean  up
      
      * Setup to go back and forth with old sanitizeNumbers
      
      * Add comment
      
      * upgrade deps
      
      * FIX sanitizeNumbers to handle Compact
      
      * Small clean up
      
      * Correct package.json
      
      * Fix -1 u32 error
      
      * Add tests to github workflow via pr.yml
      
      Correct workflow to install wasm-pack
      
      Try again
      
      * Update sanitze numbers to handle Enums
      
      * Add tests of types
      
      * Lots of tests and necessary fixes for sanitize
      
      Use async create instead of initialize
      
      Add versionReset; Revert static creat
      
      Remove exclamation maarks
      
      Put comment back in
      
      Revert last commit
      
      Delete stray empty line
      
      Revert ensureMeta changes
      
      Clean up testing
      
      Save progress with U64s
      
      Fix issues with BTreeSet
      
      More tests
      
      Update to handle in option so linkage test passes
      
      save progress on set
      
      More tests
      
      Save progress
      
      last tests
      
      * Remove old sanitizeNumber
      
      * Small updates
      
      * Add some primitives
      
      * Delete unused code
      
      * Update testing to reflect new Result api
      
      Min i32
      
      Add alternate tests for Result
      
      More tests
      
      Delete covereage
      
      new eof .gitignore
      
      Add ToDos
      
      * Prepare for merge
      
      * save
      
      * Update tests to show regressions
      
      
      Create polkadot-js types folder and move typeguards
      
      updates
      
      Change test organization grouping
      
      * Update AbstractController
      
      * Small update
      
      * Serialize zeros
      
      * Update comment
      3b1c9b1b
    • Zeke Mostov's avatar
      Bump deps (#211) · d81bf959
      Zeke Mostov authored
      d81bf959
  8. Aug 10, 2020
  9. Aug 04, 2020
  10. Aug 03, 2020
  11. Aug 01, 2020
  12. Jul 31, 2020
  13. Jul 30, 2020
  14. Jul 29, 2020
  15. Jul 28, 2020
  16. Jul 26, 2020
  17. 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
  18. Jul 24, 2020
  19. Jul 23, 2020
  20. Jul 22, 2020
  21. Jul 21, 2020
  22. Jul 20, 2020
  23. Jul 18, 2020
  24. Jul 17, 2020
  25. Jul 16, 2020