-
Notifications
You must be signed in to change notification settings - Fork 678
--db Option Requires Same Mnemonic and Network ID #1030
Comments
+1 |
Same here |
Right now for the In a future release we'll store this information in the database and retrieve it on start, and give a warning when the user specifies a mnemonic or network id which is different from the one which was stored. |
This does not work for me. Connected to #1007 If I start the chain via my Thundercloud script: https://github.com/status-im/thundercloud |
this small program (install
@Swader, what version of ganache-cli are you using? |
Sorry should have been more specific. Accounts are same, yes, but the state is not. So what I do first is I generate accounts with a script, seed them with some eth, deploy a contract, do some transactions. Then, I fire up ganache from this DB, but my accounts are always fresh - they have 100 eth. Something just occured to me though - if I don't specify an account limiting flag like -a 1 to limit to 1 account, and I have inserted and seeded 10 accounts in another script, will the default of a=10 then reseed those accounts with 100 eth even if they were in the db? It shouldn't right? |
Another data point for when this get's worked on: |
Dear all,
I am just in the process of testing the latest version of testrpc (4.1.3) and the --db option still appears to not be working correctly as reported in earlier versions by users.
In summary, the chain data appears to be saved but when closing and starting testrpc again, my test contract is no longer deployed.
Has anyone been able to get this feature to work in v4.1.3?
Many Thanks,
Pete
The text was updated successfully, but these errors were encountered: