1. Jul 02, 2020
  2. Jul 01, 2020
  3. Jun 30, 2020
  4. Jun 29, 2020
  5. Jun 27, 2020
  6. Jun 26, 2020
    • Zeke Mostov's avatar
      Give useful staking info (#109) · 3fb440f4
      Zeke Mostov authored
      
      
      * nextSession & nextEra w/o derive
      
      Setup storage queries
      
      clean up
      
      Move queuedElected to not throw on isNone
      
      get ready to delete some epoch arithmetic
      
      Calculate nextExpectedEpochChange
      
      save progress
      
      * Use derived call for nextEra & nextSession
      
      save progress
      
      next session and next era
      
      small cleanup
      
      small fixes
      
      reorganize a bit
      
      * Calc toggle
      
      initial window change working
      
      clean up
      
      make toggle hardcoded based on chainSpec
      
      make query for activeEra, not derive
      
      save before deleting sessionInfo derive stuff
      
      toggle working; try/catch queueElected;
      
      begin making deriveSessionProgress
      
      deriveSessionProgress done, deleting old
      
      refactor deriveElectionLookAhead, async fetchStakingInfo(hash: BlockHash): Promise<StakingInfo> {
      
      q
      
      add comments and move some things
      
      more refining
      
      correct era progress
      
      clean up
      
      pre squash
      
      * Calc toggle
      
      initial window change working
      
      clean up
      
      make toggle hardcoded based on chainSpec
      
      make query for activeEra, not derive
      
      save before deleting sessionInfo derive stuff
      
      toggle working; try/catch queueElected;
      
      begin making deriveSessionProgress
      
      deriveSessionProgress done, deleting old
      
      refactor deriveElectionLookAhead, async fetchStakingInfo(hash: BlockHash): Promise<StakingInfo> {
      
      q
      
      add comments and move some things
      
      more refining
      
      correct era progress
      
      clean up
      
      pre squash
      
      
      delete comment
      
      * Null validator fields in PoA
      
      * clean up
      
      cleanup
      
      * Add docs in main
      
      * Delete line
      
      * Remove queuedElected
      
      * Fix new linting errror
      
      * Add check to ensure activeEraStartSessionIndex is some
      
      * Add compatibility to read electionLookAhead
      
      * Create config folder
      
      * Change route to staking-info
      
      * Add yarn main command
      
      * Do not include electionStatus when electionLookAhead = 0
      
      * Reconfigure response object destructuring
      
      * Small updates
      
      * change toggle estimate by one session and change docs
      
      * change toggle estimate when open
      
      * fix bug in last session of active era
      
      * maybe better code
      
      * remove double subtraction
      
      * Change toggle to null when electionLookAhead = 0
      
      * Add comment 'no offchain solutions accepted'
      
      Co-authored-by: default avatarjoepetrowski <[email protected]>
      3fb440f4
  7. Jun 24, 2020
  8. Jun 23, 2020
  9. Jun 22, 2020
  10. Jun 21, 2020
  11. Jun 19, 2020
  12. Jun 18, 2020
  13. Jun 17, 2020
  14. Jun 16, 2020
  15. Jun 14, 2020
  16. Jun 12, 2020
    • joe petrowski's avatar
      Add Status type (#79) · cd0eebcd
      joe petrowski authored
      * add Status type
      
      * lint
      cd0eebcd
    • Zeke Mostov's avatar
      Add ESLint (#64) · fd58a293
      Zeke Mostov authored
      * Add ESLint
      
      * Silence all warnings and errors
      
      * Fix post merge warnings
      
      Ignore linting calc-fee
      
      New line char
      fd58a293
    • Dan Forbes's avatar
      Add author ID to `/block` response (#75) · 8edc4ae4
      Dan Forbes authored
      
      
      * Add author ID to `/block` response
      
      * Move `authorId` variable and response attribute
      
      * Document `authorId` attribute of `/block` response
      
      * When documentation is less specific, it is more accurate.
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      8edc4ae4
    • Zeke Mostov's avatar
      Parse nested calls (#62) · bea3fb5f
      Zeke Mostov authored
      * Setup skeleton
      
      * Parse nested calls
      
      save progress before removing old indexing method
      
      Save optimized, non-working version, before deleting
      
      Catch mistake of recursion stopping to soon
      
      Rename function to parse calls.
      
      Change name to parse calls
      Change let to const
      
      * Move parseCalls, strict return types, extrinsic calls field
      
      Update parseCalls to always accept and return an array
      
      Enforce strict return types
      
      
      trivial syntax
      
      Add calls field for extrinsics to show all nested calls
      
      * Add `newArgs` field and label Call params
      
      
      cleanup
      
      * Save before delete most of parseCall
      
      * Correct nested, incorrect top level
      
      * Works parsing all levels of args
      
      * Working but needs fix for finding arg array of calls
      
      * Working
      
      * first try at using args struct
      
      * Add specific stricter types to parseArrayGenericCalls
      
      * Clean up
      
      * remove unused comment
      
      * update
      bea3fb5f