- Jul 18, 2022
- Jul 07, 2022
-
-
Tarik Gul authored
* add query param feeByEvent to all applicable controllers * add compare integers * support for query param feeByEvent * fix grumble * fix compare.spec.ts * inline comments * add tests for getPartialFeeByEvents * change error message * create mock event data * remove unneccessary comments * add tests getPartialFeeInfo * export constructEvent * docs * provide a better description for feeByEvent in docs * create areFeesSimilar * create findEvent
-
- Jul 05, 2022
-
-
Dominique authored
* Added networkName in the response of validate address endpoint * Added the 'accountId' in the endpoint response - If the address given is not a hex value then it returns the hex value of the related registry type - If the address given is a hex value then it returns the same as the 'accountId' - The tests were updated based on this logic * Changes in `validateAddress` function, tests & docs - Replaced `filter` with a `for..of` loop when retrieving the `network`. - Replaced `new TypeRegistry` with `this.api.registry` when retrieving the `accountID`. - Renamed `networkName` to `network` so it is aligned with the key naming in the SS58 registry. - Updated the JSDocs of the function `validateAddress`. - Added the default mock api into the service in the tests. - Updated the docs. * Code changes & built docs - Changes in code based on Tarik's feedback. - Run `yarn build:docs`. * Removed unnecessary variable * Fix for accountId & corresponding tests - Fix for accountId when the input from user is an address in hex (from u8 array) format. - Corrected the output of the corresponding tests also. * Returns in all other fields if isValid is false * Code changes based on James feedback * yarn lint
-
- Jun 28, 2022
-
-
Tarik Gul authored
* fix(deps): update polkadot.js deps and fix type compilation * fix: pallets storage query type compilation * cleanup logic
-
Tarik Gul authored
* fix(pallets): deprecation warning * Update src/controllers/pallets/PalletsStorageController.ts Co-authored-by: Niklas Adolfsson <[email protected]> Co-authored-by: Niklas Adolfsson <[email protected]>
-
- Jun 21, 2022
-
-
Tarik Gul authored
-
- Jun 17, 2022
-
-
Tarik Gul authored
* Add range query param type * correctly parse a range or throw an error * create new endpoint to query a range of blocks using an async generator * lint, add `/blocks` route * fix grumbles * fix blunder * sort collection of responses, add comments for range algorithm * add return types * cleanup QueueNext type * port runTasks to AbstractController, and make it generic * add PromiseQueue * fix memory allocation, and remove async generator * add PromiseQueue * use PromiseQueue * lint * remove console * fix verifyInt * add /blocks to docs * change BlockRange to Blocks * set a max range, extra error handling * add verifyUInt within util * remove this.verifyInt and replace it with verifyUInt and verifyNonZeroUInt * correct error message * fix small async await grumble * refactor calling each promise * allow parseNumberOrThrow to accept zeroes * fix comment grumble
-
- Jun 14, 2022
-
-
James Wilson authored
* Update deps * Ignore all .vscode things * Fix from Tarik for ISanitzedEvent type * wee readme tweaks to clarify * Update .gitignore Add newline Co-authored-by: Tarik Gul <[email protected]> * bump to 8.8.2 * Update README.md "up to date" :) Co-authored-by: Niklas Adolfsson <[email protected]> Co-authored-by: Tarik Gul <[email protected]> Co-authored-by: Niklas Adolfsson <[email protected]>
-
- Jun 06, 2022
-
-
Tarik Gul authored
feat: add query param `includeFee` to add a `tip`, `partialFee`, and `priority` field to each extrinsic for `/node/transaction-pool` (#931) * add test response * update controller to include tip query parameter * create tests that include tip query param * update the return type to include tip * update dervice logic to handle tip inclusion * update the docs * fix grumble * switch the naming in the controller from tip to fee * add partial fee functionality * handle priority correctly * fix some linting errors * update response type for partialfee * set query param as includeFee * update normal extrinsic response * add const values to defaultMockApi * add computation logic to calculate priority * update docs * add test suite for operational transactions * lint * remove commented import * rename maxBlock to maxBlockWeight * add end line * fix priority type decsription * cleanup small grumbles * fix comment * fix some comments
-
- Jun 05, 2022
-
-
Tarik Gul authored
* silence the logger in test mode * when test:watch set node_env * silence middleware errors for testing * lint * clarification comments
-
- Jun 03, 2022
-
-
Tarik Gul authored
* remove calcFee * remove all calcFee tests * remove all calcFee associated types * remove export for MetadataConsts * adjust mock response to reflect api.rpc.payment.queryInfo * remove ICalcFee * handle minCalcFeeRuntime * adjust minCalcFeeRuntime error message * fix e2e tests for kusama * adjust polkadot e2e-tests * add a check for rpc.payment
-
- May 27, 2022
-
-
Tarik Gul authored
* fix(imports): chains-config imports * lint
-
- May 26, 2022
- May 20, 2022
-
-
Tarik Gul authored
* fix(apps-config)!: remove apps-config from sidecar all together * update our docs * remove resolutions for polkadot-js packages
-
- May 18, 2022
-
-
Tarik Gul authored
* fix(deps): update substrate-js-dev * fix no-unsafe-argument for specToControllers * ignore no-unsafe-argument for nodeUtils transformer * cleanup unsafe usage of optional chaining * fix unsafe argument of type GenericCall<any> with safe typecasting * fix This number literal will lose precision at runtime * fix tsc issue with scripts
-
- May 17, 2022
-
-
CurlyBracketEffect authored
-
- May 16, 2022
-
-
Tarik Gul authored
* update the balance key in IAccountsBalanceInfo to also be a string * accept a query param for converting the balance * add private convertBalance * add tests for convertBalance * change convert to denominate * switch all over to denomination * inline comments * handle zero values, and cleanup code * handle all balance values * add IBalanceLock type * add denominateLocks * update docs * add error handling for a chain with no decimal * correct the docs * cleanup code * cover edgecase where decimal is 0 * set api to historicApi * fix decimal selection * detail dec value in applyDenominationBalance
-
- May 02, 2022
-
-
Tarik Gul authored
* fix(deps): update pjs api * update apps-config * update pjs deps * fix mock test data * update small script to install packages for you
-
- Apr 29, 2022
-
-
Tarik Gul authored
* fix: hacky solution to properly decode Bytes * add ISanitizeOptions type * fix: add sanitizeMetadataExceptions and options * add options to the necessary controllers * add registry to the options * fix logic to work with all types * add tests * pass in registry to options * remove old comments * cleanup * correctly sanitize non integer values using sanitizeNumbers * make sure options registry metadata matches rpc metadata response * fix grumbles for inline comments * add clarifying comment * fix bug with option types, and large multiple type name fields * destructure * add type comments in tests * inline comments * add a test for Option<u128> * fix sanitizeOptions to have metadataOpts * add logic for multiple runtimes, and not just v14
-
- Apr 21, 2022
-
-
Tarik Gul authored
* fix: add v9190 polkadot metadata * fix: add polkadot registry for v9190 * fix: create getPerByte to properly handle lengthToFee * cleanup inline comments
-
- Apr 13, 2022
-
-
Tarik Gul authored
* fix: update polkadotjs common, api, and wasm-crypto * fix: transactionByeFee typecast to Balance * lint * update resolutions to solve build issue * fix: update apps-config * fix: update pjs api 8.0.2
-
- Apr 08, 2022
-
-
Tarik Gul authored
* fix: update polkadot-js api, and apps-config * fix(tests): remove createApiAugmentation for getWeights test * fix: remove metadata-consts, and adjust chains-config files * refactor controller and services using blockWeightStore * remove the test regarding blockWeightStore * remove blockWeightStore from chain fee guide * fix: inline docs * fix: cleanup unused types and docs * small grumble
-
- Apr 07, 2022
-
-
Tarik Gul authored
* fix: update polkadot-js api, and apps-config * fix(tests): remove createApiAugmentation for getWeights test
-
- Mar 22, 2022
-
-
Tarik Gul authored
* fix: update polkadot deps, util-crypto, api, wasm-crypto * update apps-config, and dedupe * jest detectOpenHandles * Mock WsProvider Co-authored-by: Jose Ramirez <[email protected]>
-
- Mar 21, 2022
-
-
Tarik Gul authored
-
- Mar 15, 2022
-
-
Tarik Gul authored
-
- Mar 11, 2022
-
-
Tarik Gul authored
-
- Mar 01, 2022
-
-
Edwin authored
* fix: support fee calculation for Bifrost * fix: lint error
-
- Feb 16, 2022
-
-
Jose authored
* Abstract error handling for addresses into AbstractService * Add yarn cache, jest cov and fixed unit test
-
- Feb 15, 2022
-
-
Tarik Gul authored
* fix serializing wrapperkeepopaque and wrapperopaque * add e2e test for v9151 which contains an WrapperKeepOpaque<Call> * cleanup comments * refactor code
-
- Feb 07, 2022
-
-
Tarik Gul authored
-
- Feb 02, 2022
-
-
Tarik Gul authored
* update polkadot.js and rxjs * fix import for Observable to rxjs * dedupe
-
- Feb 01, 2022
-
-
Dominique authored
* Retrieving public endpoints with createWsEndpoints function * Changed to map/filter & Fixed lint - Replaced while with map and filter. - Fixed lint errors. * Replaced map/filter with a 'for...of' statement
-
Tarik Gul authored
* fix: current auction endingOffset bug * fix: header bug * update tests to accurately test the updates * add vrfDelay to endingOffset * refactor logic to make it cleaner * Update src/services/paras/ParasService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/paras/ParasService.ts Co-authored-by: Zeke Mostov <[email protected]> * remove vrfDelay from offset calculation * update docs with vrfDelay info * add tests for startPeriod, endPeriod and vrfDelay * inline docs * fix some grumbles for vrfDelay, and endPeriod sample * Update src/services/paras/ParasService.ts * Update docs * Update src/services/paras/ParasService.ts Co-authored-by: James Wilson <[email protected]> * fix naming in test * set the vrfDelay test to use the finishEnd block * update docs Co-authored-by: Zeke Mostov <[email protected]> Co-authored-by: James Wilson <[email protected]>
-
- Jan 25, 2022
-
-
Yashiro authored
* Patch for crust * Fix cal * Add crust calc support * Recover .env.local * Reduction * Add ness config * Regen wasm and resolve comments by adding EOL * Fix Co-authored-by: MyronFanQiu <[email protected]>
-
Hoon Kim authored
* Added support for Astar fee calculation * compiled calc pkg Co-authored-by: Alexander Krupenkin <[email protected]>
-
- Jan 21, 2022
-
-
Tarik Gul authored
* update polkadot-js api to 7.2.1 * update PalletAssetsAssetBalance -> Account * refactor the mock data for assets to keep things DRY * lint and set proper return types for exported mock test-helpers * fix: comment * fix logic to avoid breaking changes * fix pallet testing refactor * refactor logic to avoid breaking changes * cleanup code readability in asset-balances service * Update return type and return value * update inline docs * update comment grumbles * update inline docs for added asset types
-