Surprisingly slow cli commands #2184
Labels
A-ux/devex
Area: relates to external ux / devex. (Users typically are devs) (See also A-internal-devex)
T-optimisation
Type: Optimisation. Making something faster / cheaper / smaller
This should at least be considered and understood before the public launch:
"
A bit surprised the creation of the accounts + waiting for the deploy takes a few seconds..given it’s a local environment i’d hope it’s ~instant. Maybe some polling check can be made tighter? aztec-cli generate-private-key & aztec-cli create-account feel super slow, not sure if it’s bc they do something on-chain, you’d expect account creation is offline and ~instant
"
Creation of an account deploys an account contract, so that will explain some of the slowness. Is there anything that can be done to improve the speeds here?
If not (or if not immediately fixable), perhaps the cli should console.log an explanation that account creation involves deployment. (E.g.
deploying account contract...
)Related issue: #1558
The text was updated successfully, but these errors were encountered: