* 6.2.1

* CHANGELOG

* Bump static metadata

* CHANGELOG
This commit is contained in:
Jaco
2021-10-04 11:17:55 +03:00
committed by GitHub
parent 9d5fb2bf72
commit a7e824ff09
37 changed files with 329 additions and 459 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "6.1.3-3",
"version": "6.2.0",
"type": "module",
"description": "Implementation of the Parity codec",
"main": "index.js",
@@ -26,7 +26,7 @@
},
"devDependencies": {
"@polkadot/keyring": "^7.4.1",
"@polkadot/types-support": "6.1.3-3",
"@polkadot/types-support": "6.2.0",
"@types/bn.js": "^4.11.6",
"bn.js": "^4.12.0"
}
+1 -1
View File
@@ -263,7 +263,7 @@ export default {
_enum: {
Null: 'Null',
Assets: 'XcmV1MultiassetMultiAssets',
ExecutionResult: 'Result<Null, (u32,XcmV2TraitsError)>',
ExecutionResult: 'Option<(u32,XcmV2TraitsError)>',
Version: 'u32'
}
},
+12 -20
View File
@@ -60,40 +60,32 @@ export default {
**/
XcmV2TraitsError: {
_enum: {
Undefined: 'Null',
Overflow: 'Null',
Unimplemented: 'Null',
UnhandledXcmVersion: 'Null',
UnhandledXcmMessage: 'Null',
UnhandledEffect: 'Null',
EscalationOfPrivilege: 'Null',
UntrustedReserveLocation: 'Null',
UntrustedTeleportLocation: 'Null',
DestinationBufferOverflow: 'Null',
MultiLocationFull: 'Null',
MultiLocationNotInvertible: 'Null',
FailedToDecode: 'Null',
BadOrigin: 'Null',
ExceedsMaxMessageSize: 'Null',
InvalidLocation: 'Null',
AssetNotFound: 'Null',
FailedToTransactAsset: 'Null',
WeightLimitReached: 'u64',
Wildcard: 'Null',
TooMuchWeightRequired: 'Null',
NotHoldingFees: 'Null',
WeightNotComputable: 'Null',
Barrier: 'Null',
NotWithdrawable: 'Null',
LocationCannotHold: 'Null',
TooExpensive: 'Null',
AssetNotFound: 'Null',
ExceedsMaxMessageSize: 'Null',
DestinationUnsupported: 'Null',
RecursionLimitReached: 'Null',
Transport: 'Null',
Unroutable: 'Null',
UnknownWeightRequired: 'Null',
Trap: 'u64',
UnknownClaim: 'Null',
InvalidLocation: 'Null'
FailedToDecode: 'Null',
TooMuchWeightRequired: 'Null',
NotHoldingFees: 'Null',
TooExpensive: 'Null',
Trap: 'u64',
UnhandledXcmVersion: 'Null',
WeightLimitReached: 'u64',
Barrier: 'Null',
WeightNotComputable: 'Null'
}
},
/**
@@ -1,7 +1,7 @@
// Auto-generated via `yarn polkadot-types-from-defs`, do not edit
/* eslint-disable */
import type { Bytes, Compact, Enum, Null, Option, Result, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { Bytes, Compact, Enum, Null, Option, Struct, U8aFixed, Vec, bool, u128, u16, u32, u64, u8 } from '@polkadot/types';
import type { PerU16 } from '@polkadot/types/interfaces/runtime';
import type { ITuple } from '@polkadot/types/types';
@@ -290,7 +290,7 @@ declare module '@polkadot/types/lookup' {
readonly isAssets: boolean;
readonly asAssets: XcmV1MultiassetMultiAssets;
readonly isExecutionResult: boolean;
readonly asExecutionResult: Result<Null, ITuple<[u32, XcmV2TraitsError]>>;
readonly asExecutionResult: Option<ITuple<[u32, XcmV2TraitsError]>>;
readonly isVersion: boolean;
readonly asVersion: u32;
}
@@ -59,42 +59,34 @@ declare module '@polkadot/types/lookup' {
/** @name XcmV2TraitsError (96) */
export interface XcmV2TraitsError extends Enum {
readonly isUndefined: boolean;
readonly isOverflow: boolean;
readonly isUnimplemented: boolean;
readonly isUnhandledXcmVersion: boolean;
readonly isUnhandledXcmMessage: boolean;
readonly isUnhandledEffect: boolean;
readonly isEscalationOfPrivilege: boolean;
readonly isUntrustedReserveLocation: boolean;
readonly isUntrustedTeleportLocation: boolean;
readonly isDestinationBufferOverflow: boolean;
readonly isMultiLocationFull: boolean;
readonly isMultiLocationNotInvertible: boolean;
readonly isFailedToDecode: boolean;
readonly isBadOrigin: boolean;
readonly isExceedsMaxMessageSize: boolean;
readonly isInvalidLocation: boolean;
readonly isAssetNotFound: boolean;
readonly isFailedToTransactAsset: boolean;
readonly isWeightLimitReached: boolean;
readonly asWeightLimitReached: u64;
readonly isWildcard: boolean;
readonly isTooMuchWeightRequired: boolean;
readonly isNotHoldingFees: boolean;
readonly isWeightNotComputable: boolean;
readonly isBarrier: boolean;
readonly isNotWithdrawable: boolean;
readonly isLocationCannotHold: boolean;
readonly isTooExpensive: boolean;
readonly isAssetNotFound: boolean;
readonly isExceedsMaxMessageSize: boolean;
readonly isDestinationUnsupported: boolean;
readonly isRecursionLimitReached: boolean;
readonly isTransport: boolean;
readonly isUnroutable: boolean;
readonly isUnknownWeightRequired: boolean;
readonly isUnknownClaim: boolean;
readonly isFailedToDecode: boolean;
readonly isTooMuchWeightRequired: boolean;
readonly isNotHoldingFees: boolean;
readonly isTooExpensive: boolean;
readonly isTrap: boolean;
readonly asTrap: u64;
readonly isUnknownClaim: boolean;
readonly isInvalidLocation: boolean;
readonly isUnhandledXcmVersion: boolean;
readonly isWeightLimitReached: boolean;
readonly asWeightLimitReached: u64;
readonly isBarrier: boolean;
readonly isWeightNotComputable: boolean;
}
/** @name PolkadotParachainPrimitivesHrmpChannelId (98) */
+1 -1
View File
@@ -3,4 +3,4 @@
// Auto-generated by @polkadot/dev, do not edit
export const packageInfo = { name: '@polkadot/types', version: '6.1.3-3' };
export const packageInfo = { name: '@polkadot/types', version: '6.2.0' };