- Feb 01, 2022
-
-
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 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
-
- Jan 19, 2022
-
-
Tarik Gul authored
* add error handling on account balances * add better error handling for ethereum accounts in AccountsBalanceService * lint
-
- Dec 24, 2021
-
-
sawvox authored
* fix: add leaseOffset to leasesCurrent end calc * fix: eslint fix by using --fix flag
-
- Dec 21, 2021
-
-
Tarik Gul authored
* fix: change registry used in operation from Block -> ApiDecoration<promise> * fix: bump polkadot-js deps * fix: add import @polkadot/api-augment; to entry * fix: update imports for Codecs * comment * bump apps-config * add comment * fix: inline doc comments * update apps-config
-
- Dec 15, 2021
-
-
Tarik Gul authored
-
- Dec 08, 2021
-
-
Tarik Gul authored
* bump polkadot-js deps * fix BN bug * fix build * lint * fix BN bug * temp fix block state trace * fix: blocksTrace * fix: .toNumber -> toString(10) for base10 * fix update sanitize numbers to check superclass for BN * lint * fix: set resolution on bn.js, remove sanitizeNumbers unnecessary logic * revert changes on blocksTrace
-
- Dec 01, 2021
-
-
Tarik Gul authored
* fix: bump polakdot api * fix: imports for StorageEntryBase and AugmentedConst * @polkadot/[email protected]
-
- Nov 29, 2021
-
-
Tarik Gul authored
* fix: update polkadot-js deps * fix: change with PalletsPalletAssetsBalance as u128, instead of TAssetBalance u64 * fix pallet assets * lint
-
- Nov 23, 2021
-
-
Tarik Gul authored
* staking payouts historicApi * start tests * boilerplate for tests * mock data and types for tests * stakingPayouts reponse * mock data for staking payouts * lint eraRewardPoints * setup main test * adjust custom response * generate correct types for mock data * correct nominator data * correct eraRewardPoints * add error tests * fix eraRewardPoints types * add test for extractTotalValidatorRewardPoints * replace EraRewardPoints type * lint * clean empty line * tests for eraExposure * add deriveNominatorExposures for vals and noms * general cleanup, and DRY * add polkadot v9122 registry * add docs and switch things over to polkadotV9122registry * lint * fix doc grumbles * Update src/services/accounts/AccountsStakingPayoutsService.spec.ts Co-authored-by: Niklas Adolfsson <[email protected]> * cleanup comments * mapToBe -> mockEraRewardsMap * lint * Update src/services/accounts/AccountsStakingPayoutsService.spec.ts Co-authored-by: Niklas Adolfsson <[email protected]> Co-authored-by: David <[email protected]>
-
- Nov 11, 2021
-
-
Tarik Gul authored
* update pallets staking progress to use historicApi * lint
-
- Nov 10, 2021
-
-
Tarik Gul authored
* add historicApi to crowdloans-info * add assertQueryModule check * add historicApi to crowdloans * add historicApi to leases-info and leases/current * add historicApi to auctions-current * add historicApi to paras * fix endingOffset bug * adjust tests to reflect historicApi * cleanup * inline docs * lint * Update src/services/paras/ParasService.ts Co-authored-by: Zeke Mostov <[email protected]> * adjust lease_period_index * lease period index edgecase * adjust leasePeriodIndex to be null not BN_ZERO * update docs Co-authored-by: Zeke Mostov <[email protected]>
-
- Nov 09, 2021
-
-
Tarik Gul authored
* add query param decodeMeta * update docs * fix test description * lint * fix up the query param to have both noMeta and metadata without introducing breaking changes * update logic, and clean it up * lint * change ifs to switch * update the docs * update more docs * build:docs * inline comment
-
- Nov 01, 2021
- Oct 27, 2021
-
-
Tarik Gul authored
* update deps * bump deps * bump deps * update /runtime/code test
-
Tarik Gul authored
* add ValidateAddressService * add ValidateAddressController * add AccountsValidate to polkadot, westend, and kusama * imports * add kusama chain config * fix response * fix networkInfo bug * lint * get tests started * change the name of the service * cleanup, lint, fix build, test boilerplate * update the tests * more tests * use hexToU8a for hex conversion * add tests for hex values * cleanup * docs * add AccountsValidate controller to other chains-config * remove networkId * update tests * ValidateAddrResponse -> IValidateAddrResponse * typos * ss58Decoded -> ss58Prefix * inline docs for validate address * update docs * cleanup testws * Update src/services/accounts/AccountsValidateService.spec.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/accounts/AccountsValidateService.spec.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/accounts/AccountsValidateService.spec.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/accounts/AccountsValidateService.ts Co-authored-by: David <[email protected]> * update docs * add proper error handling for base58decode * docs Co-authored-by: Zeke Mostov <[email protected]> Co-authored-by: David <[email protected]>
-
- Oct 26, 2021
-
-
Tarik Gul authored
* switch asset service to historicApi * fix: bug * throw appropriate error for missing pallet * lint * asset-balance e2e tests for statemint * add more tests for asset balances * e2e for statemine * lint * Update src/services/accounts/AccountsAssetsService.ts Co-authored-by: David <[email protected]> * adjust the returned error when assets pallets doesnt exist * fix comment Co-authored-by: David <[email protected]>
-
- Oct 22, 2021
-
-
Tarik Gul authored
-
- Oct 18, 2021
-
-
Tarik Gul authored
* polkadot e2e-vesting-info * update tests for vesting info * refactor balance-info * lint * return error when vesting info pallet doesnt exist * kusama e2e tests for vesting info, adjust polkadot ones * add westend and lint * cleanup
-
- Oct 14, 2021
-
-
Tarik Gul authored
* BREAKING CHANGE: default return value is an array instead of an object * add docs * fix: vesting-info tests, add another test as well * docs * lint * add test * lint * refactor to avoid duplicate unwrap calls
-
- Oct 13, 2021
- Oct 12, 2021
-
-
Tarik Gul authored
* fix: refactor api.derive.chain in /blocks * add historicApi * remove bench test * tests: adjust tests to accept historicalApi * refactor blocks to use historicApi * fix: fetchevents bug * fix: update historic kusama blocks e2e tests * put back --silent * fix: lint * fix: tests for pallets staking progress * cleanup * fix: restructure block tests and mockApi * fix: change mockApi to defaultMockApi for BlocksTraceService * fix: add AccountsAssetsService.spec.ts refactoring to mockApi * lint and cleanup * refactor AccountsBalanceInfoService.spec.ts * refactor NodeNetworkService.spec.ts * refactor NodeTransactionPoolService.spec.ts * refactor NodeVersionService.spec.ts * restructure AccountsStakingInfoService.spec.ts * refactor AccountsVestingInfoService.spec.ts * refactor PalletsAssetsService.spec.ts * refactor PalletsStakingProgressService.spec.ts * refactor PalletsStorageService.spec.ts * cleanup * refactor ParasService.spec.ts * refactor RuntimeCodeService.spec.ts * refactor RuntimeMetadataService.spec.ts * refactor RuntimeSpecService.spec.ts * refactor TransactionFeeEstimateService.spec.ts * refactor TransactionMaterialService.spec.ts * refactor TransactionSubmitService.spec.ts * refactor mockApi to be defaultMockApi * lint * fix merge conflict with nextFeeMultiplier * historical -> historic
-
- Oct 11, 2021
-
-
Tarik Gul authored
fix(BlocksService): refactor api.derive for performance, and add historicApi to BlocksService (#699) * fix: refactor api.derive.chain in /blocks * add historicApi * remove bench test * tests: adjust tests to accept historicalApi * refactor blocks to use historicApi * fix: fetchevents bug * fix: update historic kusama blocks e2e tests * put back --silent * fix: lint * fix: tests for pallets staking progress * cleanup * optimize getWeights, remove expandMetadata * fix: nexttFeeMultiplier get by parent hash * add ? to nextFeeMultiplier * lint
-
- Oct 05, 2021
- Oct 02, 2021
-
-
Tarik Gul authored
* fix: add eraInfo as a field in extrinsics response * docs: update docs with GenericExtrinsicEra * fix: switch eraInfo to era * docs: update docs * fix: refactor * fix: lint * fix: update mock data, and adjust unit tests * docs: update GenericExtrinsicEra description * Update docs/src/openapi-v1.yaml Co-authored-by: David <[email protected]> * docs: adjust docs * tests(e2e): update kusama e2e test responses for /blocks * tests(e2e): update the polkadot e2e tests for /blocks * tests(e2e): update westend e2e responses for /blocks * fix: space at end of file Co-authored-by: David <[email protected]>
-
- Sep 22, 2021
-
-
Tarik Gul authored
* bump polkadot-js deps * fix: AssetBalances -> PalletAssetsAssetBalances type * fix: BalanceOf -> u128 type * fix: metadataV12 * fix test input values for account assets * add --silent to test * fix: bump polkadot/api 6.0.3 * bump polkadot-js 6.0.5 * Update src/services/accounts/AccountsAssetsService.ts Co-authored-by: David <[email protected]> * lint Co-authored-by: David <[email protected]>
-
- Sep 02, 2021
-
-
Tarik Gul authored
* fix: historical queries for account balances * fix: naming * lint * fix: tests * fix: miscFrozen and feeFrozen * fix: add tests for querying a historical block * fix: add second edge case for historical blocks * Update src/services/accounts/AccountsBalanceInfoService.ts Co-authored-by: Zeke Mostov <[email protected]> * fix: refactor conditional * fix: refactor conditional * fix: refactor test promises Co-authored-by: Zeke Mostov <[email protected]>
-
- Aug 21, 2021
-
-
Tarik Gul authored
-
- Aug 18, 2021
-
-
Tarik Gul authored
* fix imports for metadata and tests, update deps
-
- Jul 27, 2021
-
-
Tarik Gul authored
-
- Jul 20, 2021
-
-
Tarik Gul authored
-
- Jul 13, 2021
-
-
Tarik Gul authored
-
- Jun 30, 2021
-
-
Tarik Gul authored
fix: add `vrfDelay` as a `phase` return value for ongoing auctions to reflect VRFdelays in polkadot (#593) * fix: update tests for auctions * docs: auctions * fix: add `delay` as a phase result * fix: change delay to vrfDelay * docs: update for vrfDelay * fix: starting => startPeriod, ending => endPeriod * docs: reflect startPeriod and endPeriod
-
- Jun 23, 2021
-
-
Tarik Gul authored
* fix: fix createCalcFee bug * fix: error message * fix: error message * fix: refactor * fix: add historical block to e2e tests * fix: comment
-
- May 31, 2021
-
-
Tarik Gul authored
-
- May 24, 2021
-
-
Tarik Gul authored
fix: asset approval parameter change, update polkadot deps.
-