-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove all state from default stateConfig.json
#2783
Labels
chore
Issue is a chore
Comments
4 tasks
@nedsalk do you think this could be related to the following discussion - points 3 & 5? |
This might break the templates, which uses the faucet referenced by the private key 0x01. |
@petertonysmith94 The templates use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
stateConfig.json
file currently is populated mainly because of the old testing approach so that we could use multiple wallets in parallel and avoid the "trying to spend already spent UTXO" issue. Once #2698 is finished, all the coins and messages can be removed because we have full control of the initial state of the chain via thelaunchTestNode
interface. This will still break some tests, like this one, which were relying on that state.It's important to note that the
fuels.config.ts
'sprivateKey
property is also set to match one of the owners in the currentstateConfig.json
and it'll break once the initial state is removed. ThisstateConfig.json
population logic should then be moved into thefuels
cli so that we don't have a breaking change here. The utilitylaunchNode
gives users the ability to define their ownstateConfig.json
, so that can be utilized.The text was updated successfully, but these errors were encountered: