Non-array types for parachain de/reg (#175)
This commit is contained in:
@@ -11,7 +11,7 @@ import createSection from '@polkadot/params/section';
|
||||
const deregisterParachain: CreateItemOptions = {
|
||||
description: 'Deregister a parachain',
|
||||
params: [
|
||||
param('id', ['ParachainId'])
|
||||
param('id', 'ParachainId')
|
||||
],
|
||||
type: []
|
||||
};
|
||||
@@ -19,9 +19,9 @@ const deregisterParachain: CreateItemOptions = {
|
||||
const registerParachain: CreateItemOptions = {
|
||||
description: 'Register a parachain',
|
||||
params: [
|
||||
param('id', ['ParachainId']),
|
||||
param('code', ['Code']),
|
||||
param('headData', ['Bytes'])
|
||||
param('id', 'ParachainId'),
|
||||
param('code', 'Code'),
|
||||
param('headData', 'Bytes')
|
||||
],
|
||||
type: []
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user