onflow / onflow/flow-cli

Add faucet url when deploy fails with storage error

Open
#1,917 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue Improvement
Dominant language
Go
Stars
209
Forks
87
Avg merge
1d 17h
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the flow project deploy command and trace how the storage-limit error in the issue is rendered. Reproduce the new-account deployment scenario, then verify that the failure output links to https://faucet.flow.com/fund-account; pre-populating the account address is an additional requested improvement.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
blockchain, cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.