Comments (6)
The ganache-cli
has is deprecated. Use the ganache
package instead. That said, ganache
is no longer maintained.
In both packages the --db
option saves the blockchain state.
from ganache.
When I create the database using ganache/ganache-cli, why my database contains only these files: 000003.txt, CURRENT, LOCK, LOG, MANIFEST-000002.....this behavior is very recent, before this..I used to get several files.....!blockHashes!0x.., !blockLogs!0 and so on...Am I doing something wrong while creating the database...
I am using the command: ganache -h 127.0.0.1 -0 7545 -m "my mnemonic" --db path/to/db --hardfork london
from ganache.
That change happened in Ganache v7.0.0 back in Jan 20, 2022.
from ganache.
oh, thank you for the response. Is it possible to create the database in the old style? If not, is there a way to make the text file in the newer version readable? Once again I appreciate your time..
from ganache.
Is it possible to create the database in the old style?
No
If not, is there a way to make the text file in the newer version readable?
It's a binary format now. Its only readable by Ganache. If you want to try to read it yourself you could use a leveldb reader like https://fastonosql.com/. But even then the data is packed tightly so it won't be meaningful without proper deserialization (which is built into Ganache).
Your best way forward would be to scrape the DB by calling Ganache's JSON-RPC methods.
from ganache.
Okay, thank you for the information!
from ganache.
Related Issues (20)
- Figure out why the "fails to `.listen()` twice, Promise" test intermittently takes more than 5 seconds on mac
- Ganache
- Ganache for solidity contract
- Is it possible to fork and replay mainnet? HOT 1
- All pre-funded address balances drop to 0 after running a transaction HOT 19
- This shows while using truffle migrate "This version of ยตWS is not compatible with your Node.js build: Error: The specified module could not be found. \\?\C:\Users\ojham\AppData\Roaming\npm\node_modules\truffle\node_modules\ganache\node_modules\@trufflesuite\uws-js-unofficial\binaries\uws_win32_x64_93.node" HOT 5
- Look into switching to conveyor to simplify publishing
- Ganache transactions become stuck in queued state with manual nonce management and concurrent senders
- undefined:1 HOT 1
- VM Exception while processing transaction: revert requirement failed HOT 4
- Request hangs on Optimism Forked chains HOT 9
- Truffle v5.11.4 (core: 5.11.4) + Ganache v7.9.1: the tx doesn't have the correct nonce HOT 3
- The first byte of block-level logsBloom does not match transaction-level logsBloom HOT 3
- Ganache is being sunset
- eth_getTransactionCount pending does not take into account tx in the local mempool HOT 1
- Chain Re-org detected HOT 2
- LASPRO
- 3aced331-bfc6-48be-af1a-af71cfb3b670.txt
- Ganache Stuck HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ganache.