Add ValidationFunctionParams type (#2467)

This commit is contained in:
Jaco Greeff
2020-08-04 12:56:55 +02:00
committed by GitHub
parent 19510c1ede
commit fa935156e1
12 changed files with 94 additions and 88 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
"@polkadot/api": "1.27.1",
"@polkadot/rpc-core": "1.27.1",
"@polkadot/types": "1.27.1",
"@polkadot/util": "^3.0.1",
"@polkadot/util": "^3.1.0-beta.2",
"bn.js": "^5.1.2",
"rxjs": "^6.6.2"
}
+3 -3
View File
@@ -32,13 +32,13 @@
"@polkadot/rpc-core": "1.27.1",
"@polkadot/rpc-provider": "1.27.1",
"@polkadot/types": "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",
"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"
}
}
+4 -4
View File
@@ -28,19 +28,19 @@
"dependencies": {
"@babel/runtime": "^7.11.0",
"@polkadot/api-derive": "1.27.1",
"@polkadot/keyring": "^3.0.1",
"@polkadot/keyring": "^3.1.0-beta.2",
"@polkadot/metadata": "1.27.1",
"@polkadot/rpc-core": "1.27.1",
"@polkadot/rpc-provider": "1.27.1",
"@polkadot/types": "1.27.1",
"@polkadot/types-known": "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",
"bn.js": "^5.1.2",
"eventemitter3": "^4.0.4",
"rxjs": "^6.6.2"
},
"devDependencies": {
"@polkadot/keyring": "^3.0.1"
"@polkadot/keyring": "^3.1.0-beta.2"
}
}
+3 -3
View File
@@ -29,11 +29,11 @@
"@babel/runtime": "^7.11.0",
"@polkadot/types": "1.27.1",
"@polkadot/types-known": "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",
"bn.js": "^5.1.2"
},
"devDependencies": {
"@polkadot/keyring": "^3.0.1"
"@polkadot/keyring": "^3.1.0-beta.2"
}
}
+2 -2
View File
@@ -30,11 +30,11 @@
"@polkadot/metadata": "1.27.1",
"@polkadot/rpc-provider": "1.27.1",
"@polkadot/types": "1.27.1",
"@polkadot/util": "^3.0.1",
"@polkadot/util": "^3.1.0-beta.2",
"memoizee": "^0.4.14",
"rxjs": "^6.6.2"
},
"devDependencies": {
"@polkadot/keyring": "^3.0.1"
"@polkadot/keyring": "^3.1.0-beta.2"
}
}
+3 -3
View File
@@ -29,15 +29,15 @@
"@babel/runtime": "^7.11.0",
"@polkadot/metadata": "1.27.1",
"@polkadot/types": "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",
"bn.js": "^5.1.2",
"eventemitter3": "^4.0.4",
"isomorphic-fetch": "^2.2.1",
"websocket": "^1.0.31"
},
"devDependencies": {
"@polkadot/keyring": "^3.0.1",
"@polkadot/keyring": "^3.1.0-beta.2",
"mock-socket": "^9.0.3",
"nock": "^13.0.3"
}
+1 -1
View File
@@ -40,7 +40,7 @@
"@polkadot/metadata": "1.27.1",
"@polkadot/rpc-provider": "1.27.1",
"@polkadot/types": "1.27.1",
"@polkadot/util": "^3.0.1",
"@polkadot/util": "^3.1.0-beta.2",
"handlebars": "^4.7.6",
"websocket": "^1.0.31",
"yargs": "^15.4.1"
+1 -1
View File
@@ -28,7 +28,7 @@
"dependencies": {
"@babel/runtime": "^7.11.0",
"@polkadot/types": "1.27.1",
"@polkadot/util": "^3.0.1",
"@polkadot/util": "^3.1.0-beta.2",
"bn.js": "^5.1.2"
},
"devDependencies": {
+3 -3
View File
@@ -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: {