Convert encodedLength to $encodedLength (#5426)

This commit is contained in:
Jaco
2023-01-19 13:17:33 +02:00
committed by GitHub
parent 044465eee4
commit ccab89304b
49 changed files with 181 additions and 103 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ export class Abi {
return args.map(({ type: { lookupName, type } }): Codec => {
const value = this.registry.createType(lookupName || type, data.subarray(offset));
offset += value.encodedLength;
offset += value.$encodedLength;
return value;
});