Skip to content
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

add --nonce override flag to kwil-cli database commands #337

Merged
merged 1 commit into from
Oct 6, 2023

Commits on Oct 6, 2023

  1. kwil-cli,pkg/client: add --nonce override flag to database cmds

    This adds the ability to set a nonce when making a transaction.
    
    Rather than giving every method a nonce input arg, I've added a
    WithNonceFunc option to pkg/client.Client. This is perhaps a
    little strange but the cascade from a new argument was rather
    large, and it seemed a little out of place as the other arguments
    pertain to the action rather than the transaction containing it.
    Can be switched if we'd prefer.
    jchappelow committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    aa9ae3c View commit details
    Browse the repository at this point in the history