Dedupe internal Codec property access (#4941)
* Dedupe internal Codec property access * Remove getter override * OptionBool fixes * Adjust isBasic * Remove isBasic check * Re-add isBasic * Remove static decodeCompact
This commit is contained in:
@@ -167,10 +167,6 @@ abstract class ExtrinsicBase<A extends AnyTuple> extends Base<ExtrinsicVx | Extr
|
||||
return this.inner.signature.nonce;
|
||||
}
|
||||
|
||||
public override get registry (): Registry {
|
||||
return super.registry;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description The actual [[EcdsaSignature]], [[Ed25519Signature]] or [[Sr25519Signature]]
|
||||
*/
|
||||
|
||||
@@ -65,10 +65,6 @@ export class GenericExtrinsicV4 extends Struct implements IExtrinsicImpl {
|
||||
return this.getT('method');
|
||||
}
|
||||
|
||||
public override get registry (): Registry {
|
||||
return super.registry;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description The [[ExtrinsicSignatureV4]]
|
||||
*/
|
||||
|
||||
@@ -89,10 +89,6 @@ export class GenericExtrinsicSignatureV4 extends Struct implements IExtrinsicSig
|
||||
return this.getT('nonce');
|
||||
}
|
||||
|
||||
public override get registry (): Registry {
|
||||
return super.registry;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description The actual [[EcdsaSignature]], [[Ed25519Signature]] or [[Sr25519Signature]]
|
||||
*/
|
||||
|
||||
@@ -189,10 +189,6 @@ export class GenericCall<A extends AnyTuple = AnyTuple> extends Struct implement
|
||||
return this.registry.findMetaCall(this.callIndex).method;
|
||||
}
|
||||
|
||||
public override get registry (): Registry {
|
||||
return super.registry;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Returns the module containing the method
|
||||
*/
|
||||
|
||||
@@ -73,10 +73,6 @@ export class MetadataVersioned extends Struct {
|
||||
return this.getT('metadata');
|
||||
};
|
||||
|
||||
public override get registry (): Registry {
|
||||
return super.registry;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description Returns the wrapped metadata as a limited calls-only (latest) version
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user