Skip to content

generate-only still requires node access #4305

Closed

Description

Summary of Bug

A bulk, if not all, commands that support --generate-only call GenerateOrBroadcastMsgs. This internally is always passed offline: false, which is then passed to PrintUnsignedStdTx. Because offline: false, we then call buildUnsignedStdTx, which then calls PrepareTxBuilder. Finally, PrepareTxBuilder performs some node queries. Namely, it ensures the account exists.

I believe PrepareTxBuilder should remain as-is, but that PrintUnsignedStdTx never calls buildUnsignedStdTx.


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions