Fix invalid Lookup assignment on augmentation and update polkadot and kusama metadata (#5812)
* Update kusama and polkadot * fix type gen aug * todo * fix nits * Update json metadata * Fix xcmv3multilocation * fix spacing * fix tests
This commit is contained in:
@@ -12,11 +12,11 @@ export const runtime: DefinitionsCall = {
|
||||
params: [
|
||||
{
|
||||
name: 'asset1',
|
||||
type: 'XcmV3MultiLocation'
|
||||
type: 'StagingXcmV3MultiLocation'
|
||||
},
|
||||
{
|
||||
name: 'asset2',
|
||||
type: 'XcmV3MultiLocation'
|
||||
type: 'StagingXcmV3MultiLocation'
|
||||
}
|
||||
],
|
||||
type: 'Option<(Balance,Balance)>'
|
||||
@@ -26,11 +26,11 @@ export const runtime: DefinitionsCall = {
|
||||
params: [
|
||||
{
|
||||
name: 'asset1',
|
||||
type: 'XcmV3MultiLocation'
|
||||
type: 'StagingXcmV3MultiLocation'
|
||||
},
|
||||
{
|
||||
name: 'asset2',
|
||||
type: 'XcmV3MultiLocation'
|
||||
type: 'StagingXcmV3MultiLocation'
|
||||
},
|
||||
{
|
||||
name: 'amount',
|
||||
@@ -48,11 +48,11 @@ export const runtime: DefinitionsCall = {
|
||||
params: [
|
||||
{
|
||||
name: 'asset1',
|
||||
type: 'XcmV3MultiLocation'
|
||||
type: 'StagingXcmV3MultiLocation'
|
||||
},
|
||||
{
|
||||
name: 'asset2',
|
||||
type: 'XcmV3MultiLocation'
|
||||
type: 'StagingXcmV3MultiLocation'
|
||||
},
|
||||
{
|
||||
name: 'amount',
|
||||
|
||||
@@ -122,7 +122,7 @@ describe('runtime definitions', (): void => {
|
||||
for (const { methods, version } of versions) {
|
||||
describe(`version ${version}`, (): void => {
|
||||
const methodsEntries = Object.entries<DefinitionCall>(methods);
|
||||
const skipInspectTypes = ['XcmV3MultiLocation', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedMultiAssets, FungiblesAccessError>'];
|
||||
const skipInspectTypes = ['StagingXcmV3MultiLocation', 'StagingXcmV3MultiLocation', 'Result<Vec<XcmV3MultiAsset>, FungiblesAccessError>', 'Result<XcmVersionedMultiAssets, FungiblesAccessError>'];
|
||||
|
||||
for (const [key, { params, type }] of methodsEntries) {
|
||||
describe(`${key}`, (): void => {
|
||||
|
||||
Reference in New Issue
Block a user