Comments (2)
From @hleb-albau
I created a small draft, now lets discuss next:
- What validator state should be considered for slashing(now, proposal creating or other)? How it should influence delegations and re-delegations before and after slashing point? Should we allow safe re-delegate tokens during vote or during deposit or not?
- What if chain has unbounding period is less than vote period? (maybe just leave it as is, just make sanity check before call actual slash). We loose info about delegations and re-delegations after unbound succeed.
- Can validator and its delegators vote on prop?
- It seems that gov module has very simple route handler that not allow to register more advanced checks on proposal creation. For example, it is not possible to validate on proposal creation that validator exist and in active set. Maybe we need to advance route architecture?(or it should be done in ADR in other issue?)
from cosmos-sdk.
Re the questions:
- I think the only way to do it efficiently in the SDK atm is Now. That will cover unbondings / redelegations though.
- Hrm, I think thats an ok edge case. Would be good to potentially emit a warning if theres a sensible way of doing so.
- Yup! If your being slashed, you should be allowed to say that you don't agree
- Yeah, this is really unfortunate that none of the relevant validation methods get the context passed in. I think for a v1 of this feature, we'd have to be ok with the edge case of being able to slash inactives.
from cosmos-sdk.
Related Issues (20)
- Impact of BeforeSend hook on Distribution module - FeePool.CommunityPool distribution HOT 1
- BurnFrom and ForceTransfer impact on Cosmos SDK Core modules HOT 1
- chore: re-enable bank multi-send
- ABCI: Do not ProcessProposal when you're a proposer that proposed in PrepareProposal
- Make a protected branch: v0.42.9-osmo-v3 HOT 1
- new proto annotations exist upstream HOT 9
- make proto gen is generally broken for 42 series HOT 1
- clean up `{accepts,implements}_interface` HOT 2
- Tendermint 37 + sdk 45 requires forking ibc-go
- Backport Msg proposals
- The `--is-expedited` flag for submit-proposal subcommand doesn't work HOT 2
- Convert ibc denom format to human readable in CLI
- Question: Panics in Begin and EndBlock
- Events are not emitted after proposal gets handled
- Backport FwdCapabilityKey Patch
- cosmossdk.io/math.LegacyDec and Int are not correctly deserialized in "some" grpc queries
- [Epic]: Upstream Gov changes HOT 4
- Using old sorting function signature
- Pass in updated config/app toml direct without needed to write
- Transfer event disambiguation request
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 cosmos-sdk.