Swap &[u8] back to Bytes (#1180)

This commit is contained in:
Jaco Greeff
2019-07-24 16:31:24 +02:00
committed by GitHub
parent 48159cfb5a
commit 657d241754
2 changed files with 3 additions and 3 deletions
@@ -1483,7 +1483,7 @@
"constants": [
{
"name": "DEDUP_KEY_PREFIX",
"type": "Data",
"type": "Bytes",
"value": "0x343a73657373696f6e3a6b657973",
"documentation": [
" Used as first key for `NextKeys` and `KeyOwner` to put all the data into the same branch",
+2 -2
View File
@@ -57,8 +57,8 @@ export default class Type extends Text {
Type._alias('Compact<Index>', 'IndexCompact'),
// alias Vec<u8> -> Bytes
Type._alias('Vec<u8>', 'Bytes'),
// alias &[u8] -> Data (this has no length-prefix)
Type._alias('&\\[u8\\]', 'Data'),
// alias &[u8] -> Bytes
Type._alias('&\\[u8\\]', 'Bytes'),
// alias RawAddress -> Address
Type._alias('RawAddress', 'Address'),
// alias Lookup::Source to Address (_could_ be AccountId on certain chains)