flow-cli
flow-cli copied to clipboard
Add faucet url when deploy fails with storage error
When running flow project deploy you can encounter this message with a new account and trying to deploy:
❌ Failed to deploy contract HelloWorld: failed to deploy contract HelloWorld: [Error Code: 1103] error caused by: 1 error occurred:
* storage limit check failed: [Error Code: 1103] The account with address (94e22a0173052da2) uses 1440 bytes of storage which is over its capacity (0 bytes). Capacity can be increased by adding FLOW tokens to the account.
It would be nice to link out to the faucet and if the address could be pre-populated that would be a bonus.
Faucet link: https://faucet.flow.com/fund-account