Comments (8)
Hi @llwinner would you let me know which branch you are running on? Thanks!
from callisto.
On the other hand, as I looked up the repository, it might be an expected condition? There are two possible places that would INSERT INTO validator
:
- in
staking.HandleGenesis(...)
, it will save validators details to bothvalidator
andvalidator_info
tables which will only be triggered upon genesis file parsed - in
staking.HandleBlock(...)
, it will save validators details tovalidator
andvalidator_status
which will be done upon worker receiving new blocks
Did you run bdjuno parse genesis-file
before starting or can you purge the database, run the genesis parse command and check if validators have been persister after the parsing? Thanks!
from callisto.
@zura35 Thanks for your reply, my bdjuno branch is chains/cosmos/mainnet
My cosmos version is 0.46.7
I used ignite to create an empty chain, there were no transactions
Before I started the database, I run bdjuno parse genesis-file. There were no outputs after I run bdjuno parse genesis-file.
from callisto.
Hi @llwinner I think this is expected to not be able to fetch any validators upon genesis file parsed
I have tried to initiate a new chain with ignite scaffold chain example
, and this is the genesis file created from the serve
command:
Please see if this answer your question 🙏
from callisto.
@zura35 My genesis.json is the same
My empty chain has run for several days, block height was 18381, but still not get the validator data...
from callisto.
Hi @llwinner yes, the genesis file contains the details of you genesis block, as yours is the same as mine, this explains why you have empty validator_info
from point 1 stated here
Going back to your original question where you see 0 active validators but a few rows in the validator
table, you can actually look up the validator_status
table to see if they are jailed 🙏
from callisto.
Hi, I have the same problem, none of the validators are jailed but they are not displayed. Average block time is also 0.
from callisto.
@llwinner FYI I have fixed it by updating the config.yml file with more modules:
...
modules:
- messages
- auth
- bank
- consensus
- feegrant
- gov
- mint
- modules
- pricefeed
- staking
- slashing
- distribution
- daily refetch
- wasm
...
Now it's showing validators and average block time:
from callisto.
Related Issues (20)
- bdjuno start return error: ERROR: failed to start client: Not Found HOT 1
- failed to get last block height from database error="pq: permission denied for table block" HOT 1
- Use branch cosmos/v0.46.x got error: failed to get block results from node: error unmarshalling result: illegal base64 data at input byte 44 HOT 1
- i have error parsing my transaction throw bdjuno HOT 11
- panic: invalid Go type math.LegacyDec for field cosmos.mint.v1beta1.QueryInflationResponse.inflation HOT 3
- Validator status and voting power not updated in some cases
- Gov transactions V1beta1
- Impossible to have staking/validator duplicated `operator address` address
- The bdjuno doesn't cover the proposal status change from the deposit to voting.
- not found github.com/cosmos/cosmos-sdk/testutil/testdata_pulsar
- BDJuno crashes when an invalid prefix arrives HOT 2
- ERR re-enqueueing failed block: no concrete type registered for type URL /ibc.core.client.v1.MsgUpdateClient against interface *types.Msg HOT 11
- failed to get transactions for block HOT 2
- Details page cannot display when running with `yarn build` and `yarn start` HOT 1
- v0.47 - Bad Power Voting % calculation HOT 9
- message_type table is empty HOT 3
- Support for Cosmos SDK v0.50.x HOT 2
- Table message_type HOT 1
- Callisto[0.50.x]: Bug parse /cosmos.gov.v1.MsgVote for cosmos-sdk 0.50.x HOT 3
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 callisto.