Add dry-run v2 definition (#6144)
This commit is contained in:
@@ -37,6 +37,43 @@ export const runtime: DefinitionsCall = {
|
||||
}
|
||||
},
|
||||
version: 1
|
||||
},
|
||||
{
|
||||
methods: {
|
||||
dry_run_call: {
|
||||
description: 'Dry run call',
|
||||
params: [
|
||||
{
|
||||
name: 'origin',
|
||||
type: 'OriginCaller'
|
||||
},
|
||||
{
|
||||
name: 'call',
|
||||
type: 'RuntimeCall'
|
||||
},
|
||||
{
|
||||
name: 'resultXcmsVersion',
|
||||
type: 'u32'
|
||||
}
|
||||
],
|
||||
type: 'Result<CallDryRunEffects, XcmDryRunApiError>'
|
||||
},
|
||||
dry_run_xcm: {
|
||||
description: 'Dry run XCM program',
|
||||
params: [
|
||||
{
|
||||
name: 'originLocation',
|
||||
type: 'VersionedMultiLocation'
|
||||
},
|
||||
{
|
||||
name: 'xcm',
|
||||
type: 'VersionedXcm'
|
||||
}
|
||||
],
|
||||
type: 'Result<XcmDryRunEffects, XcmDryRunApiError>'
|
||||
}
|
||||
},
|
||||
version: 2
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user