Skip runtime-only type check (#5593)

* Skip runtime-only type check

* Add CHANGELOG
This commit is contained in:
Jaco
2023-04-14 16:53:53 +03:00
committed by GitHub
parent 2389ea16e1
commit b4bb6613b1
2 changed files with 13 additions and 3 deletions
+7
View File
@@ -1,5 +1,12 @@
# CHANGELOG
## master
Contributed:
- Add support for Fungibles runtime api (Thanks to https://github.com/bkontur)
## 10.3.2 Apr 10, 2023
Changes:
@@ -125,9 +125,12 @@ describe('runtime definitions', (): void => {
for (const [key, { params, type }] of methodsEntries) {
describe(key, (): void => {
it(`output ${type} is known`, (): void => {
expect(() => inspectType(type)).not.toThrow();
});
// Applied from runtime, used in Funglibles
if (type !== 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>') {
it(`output ${type} is known`, (): void => {
expect(() => inspectType(type)).not.toThrow();
});
}
if (params.length) {
describe('params', (): void => {