Skip to content

Improve weight messaging in pop call command #612

@moliholy

Description

@moliholy
Image

Few things here:

  1. In the Enter the gas limit question:

    • It is not "gas", it's the ref_time component of the weight, i.e. the maximum number of picoseconds of execution for a given extrinsic. The name is misleading, and does not have a 1:1 parallelism with the typical Ethereum "gas" devs are used to. I propose renaming if it to something to "execution time" or something alike. Of course, open to discussion.
    • I wonder... how often users do NOT estimate the call? If users do always estimate, I think it'd make sense to only display this question if the user provides a flag for it, or even in the most extreme case: not specifying it for simplicity.
  2. In the Enter the proof size limit question:

    • If the previous question was left blank... will users really fill this one? I think it should be skipped in that case.
    • Same point applies here: it should only be specified if a flag is passed and automatically estimated.

Metadata

Metadata

Assignees

Labels

DevExChange to improve the Developer ExperienceenhancementNew feature or requestgood first issueGood for newcomerslowLow priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions