- Jun 26, 2020
-
-
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: joepetrowski <[email protected]>
-
- Jun 24, 2020
-
-
Zeke Mostov authored
-
- Jun 23, 2020
-
-
Zeke Mostov authored
Try install wasm-pack DONT commit, testing if catches lint error Fix back lint issues
-
- Jun 22, 2020
-
-
Zeke Mostov authored
* Fix small linting errors * Change to create string
-
Zeke Mostov authored
-
- Jun 21, 2020
-
-
Jimmy Chu authored
Adding support of reading config file
-
joe petrowski authored
-
Jimmy Chu authored
This is to support connecting to Substrate Node Template
-
Jimmy Chu authored
-
- Jun 19, 2020
-
-
Zeke Mostov authored
* bump @polkadot scoped deps * update package.json * bump version
-
joe petrowski authored
-
Alexander Theißen authored
* Use rust debug build when FEE_DEBUG is set * Fix fee calculation at the first block of a new runtime
-
joe petrowski authored
* update api * make eslint happy
-
- Jun 18, 2020
-
-
Alexander Theißen authored
* Add debug build of calc-fee that outputs more information * Move runtime quirk switching to rust * Remove debugging artifact
-
Zeke Mostov authored
* Add logger that only logs errors in production and everything in development * Default to production * Change to LOG_MODE * Update README.md
-
- Jun 17, 2020
-
-
Zeke Mostov authored
bump version to 0.9.0
-
Zeke Mostov authored
-
Zeke Mostov authored
-
- Jun 16, 2020
-
-
joe petrowski authored
-
joe petrowski authored
* Unwrap if isSome or return if isNone * Remove unnecesary import * Delete debugger Co-authored-by: Zeke Mostov <[email protected]>
-
- Jun 14, 2020
-
-
joe petrowski authored
-
Zeke Mostov authored
-
Dan Forbes authored
* Fix bug when fetching genesis block * Use a consistent API * Genesis blocks may have initialize or finalize events.
-
joe petrowski authored
* add numSlashingSpans * update API * make eslint and joe happy * better comments
-
Dan Forbes authored
* Get Block Should Accept Hash Closes #76 * Convert hex to number * parse hex integers * Do not eagerly convert hexadecimal digits, better docs Co-authored-by: joepetrowski <[email protected]>
-
- Jun 12, 2020
-
-
joe petrowski authored
* add Status type * lint
-
Zeke Mostov authored
* Add ESLint * Silence all warnings and errors * Fix post merge warnings Ignore linting calc-fee New line char
-
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: joe petrowski <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
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
-
- Jun 11, 2020
-
-
Alexander Theißen authored
-
joe petrowski authored
* add a few doc comments to main * add more docs * clarify staking return * fixing nits * add more references
-
- Jun 08, 2020
-
-
joe petrowski authored
* bump deps * 0.8.0-rc1
-
Zeke Mostov authored
* Add wasm-pack install instructions to README.md Minor tweaks * Capitalize Rust and reword sentence Co-authored-by: joe petrowski <[email protected]> Co-authored-by: joe petrowski <[email protected]>
-
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: Amaury Martiny <[email protected]> Co-authored-by: Alexander Theißen <[email protected]>
-
- Jun 06, 2020
-
-
joe petrowski authored
* add chainName and specName to artifacts * bump api * use system.chain rpc
-
- May 30, 2020
-
-
joe petrowski authored
* why doesnt this work * actually return feeInfo * parse tx * revert parse, not necessary
-
Zeke Mostov authored
* Create initial skeleton of fee info endpoint * Add endpoint for just submitting encoded extrinsic * Clean up unused code * Create initial skeleton of fee info endpoint Add endpoint for just submitting encoded extrinsic Clean up unused code * Update path uri and descriptors in README.md * Apply suggestions from code review Co-authored-by: joe petrowski <[email protected]> * Update path uri and descriptors in README.md * Try and fix yarn.lock * update to 1.17.0 beta 5 (#58) * Change `fee-estimation` to post and update README.md Fix small README typo Fix uri in README curl example * Update README.md * Update README.md Co-authored-by: joe petrowski <[email protected]>
-
- May 28, 2020
-
-
joe petrowski authored
-
- May 26, 2020
-
-
joe petrowski authored
-
joe petrowski authored
* start claims info endpoint * Return claim type at block number * rename variable and add to readme * update api Co-authored-by: Dan Forbes <[email protected]>
-