onflow / onflow/flow-cli

Incomplete contracts deployed printed at emulator startup

Open
#1,591 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feedback
Dominant language
Go
Stars
209
Forks
87
Avg merge
1d 17h
Merged PRs (30d)
3

Description


flow-c1 emulator -v
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
                           ⚠ Upgrade to Cadence 1.0
     The Crescendo network upgrade, including Cadence 1.0, is coming soon.
     You may need to update your existing contracts to support this change.
                     Please visit our migration guide here:
             https://cadence-lang.org/docs/cadence_migration_guide
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1:14PM INF ⚙️ Using service account 0xf8d6e0586b0a20c7  serviceAddress=f8d6e0586b0a20c7 serviceHashAlgo=SHA3_256 servicePrivKey=a23c739c95a4550e1cdadd475556b2ab0eea29ca3feae886137a70580a13c56b servicePubKey=ee3ad03d0e430e3d7f04ee9a6894c1a096a8606a204aeb9f4746557f0b270caf2518c5487f087c05fc4847651682d4533c4c81068868ebec5255aca09212eafc serviceSigAlgo=ECDSA_P256
1:14PM INF 📜 Flow contract                              EVM=0xf8d6e0586b0a20c7
1:14PM INF 📜 Flow contract                              FlowClusterQC=0xf8d6e0586b0a20c7
1:14PM INF 📜 Flow contract                              FlowDKG=0xf8d6e0586b0a20c7
1:14PM INF 📜 Flow contract                              FlowEpoch=0xf8d6e0586b0a20c7
1:14PM INF 📜 Flow contract                              FlowFees=0xe5a8b7f23e8b548f
1:14PM INF 📜 Flow contract                              FlowIDTableStaking=0xf8d6e0586b0a20c7
1:14PM INF 📜 Flow contract                              FlowServiceAccount=0xf8d6e0586b0a20c7
1:14PM INF 📜 Flow contract                              FlowStorageFees=0xf8d6e0586b0a20c7
1:14PM INF 📜 Flow contract                              FlowToken=0x0ae53cb6e3f42a79
1:14PM INF 📜 Flow contract                              FungibleToken=0xee82856bf20e2aa6
1:14PM INF 📜 Flow contract                              MetadataViews=0xf8d6e0586b0a20c7
1:14PM INF 📜 Flow contract                              NodeVersionBeacon=0xf8d6e0586b0a20c7
1:14PM INF 📜 Flow contract                              NonFungibleToken=0xf8d6e0586b0a20c7
1:14PM INF 📜 Flow contract                              RandomBeaconHistory=0xf8d6e0586b0a20c7
1:14PM INF 📜 Flow contract                              ViewResolver=0xf8d6e0586b0a20c7```

This list of deployed contracts is not complete. For instance 0xee82856bf20e2aa6 has more contracts.  This is very confusing when configuring new projects and can lead to people deploying invalid versions of contracts. 

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 by running flow-c1 emulator -v and tracing the emulator startup path that prints deployed contracts. Compare the displayed list with the contracts deployed at the service account, including the additional contracts at 0xee82856bf20e2aa6. Done means startup output includes the complete deployed-contract list so project configuration does not rely on an incomplete view.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.