testnet's People
Forkers
huunji mr-k-validator realys158 errigocartmanez deyure2u hdac-hmh n0okone armyids dolphintwo themaxwelllabs imnisen mihailshumilov blackhox danil00524 jimtod anonstake activenodes outputlayer sw-heart onetrickypony cihancahit hashkeycloud djspys1 vladika2020 jjangg96 oignt masteritz qf3l3k ramuchi stakrspace slimuss bogdan984 lenovike plap004421 crazysergo antonmashnin dhinio52 tt1000vv reromanov asergijenko pacobits glebanyy june-nodeateam stake-target yogasakti salexber vgk88 papsan w0rldwind sashamaxymchuk carameleon shershnaga devianlofi mtchuikov cyberomanov drpjohnson kokorin9 kovalenkoandri minho-hdac bodety seokjae1111 pinkdiamond1 bfree-balloontestnet's Issues
Issue with "pagination.limit" when querying with Rest-API
Describe the bug
pagination.limit
option doesn't work properly in some rest-api
Below is an example for /cosmos/base/tendermint/v1beta1/validatorsets/
.
There are currently 125 active validators on the network, but only 100 are queried.
To Reproduce
$ curl -s localhost:1317/cosmos/base/tendermint/v1beta1/validatorsets/latest?pagination.limit=1
{
"block_height": "346116",
"validators": [
{
"address": "rizonvalcons10gf5ht2ppn59ldza3lmzntnkph8g4xf4z7d0ju",
"pub_key": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "yJDSb+Rg8F3gv1ToYtcl4bLZCnXvC1bU/JlCb3w9NYI="
},
"voting_power": "1004565",
"proposer_priority": "722908"
}
],
"pagination": null
}
$ curl -s localhost:1317/cosmos/base/tendermint/v1beta1/validatorsets/latest?pagination.limit=100 | jq .validators[99]
{
"address": "rizonvalcons1n0j5gp5waarswz20a033tks68yqttyate6a4yg",
"pub_key": {
"@type": "/cosmos.crypto.ed25519.PubKey",
"key": "+LZpUaNy4A6UP+36TsPGsQc8vsw9sb2d+Ucak/ap3vg="
},
"voting_power": "5692",
"proposer_priority": "-1414328"
}
$ curl -s localhost:1317/cosmos/base/tendermint/v1beta1/validatorsets/latest?pagination.limit=200 | jq .validators[100]
null
Context & versions
Network: groot-011
$ rizond version --long
name: rizon
server_name: rizond
version: v0.2.3
commit: d119dfc0c8d7a44f12dc4c06b2413936a748f75e
build_tags: Linux
go: go version go1.15.11 linux/amd64
Node died
- CPU: 8 core
- memory: 32 G
- swap: 2G
- ulimit -n: 1024
- Logs:
panic: open /root/.rizon/data/cs.wal: too many open files
goroutine 63021 [running]:
github.com/tendermint/tendermint/libs/autofile.(*Group).readGroupInfo(0xc00b0cd760, 0x0, 0x0, 0x0, 0x0)
/root/go/pkg/mod/github.com/tendermint/[email protected]/libs/autofile/group.go:365 +0x52b
github.com/tendermint/tendermint/libs/autofile.(*Group).checkTotalSizeLimit(0xc00b0cd760)
/root/go/pkg/mod/github.com/tendermint/[email protected]/libs/autofile/group.go:274 +0x69
github.com/tendermint/tendermint/libs/autofile.(*Group).processTicks(0xc00b0cd760)
/root/go/pkg/mod/github.com/tendermint/[email protected]/libs/autofile/group.go:245 +0x85
created by github.com/tendermint/tendermint/libs/autofile.(*Group).OnStart
/root/go/pkg/mod/github.com/tendermint/[email protected]/libs/autofile/group.go:140 +0x68
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.