- Sep 11, 2023
-
-
Pierre Besson authored
- Sep 08, 2023
-
-
Dominique authored
* feat: add pallets/foreign-assets endpoint - add controller, service & reponse type for foreign assets - update chain-config - update docs * fix: remove `asset-info` from endpoint & fix docs - In /pallets/foreign-assets/ endpoint removed `asset-info` since it is not necessary. - In the docs removed the array notation from the `200` response of multiple endpoints (including foreign assets) since there is no outer array in the result. * add name & symbol in human readable format - Added in the response the asset's name & symbol in human readable format. * Refactored the code that retrieves the metadata of the foreign asset - Retrieved metadata based on MultiLocation key obtained by asset info entries - Changed types in IForeignAssetInfo * test: added test & mock data - Added a test (tinkernet) for foreign asset - Added metadata & registry for Asset Hub Kusama * Update src/services/pallets/PalletsForeignAssetsService.ts Co-authored-by: Tarik Gul <[email protected]> * Update src/services/pallets/PalletsForeignAssetsService.ts Co-authored-by: Tarik Gul <[email protected]> * Update src/services/pallets/PalletsForeignAssetsService.ts Co-authored-by: Tarik Gul <[email protected]> * Update src/services/pallets/PalletsForeignAssetsService.ts Co-authored-by: Tarik Gul <[email protected]> * Update src/services/pallets/PalletsForeignAssetsService.ts Co-authored-by: Tarik Gul <[email protected]> * replaced type anyjson with codec * changed types in assetInfo & assetMetadata & copyright - Replaced types to avoid type casts based on Tarik's suggestion - Added the copyright in some files that was missing - Updated the copyright year in some of the files * removed storageKeyMultilocation & changed storageKey - Changed the copyright year in the files related to this PR * fix: changes to support a list of multiple foreign assets * Updated test to work with multiple foreign assets - Added the DOT asset in the test file (.spec) - Added the AssetInfo and AssetMetadata for the DOT asset in the mock data (metadata currently have empty & zero values because those are the values in Asset Hub right now - to be changed) - Added again the storageKeyMultilocation in TypeFactory since indexType is not included in InterfaceTypes (as defined in storageKey) * Changes types of foreignAssetInfo and foreignAssetMetadata - Replaced PalletAssetsAssetMetadata with AssetMetadata - Removed also Option from assetMetadata * fix typing on queried values, and return values * fix test * removed an unnecessary console.log --------- Co-authored-by: Tarik Gul <[email protected]> Co-authored-by: tarikgul <[email protected]>
-
- Sep 05, 2023
-
-
Alberto Nicolas Penayo authored
* (docs) fixed lack of responses on pallet-asset-conversion * (docs) ran yarn build:docs
-
dependabot[bot] authored
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Sergejs Kostjucenko authored
-
- Sep 01, 2023
-
-
Alberto Nicolas Penayo authored
* (feat) added asset-conversion endpoints * (docs) updated openapi docs * (docs) updated schemas * (tests) added e2e historical tests
-
- Aug 26, 2023
-
-
Tarik Gul authored
* ci: add semantic title check * Update version * change action * apply name * semantic * change to main * cleanup ci * validate-pr * specify version * test seperate workflow * update * push event trigger on edited * cleanup small nits
-
- Aug 23, 2023
-
-
ran xiao authored
-
- Aug 22, 2023
-
-
Tarik Gul authored
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.6.1 to 2.6.2. - [Release notes](https://github.com/swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/swatinem/rust-cache/compare/578b235f6e5f613f7727f1c17bd3305b4d4d4e1f...e207df5d269b42b69c8bc5101da26f7d31feddb4) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Aug 18, 2023
-
-
Tarik Gul authored
-
Alberto Nicolas Penayo authored
* first commit * typos * added test for nominator * cleanup, improved comments * (docs) added documentation for calc_partial_fee and calc_payout * fixed typos, separated tests and added block_number * typos
-
- Aug 16, 2023
-
- Aug 14, 2023
-
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/swatinem/rust-cache/compare/b8a6852b4f997182bdea832df3f9e153038b5191...578b235f6e5f613f7727f1c17bd3305b4d4d4e1f) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Dominique authored
* fix: change error&error codes returned from /transaction/* related endpoints * Revert back to using `extractCauseAndStack` & pass error code in `txErrorMiddleware` - Reverted to the previous error handling with `extractCauseAndStack` - Added the `code` in error thrown and passed it in the `txErrorMiddleware` - Reverted the changes to the test `.spec` files - Updated the mock files with the error code returned since now `err` also includes the `code` - Updated `ITxLegacyError` - Reverted changes in docs and rebuilt * fix: removed comment
-
- Aug 03, 2023
-
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.5.1 to 2.6.0. - [Release notes](https://github.com/swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/swatinem/rust-cache/compare/dd05243424bd5c0e585e4b55eb2d7615cdd32f1f...b8a6852b4f997182bdea832df3f9e153038b5191) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Aug 02, 2023
-
-
Xiliang Chen authored
-
dependabot[bot] authored
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. - [Release notes](https://github.com/jonschlinkert/word-wrap/releases) - [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4) --- updated-dependencies: - dependency-name: word-wrap dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Jul 14, 2023
-
-
Tarik Gul authored
-
- Jul 12, 2023
-
-
Tarik Gul authored
-
- Jul 11, 2023
-
-
dependabot[bot] authored
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Jul 05, 2023
-
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.5.0 to 2.5.1. - [Release notes](https://github.com/swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/swatinem/rust-cache/compare/2656b87321093db1cb55fbd73183d195214fdfd1...dd05243424bd5c0e585e4b55eb2d7615cdd32f1f) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Dominique authored
- Jun 29, 2023
-
-
Tarik Gul authored
* start the rework * Update comment in tests
-
- Jun 26, 2023
-
-
dependabot[bot] authored
Bumps [semver](https://github.com/npm/node-semver) from 7.3.5 to 7.5.3. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v7.3.5...v7.5.3) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Jun 20, 2023
-
-
Dominique authored
* fix: renamed statemint-mine to asset-hub-* * yarn lint
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.4.0 to 2.5.0. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/988c164c3d0e93c4dbab36aaf5bbeb77425b2894...2656b87321093db1cb55fbd73183d195214fdfd1) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Jun 13, 2023
-
- Jun 12, 2023
-
-
Dominique authored
* chore(deps): update polkadot-js * fix(deps): replaced Constructor with CodecClass
-
- Jun 08, 2023
-
-
Tarik Gul authored
-
- Jun 07, 2023
-
-
Sergejs Kostjucenko authored
-
- May 31, 2023
-
-
Dominique authored
-
- May 30, 2023
-
-
Dominique authored
* feat: add prometheus `metrics` endpoint in dedicated server & port - add separate express instance and port for prometheus metrics - expose the default prometheus metrics - add a custom metric of type `counter` that increments in every http error * fix lint errors by using an IIFE & adding void operator - remove the `return` keyword - add an IIFE inside the callback - add the `void` operator * update dep prom-client * add prometheus flags & fix for process.kill - add a prometheus flag that runs the prometheus server & enables the metrics endpoint - add a prometheus-port flag so that the user can choose a custom port to run the metrics endpoint - change the code in killAll so that there is no `Object is possibly undefined` error * code refactor, help page & README - add prometheus options and description under help flag - add `metricsApp` and increased `httpErrorCounter` only if prometheus flag is true - move logger and register inside functions - docs: add a section for prometheus in the README * remove jest unnecessary flags --------- Co-authored-by: tarikgul <[email protected]>
-
- May 29, 2023
-
- May 26, 2023
-
-
Dominique authored
- Updated pjs api deps. - Updated code of `isFrozen` so that we support both past & future runtimes. - Removed one test from latest-e2e-tests of kusama because this pallet was removed. - Updated docs related to the `isFrozen` change.
-
- May 23, 2023
-
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.3.0 to 2.4.0. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/060bda31e0be4f453bb6ed2d7e5427b31734ad01...988c164c3d0e93c4dbab36aaf5bbeb77425b2894) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- May 16, 2023
-
-
dependabot[bot] authored
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.2.1 to 2.3.0. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/6fd3edff6979b79f87531400ad694fb7f2c84b1f...060bda31e0be4f453bb6ed2d7e5427b31734ad01) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- May 08, 2023
-