Skip to content

Change --gas=simulate to --gas=auto when sending txs #3162

Closed
@alessio

Description

Users may be confused by the flag --simulate and the simulate value of the --gas flag.

--gas=simulate sets the gas to estimated value returned by the simulation that runs before the tx is executed. Conversely, --simulate just triggers the simulation without eventually execution the transaction.

Hereby I propose to change the simulate value accepted by the --gas flag to auto.

@fedekunze


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

C:CLIS:proposedT: API BreakingBreaking changes that impact APIs and the SDK only (not state machine).T: UX

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions