- 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.
-
- May 16, 2021
-
-
Zeke Mostov authored
* fix(types): Bump polkadot-js/api to decode CompactSolution for 24 nominees * Lint
-
- May 12, 2021
-
-
Zeke Mostov authored
This PR introduces the following endpoints: - `/experimental/blocks/{blockId}/traces/operations?actions=false` - `/experimental/blocks/head/traces/operations?actions=false` - `/experimental/blocks/{blockId}/traces` - `/experimental/blocks/head/traces` Co-authored-by: Tarik Gul <[email protected]> Co-authored-by: David <[email protected]> Co-authored-by: Niklas Adolfsson <[email protected]>
-
- May 11, 2021
-
-
Tarik Gul authored
feat: assets endpoints
-
- May 06, 2021
-
-
Zeke Mostov authored
-
- Apr 19, 2021
-
-
Zeke Mostov authored
Co-authored-by: Tarik Gul <[email protected]> Co-authored-by: David <[email protected]>
-
- Mar 30, 2021
-
-
Zeke Mostov authored
-
- Mar 29, 2021
-
-
Tarik Gul authored
* fix: docs * build: docs * fix: return message * fix: remove try catch, and replace with simple conditional * Update docs/src/openapi-v1.yaml Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/pallets/PalletsStakingProgressService.ts Co-authored-by: Zeke Mostov <[email protected]> * Update src/services/pallets/PalletsStakingProgressService.ts Co-authored-by: Zeke Mostov <[email protected]> * add string to union type for electionStatus * fix: return value for electionStatus * fix: build docs * fix: remove `erElectionStatus &&` Co-authored-by: Zeke Mostov <[email protected]>
- Mar 22, 2021
-
- Mar 16, 2021
-
-
Zeke Mostov authored
builld(env): Use @substrate/dev for tsconfig, eslint, prettier, jest, and babel configuration (#472) * build: Use @substraate/dev for jest setup * Update tsconfig.json with substrate/dev * Use @substrate/dev for prettier and eslint
-
- Mar 10, 2021
-
-
Zeke Mostov authored
BREAKING CHANGE Enums in responses serialize with [camelCase variants](https://github.com/polkadot-js/api/pull/3024). Check spec diffs for details Other changes - Reverses regressions in decoding blocks with [sudo proxy variants](https://github.com/polkadot-js/api/pull/3286) - Updates jest.config to treat `.js` files as ESM - transforming @polkadot/* packages from ESM to CJS. - Bump deps
-
- Feb 09, 2021
-
-
Tarik Gul authored
fix: discriminate `extrinsic_base_weight` based on dispatch class
-
- Jan 28, 2021
-
-
Zeke Mostov authored
Co-authored-by: David <[email protected]>
-
- Jan 26, 2021
-
-
Tarik Gul authored
* Add new /blocks/{blockId}/extrinsics/{extrinsicsIndex} endpoint * Add endpoint to chains-config endpoints * Add exports to entry files * Add request validations * Abstract logic from BlocksExtrinsicsController into BlocksServices * Refactor index, and add await t async call * Add types * fix: revert back to original method and cleanup index param fix: destructure fix: reorder index * fix: add options for PoW chains, adjust options passed into fetchBlock * feat: block 789629 extrinsic responce json file * fix: modify types for at[object] * fix: revert types for IExtrinsicIndex at:[object] * fix: mock json extrinsic data * fix: working fetchExtrinsicByIndex test * feat: Test extrinisics error * fix: change error type * fix: async/await functionality across fetch extrinsics, fix tests, lint * feat: docs * fix: docs * fix: (docs) events, extrinsics * fix: docs responses * fix: docs ExtrinsicIndex * fix: bugs in docs * fix: change thrown error to BadRequest for 400 error * fix: lint * fix: docs description for ExtrinsicIndex, organize BadRequest import * Update docs/src/openapi-v1.yaml Co-authored-by: Zeke Mostov <[email protected]> * Update docs/src/openapi-v1.yaml Co-authored-by: Zeke Mostov <[email protected]> * Update docs/src/openapi-v1.yaml Co-authored-by: Zeke Mostov <[email protected]> * fix: extrinsicsIndex -> extriniscIndex (singular) fix: typos, naming, add parseNumberOrThrow fix: revert to parseInt * fix: typos, IAt type, docs, error messages * fix: lint * fix: fix error messaging, and docs fix: cleanup block extrinsics controller fix: omitFinalized -> true fix: add test to check parseNumberOrThrow will throw an error if a negative is passed in. Yarn fix * fix: remove async * fix: remove async fix: update extrinsic index test to query extrinsic 2 fix: lint * Update docs/src/openapi-v1.yaml Co-authored-by: Zeke Mostov <[email protected]> * fix: getExtrinsicByExtrinsicIndex => getExtrinsicByIndex * fix: getExtrinsicByIndex => getExtrinsicByTimepoint Co-authored-by: Zeke Mostov <[email protected]>
-