Update signing comment (#1509)
* Update signing comment * Extrinsic V4 CHANGELOG
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# 0.95.0-beta.x
|
||||
|
||||
- Support Extrinsic V4 with additional signature indicator (Latest Kusama)
|
||||
- Adjust subscription update checks to avoid duplicated data updates
|
||||
- Support Metadata V8 (exposes per-module `decl_error` definitions)
|
||||
- Support next generation contracts ABI (with additional type definitions)
|
||||
|
||||
@@ -79,7 +79,7 @@ export default class ExtrinsicPayloadV4 extends Struct {
|
||||
// NOTE The `toU8a(true)` argument is absolutely critical - we don't want the method (Bytes)
|
||||
// to have the length prefix included. This means that the data-as-signed is un-decodable,
|
||||
// but is also doesn't need the extra information, only the pure data (and is not decoded)
|
||||
// ... The same applies to V1 & V1, if we have a V4, carry move this comment to latest
|
||||
// ... The same applies to V1..V3, if we have a V5, carry move this comment to latest
|
||||
return sign(signerPair, this.toU8a(true), { withType: true });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user