Open whalelephant opened 6 months ago
can you please assign this issue to me
import { ExtensionOptions } from 'The liabrary of extensions'
public async sign(
signerAddress: string,
messages: readonly EncodeObject[],
fee: StdFee,
memo: string,
explicitSignerData?: SignerData,
timeoutHeight?: bigint,
extensionOptions?: ExtensionOptions, // Add an optional parameter for ExtensionOptions
): Promise
return isOfflineDirectSigner(this.signer)
? this.signDirect(signerAddress, messages, fee, memo, signerData, timeoutHeight, extensionOptions)
: this.signAmino(signerAddress, messages, fee, memo, signerData, timeoutHeight, extensionOptions);
}
you can tell me enhancements to do Thank you
Currently the
sign
function does not have argument forExtensionOptions
data and therefore users requiring such field to be non null must write their own functions such asSendTokens
etc.It would be good to have an optional field to propagate
ExtensionOptions
for transactions.