Skip to content
  1. Jul 28, 2020
  2. Jul 26, 2020
  3. Jul 22, 2020
  4. Jul 20, 2020
  5. Jul 17, 2020
  6. Jul 13, 2020
  7. Jul 10, 2020
  8. Jul 09, 2020
  9. Jul 08, 2020
    • Chevdor's avatar
      Dockerfile (#128) · daddfbd8
      Chevdor authored
      * Draft of dockerfile
      
      * Add missing parts for the Docker image
      
      * Finish docker support
      
      * Fix linting, add doc
      daddfbd8
    • Zeke Mostov's avatar
      Upgrade deps; Correct issues from upgrade; Setup jest unit tests for `sanitizeNumbers`; (#90) · f4f10285
      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
      
      * 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
      
      * Add some more primitive tests
      f4f10285
  10. Jul 04, 2020
  11. Jul 01, 2020
  12. Jun 30, 2020
  13. Jun 29, 2020
  14. 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
  15. Jun 24, 2020
  16. Jun 19, 2020
  17. Jun 18, 2020
  18. Jun 17, 2020
  19. Jun 16, 2020
  20. Jun 14, 2020
  21. Jun 12, 2020
    • 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
  22. Jun 08, 2020
    • joe petrowski's avatar
      Bump API and release (#71) · e83420bc
      joe petrowski authored
      * bump deps
      
      * 0.8.0-rc1
      v0.8.0-rc1
      e83420bc
    • Dan Forbes's avatar
      Update fee calculation logic (#50) · f5b84277
      Dan Forbes authored
      * Update fee calculation logic
      
      * Address code review by @athei and @amaurymartiny
      
      * Do not pull raw/parsed extrinsics into separate variables
      
      * Remove Address and LookupSource types per @amaurymartiny
      
      * Bump Polkadot JS deps and remove WeightToFeeCoefficient type
      
      * Use variables consistently
      
      * Clean up diff
      
      * Update lockfile, formatting changes
      
      * Update fee calculation logic
      
      * Rename variables, better comments (#54)
      
      * Upgraded to latest polkadot API release
      
      * Fixes for weight calculation
      
      Not yet functional. Some rounding differences are still present.
      
      * Calculate extrinsic fees in rust
      
      This also removes the contraint that only one
      term of the weight to fee polynomial is used.
      
      * Fix CI
      
      * Reproduce fixed128 bug that was deployed to polkadot v0.
      
      * Support kusama without queryInfo
      
      * Do not fail the whole request when runtime is not supported
      
      * Do not send per block parameters for every extrinsic to wasm
      
      * Install wasm-pack through node
      
      * Remove no longer needed bn.js dependency
      
      * Revert "Install wasm-pack through node"
      
      This reverts commit d0986729
      
      .
      
      Co-authored-by: default avatarAmaury Martiny <[email protected]>
      Co-authored-by: default avatarAlexander Theißen <[email protected]>
      f5b84277
  23. Jun 06, 2020
  24. May 28, 2020
  25. May 26, 2020
  26. May 21, 2020
  27. May 14, 2020
  28. May 10, 2020
  29. Apr 30, 2020
  30. Apr 24, 2020