Convert encodedLength to $encodedLength (#5426)
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user