You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create_signed_offline method of TxClient accepts reference of call as generic Call which impls Payload trait.
There might be some use cases building some payloads(including issue #1241), ignoring the actual types and collect them in a vector to sign at once.
I hesitated with this a bit because IIRC we used to have a way to box payloads, but it had some issues and was removed. However, I had a go in #1690 and it all worked out ok so def a nice thing to have :)
create_signed_offline method of TxClient accepts reference of call as generic Call which impls Payload trait.
There might be some use cases building some payloads(including issue #1241), ignoring the actual types and collect them in a vector to sign at once.
for example,
It might be great if some smart pointers implements Payload trait as well as its original type.
thank you :)
The text was updated successfully, but these errors were encountered: