Comments (4)
I like this, but how do we make sure this is updated after a governance proposal changes the param? Responsibility of chain.json maintainers?
from chain-registry.
I like this, but how do we make sure this is updated after a governance proposal changes the param? Responsibility of chain.json maintainers?
Is this something the lens tool could verify? and then have a script to submit a change if needed?
from chain-registry.
What should be the unit of duration? It probably goes technically always goes by number of blocks, but we'll probably also want an estimated time duration. And in what units should that time be? I suppose day is common enough, but we may end up having to change to hour, and seconds would be best unit with very high precision. Should it be a number with assumed unit? Or allow for a regex'd string? or some kind of datetime format?
I might propose:
"staking": {
"staking_tokens": [
{
"denom": "uosmo",
"lock_duration": {
"blocks": 12345678,
"time": "14 days"
}
}
]
}
why did I put the duration inside the staking token object? same reason as why the staking tokens is an array and not a single denom: in case different tokens have different locking durations.
E.g., ION staking is not for the chain, but might be nice to be able to record that here.
Alternatively, we could go with more assumptions (like staking always describing chain security--which might be best), then we could also do:
"staking": {
"staking_tokens": [
{
"denom": "uosmo"
}
],
"lock_duration": {
"blocks": 12345678,
"time": "14 days"
}
}
from chain-registry.
Should we change the entire staking section to look like this?
osmosisd q staking params
bond_denom: uosmo
historical_entries: 10000
max_entries: 7
max_validators: 118
min_commission_rate: "0.050000000000000000"
min_self_delegation: "0"
unbonding_time: 1209600s
from chain-registry.
Related Issues (20)
- solving proto management with chain-registry HOT 1
- cosmos.directory / main json should use image logo's from chainlist.json, not assetlist.json HOT 2
- Create archive directory for when a chain forks
- Having issues reading assets from sei
- docker images for chains HOT 3
- @chain-registry module wrong info
- Endpoint ICS validators don't show up HOT 1
- Missing `image` field on https://chains.cosmos.directory HOT 5
- Sei assetlist invalid denom units
- https://fcd.terrav2.ccvalidators.com/ endpoint not resolving for Terra2 HOT 1
- Neutron
- Garrtbrayn_Inno HOT 1
- Terra chains HOT 2
- api/rpc is not maintaining by provider
- Minting
- Improve assetslist.json validation
- Cosmos Directory all Osmosis API Nodes seem to be down
- Add ping.pub explorer link for FxCore
- Incorrect exponents for WBTC.axl & WETH.axl
- Extend explorer schema to include validator link, proposal link and block link
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 chain-registry.