Add ValidationFunctionParams type (#2467)
This commit is contained in:
@@ -28,15 +28,15 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.11.0",
|
||||
"@polkadot/metadata": "1.27.1",
|
||||
"@polkadot/util": "^3.0.1",
|
||||
"@polkadot/util-crypto": "^3.0.1",
|
||||
"@polkadot/util": "^3.1.0-beta.2",
|
||||
"@polkadot/util-crypto": "^3.1.0-beta.2",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
"bn.js": "^5.1.2",
|
||||
"memoizee": "^0.4.14",
|
||||
"rxjs": "^6.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^3.0.1",
|
||||
"@polkadot/keyring": "^3.1.0-beta.2",
|
||||
"@types/memoizee": "^0.4.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -113,6 +113,7 @@ export default {
|
||||
ParaScheduling: {
|
||||
_enum: ['Always', 'Dynamic']
|
||||
},
|
||||
RelayChainBlockNumber: 'BlockNumber',
|
||||
Remark: '[u8; 32]',
|
||||
Retriable: {
|
||||
_enum: {
|
||||
@@ -143,6 +144,11 @@ export default {
|
||||
origin: 'ParachainDispatchOrigin',
|
||||
data: 'Vec<u8>'
|
||||
},
|
||||
ValidationFunctionParams: {
|
||||
maxCodeSize: 'u32',
|
||||
relayChainHeight: 'RelayChainBlockNumber',
|
||||
codeUpgradeAllowed: 'Option<RelayChainBlockNumber>'
|
||||
},
|
||||
ValidationCode: 'Bytes',
|
||||
ValidatorSignature: 'Signature',
|
||||
ValidityAttestation: {
|
||||
|
||||
Reference in New Issue
Block a user