-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework client.TxBuilder #8138
Comments
Copying a conversation related to the signing issue: We have a problem with off-chain transaction signing in the DIRECT mode. In #8106 (fix: Signature only flag bug on tx sign command) we had a lengthy discussion about expected use case of CLI signing. The main user story is:
A variant of the above is a sequential process, where users sign and pass from one to another the transaction. This doesn't work after launchpad. Few reasons:
We made it working for a single signature use case, but for multiple signatures the process is more constrained as explained above. |
Let's make sure we address ADR 031 |
As part of this we should also be looking at whatever is leftover from #7357 |
this will be on hold until the implementation of ADR071 is completed. |
Summary
client.TxBuilder
and it's implementation (x/auth/tx.wrapper
) are badly implemented:client/tx.Sign
) functionality is twisted and requires a use of external object (txFactory) which may be in conflict withtxBuilder
state.Context:
Proposal
Usage of
txBuilder
should be investigated.Redesign
client.TxBuilder
interface and reimplementtx.wrapper
.For Admin Use
The text was updated successfully, but these errors were encountered: