Make invalid V9 metadata parse (won't work, but parses) (#1743)
* Make invalid V9 metadata parse (won't work, but parses) * Add invalid to V4 (simpler, no code)
This commit is contained in:
@@ -223,7 +223,11 @@ export default {
|
||||
Blake2_256: null, // eslint-disable-line @typescript-eslint/camelcase
|
||||
Twox128: null,
|
||||
Twox256: null,
|
||||
Twox64Concat: null
|
||||
Twox64Concat: null,
|
||||
// We had a bug in some versions of V9, where it was not bumped - V10 fixed (add invalid for this range)
|
||||
// At this point, things won't work anyway (indexes mismatched, but at least allow for parsing)
|
||||
// (Technically this should be on V9, however then we need code as well...)
|
||||
InvalidEntry: null
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -1042,6 +1042,8 @@ export interface StorageHasherV4 extends Enum {
|
||||
readonly isTwox256: boolean;
|
||||
/** 4:: Twox64Concat */
|
||||
readonly isTwox64Concat: boolean;
|
||||
/** 5:: InvalidEntry */
|
||||
readonly isInvalidEntry: boolean;
|
||||
}
|
||||
|
||||
/** StorageHasherV4 */
|
||||
|
||||
Reference in New Issue
Block a user