v12.0.2
Important Changes:
withSignedTransaction
: This option has been added toSignerOptions
. When usingsignAndSend
,signAsync
, anddryRun
you may now enable or disable the use of thesignedTransaction
field by adding thewithSignedTransaction
option. When withSignedTransaction is not enabled but the signer adds a signedTransaction the api will error.- Always disabled by default.
- This ensures no big breaking changes happen to the interface of
signPayload
. withSignedTransaction
has also been added to theSignerPayload
type which allows forpayload.toPayload()
to include the option.
signAsync
: now accepts thesignedTransaction
field as well. This means that ifwithSignedTransaction
is enabled, andsignedTransaction
is present the api will adjust the current payload attached to the SubmittableExtrinsic, and add the signature. Then the user can call.send()
as they please.dryRun
: All steps will be the same as signAsync with the exception that .send() has never needed to be called.
Contributed:
- Add LocationToAccountApi::convert_location runtime API (Thanks to https://github.com/bkontur)