@dedot/chaintypes 0.252.0 → 0.254.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kusama/json-rpc.d.ts +1 -0
- package/kusama-asset-hub/json-rpc.d.ts +1 -0
- package/kusama-people/json-rpc.d.ts +1 -0
- package/package.json +2 -2
- package/polkadot/json-rpc.d.ts +1 -0
- package/polkadot-asset-hub/json-rpc.d.ts +1 -0
- package/polkadot-people/json-rpc.d.ts +1 -0
- package/westend/index.d.ts +1 -1
- package/westend/runtime.d.ts +11 -5
- package/westend/types.d.ts +4 -1
package/kusama/json-rpc.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dedot/chaintypes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.254.0",
|
|
4
4
|
"description": "Types for substrate-based chains",
|
|
5
5
|
"author": "Thang X. Vu <thang@dedot.dev>",
|
|
6
6
|
"homepage": "https://dedot.dev",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"directory": "dist"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "ccd8ce371442d8333058e3db63e27a3d3826e3b1",
|
|
29
29
|
"module": "./index.js",
|
|
30
30
|
"types": "./index.d.ts",
|
|
31
31
|
"exports": {
|
package/polkadot/json-rpc.d.ts
CHANGED
package/westend/index.d.ts
CHANGED
package/westend/runtime.d.ts
CHANGED
|
@@ -696,15 +696,21 @@ export interface RuntimeApis extends GenericRuntimeApis {
|
|
|
696
696
|
maxRelayParentSessionAge: GenericRuntimeApiMethod<() => Promise<number>>;
|
|
697
697
|
|
|
698
698
|
/**
|
|
699
|
-
*
|
|
700
|
-
*
|
|
701
|
-
*
|
|
699
|
+
* Look up relay parent info for a block that is an **ancestor** of the block
|
|
700
|
+
* this API is called at. Returns `None` if the relay parent is not found
|
|
701
|
+
* in the allowed relay parents for the given session.
|
|
702
702
|
*
|
|
703
|
-
*
|
|
703
|
+
* NOTE: A block is not in its own `AllowedRelayParents` storage (it gets
|
|
704
|
+
* added during the next block's inherent). Querying a block about itself
|
|
705
|
+
* will always return `None`. Use the node-side `check_relay_parent_session`
|
|
706
|
+
* utility for a general-purpose check that handles both the self and
|
|
707
|
+
* ancestor cases.
|
|
708
|
+
*
|
|
709
|
+
* @callname: ParachainHost_ancestor_relay_parent_info
|
|
704
710
|
* @param {number} session_index
|
|
705
711
|
* @param {H256} relay_parent
|
|
706
712
|
**/
|
|
707
|
-
|
|
713
|
+
ancestorRelayParentInfo: GenericRuntimeApiMethod<
|
|
708
714
|
(sessionIndex: number, relayParent: H256) => Promise<PolkadotPrimitivesVstagingRelayParentInfo | undefined>
|
|
709
715
|
>;
|
|
710
716
|
|
package/westend/types.d.ts
CHANGED
|
@@ -6953,12 +6953,15 @@ export type PolkadotPrimitivesV9ExecutorParamsExecutorParam =
|
|
|
6953
6953
|
| { type: 'PrecheckingMaxMemory'; value: bigint }
|
|
6954
6954
|
| { type: 'PvfPrepTimeout'; value: [PolkadotPrimitivesV9PvfPrepKind, bigint] }
|
|
6955
6955
|
| { type: 'PvfExecTimeout'; value: [PolkadotPrimitivesV9PvfExecKind, bigint] }
|
|
6956
|
-
| { type: 'WasmExtBulkMemory' }
|
|
6956
|
+
| { type: 'WasmExtBulkMemory' }
|
|
6957
|
+
| { type: 'EnabledHostFunction'; value: PolkadotPrimitivesV9ExecutorParamsExecutorHostFunction };
|
|
6957
6958
|
|
|
6958
6959
|
export type PolkadotPrimitivesV9PvfPrepKind = 'Precheck' | 'Prepare';
|
|
6959
6960
|
|
|
6960
6961
|
export type PolkadotPrimitivesV9PvfExecKind = 'Backing' | 'Approval';
|
|
6961
6962
|
|
|
6963
|
+
export type PolkadotPrimitivesV9ExecutorParamsExecutorHostFunction = 'EccRfc163';
|
|
6964
|
+
|
|
6962
6965
|
export type PolkadotPrimitivesV9ApprovalVotingParams = { maxApprovalCoalesceCount: number };
|
|
6963
6966
|
|
|
6964
6967
|
export type PolkadotPrimitivesVstagingSchedulerParams = {
|