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:
Tarik Gul
2024-03-15 04:15:25 +02:00
committed by GitHub
parent 89227fd031
commit 60993d8fa4
37 changed files with 31163 additions and 15648 deletions
@@ -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 => {