Comments (5)
same? any insight?
from iavl.
For me, one of the devs put a timestamp into the chain (which isn't a good idea). That was the root cause in our case
from iavl.
Sorry for the late reply here! The Cosmos SDK may not be persisting data to disk, which is why you're seeing an empty database. I believe the default setting only persists every 100,000 heights, so during development you may want to change the pruning settings to persist every block to disk (--pruning nothing
or something similar).
For me, one of the devs put a timestamp into the chain
That'll do it - glad to hear you found the problem!
Let us know if changing the pruning settings don't help.
from iavl.
good tip on the pruning. Also, worth noting that setting pruning on cosmos v0.37 is broken! (works in v0.38 though). So you can't have a pruning setting other than default on that version.
from iavl.
@cbarraford, 0.37 is marked as broken in the release. See the release notes. It's recommended to use 0.38.x
from iavl.
Related Issues (20)
- Racing conditions on `UnsavedFastIterator` & `MutableTree` HOT 6
- Change node key of leaf nodes to contain the value's key
- Restoring state-sync snapshot takes a long time HOT 5
- all: use SHA256 with SIMD instructions for higher performance and throughout HOT 14
- export: don't support multiple formats HOT 3
- empty root loading is failed in `GetImmutable`
- upstream deepsubtree work from celestia
- Proposed new repo API
- Implement a `lazy set` for the migration to the new node key format HOT 2
- Consider dropping error result from ImmutableTree.Iterator
- Consider dropping error result from ImmutableTree.Export
- Drop error result from NewMutableTree/NewMutableTreeWithOpts HOT 1
- Drop error result from Node.hashWithCount HOT 1
- leaf separation or versiondb integration HOT 1
- keyformat: (*KeyFormat).KeyBytes presumes that len(kf.layout) will always be non-empty
- internal/rand: RandStr and (*Rand).Str should have limits to their lengths lest cause memory hogs and if used can caused a Denial-of-Service HOT 1
- Consider changing the type of NodeKey.nonce to uint32 HOT 7
- Missing bounds check in deltaEncode HOT 1
- Memory leak during State Sync HOT 4
- iavl export failed with "version does not exist" HOT 2
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 iavl.