Skip to content

Commit 755ca4b

Browse files
authored
chore : ♻️ Update polkadotJS packages (Moonsong-Labs#329)
* update pkgs * fix imports
1 parent ec8efc9 commit 755ca4b

12 files changed

+1262
-581
lines changed

api-augment/dist/types/interfaces/augment-api-runtime.d.ts

+77
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ import type { CheckInherentsResult, InherentData } from "@polkadot/types/interfa
66
import type { BlockHash } from "@polkadot/types/interfaces/chain";
77
import type { AuthorityId } from "@polkadot/types/interfaces/consensus";
88
import type { CollationInfo } from "@polkadot/types/interfaces/cumulus";
9+
import type {
10+
CallDryRunEffects,
11+
XcmDryRunApiError,
12+
XcmDryRunEffects
13+
} from "@polkadot/types/interfaces/dryRunApi";
914
import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics";
1015
import type { GenesisBuildErr } from "@polkadot/types/interfaces/genesisBuilder";
1116
import type { OpaqueMetadata } from "@polkadot/types/interfaces/metadata";
@@ -21,6 +26,8 @@ import type {
2126
Header,
2227
Index,
2328
KeyTypeId,
29+
OriginCaller,
30+
RuntimeCall,
2431
Slot,
2532
SlotDuration,
2633
Weight,
@@ -29,6 +36,7 @@ import type {
2936
import type { RuntimeVersion } from "@polkadot/types/interfaces/state";
3037
import type { ApplyExtrinsicResult, Key } from "@polkadot/types/interfaces/system";
3138
import type { TransactionSource, TransactionValidity } from "@polkadot/types/interfaces/txqueue";
39+
import type { VersionedMultiLocation, VersionedXcm } from "@polkadot/types/interfaces/xcm";
3240
import type { XcmPaymentApiError } from "@polkadot/types/interfaces/xcmPaymentApi";
3341
import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi";
3442
import type {
@@ -246,6 +254,75 @@ declare module "@polkadot/api-base/types/calls" {
246254
**/
247255
[key: string]: DecoratedCallBase<ApiType>;
248256
};
257+
/** 0x91b1c8b16328eb92/1 */
258+
dryRunApi: {
259+
/**
260+
* Dry run call
261+
**/
262+
dryRunCall: AugmentedCall<
263+
ApiType,
264+
(
265+
origin:
266+
| OriginCaller
267+
| {
268+
System: any;
269+
}
270+
| string
271+
| Uint8Array,
272+
call: RuntimeCall | IMethod | string | Uint8Array
273+
) => Observable<Result<CallDryRunEffects, XcmDryRunApiError>>
274+
>;
275+
/**
276+
* Dry run XCM program
277+
**/
278+
dryRunXcm: AugmentedCall<
279+
ApiType,
280+
(
281+
originLocation:
282+
| VersionedMultiLocation
283+
| {
284+
V0: any;
285+
}
286+
| {
287+
V1: any;
288+
}
289+
| {
290+
V2: any;
291+
}
292+
| {
293+
V3: any;
294+
}
295+
| {
296+
V4: any;
297+
}
298+
| string
299+
| Uint8Array,
300+
xcm:
301+
| VersionedXcm
302+
| {
303+
V0: any;
304+
}
305+
| {
306+
V1: any;
307+
}
308+
| {
309+
V2: any;
310+
}
311+
| {
312+
V3: any;
313+
}
314+
| {
315+
V4: any;
316+
}
317+
| string
318+
| Uint8Array
319+
) => Observable<Result<XcmDryRunEffects, XcmDryRunApiError>>
320+
>;
321+
/**
322+
* Generic call
323+
**/
324+
[key: string]: DecoratedCallBase<ApiType>;
325+
};
249326
/** 0xb9e7717ace5b45cd/1 */
250327
fileSystemApi: {
251328
/**

0 commit comments

Comments
 (0)