Comments (2)
Turns out there is a subtle bug, since the counter should not have been incremented when there is at least one proposal to vote on. Here is the issue #4347
That being said, the counter will be incremented when there are no proposals. The interesting fact is that we do not increment a value for every DRep, we have a separate counter incremented for all DReps, regardless if they have expired or not. That does not mean though that we cannot implement this feature on the ledger query side here:
cardano-ledger/libs/cardano-ledger-api/src/Cardano/Ledger/Api/State/Query.hs
Lines 138 to 147 in 760ea5a
All we need to do is do not change the drepExpiry
for those DReps that have already expired, which can all be done on this line:
We should also add a test for this functionality in the cardano-ledger-api
test suite for this.
from cardano-ledger.
Fixed in #4358
from cardano-ledger.
Related Issues (20)
- `translateUpperBoundForPlutusScripts` clarification HOT 1
- Mention if duplicates are allowed in maps in the CDDL files HOT 1
- DRep pulser property test needs fixing HOT 1
- Fix "Full NewEpochState" test due to `Cannot find futurePParams in env` HOT 1
- Create a SPO stake distribution query for voting
- Update to dormant epoch looks two epochs ago HOT 1
- Inconsistent listing of DRep expiry depending if creds are present or missing
- Investigate conformance failure in `RATIFY` HOT 1
- `TICK` rule fails with `error` call in `Conway`
- Ignore `ppCommitteeMinSize` during bootstrap phase
- Avoid types with infinite precision in the protocol parameters HOT 1
- Improve constrained generators of votes
- Add conformance testing for `NEWEPOCH`
- Add conformance testing for `LEDGERS`
- Conformance test EPOCH
- Add plutus tests
- conway.cddl costmdls clarification HOT 1
- Fix minor bugs in `CHAIN` of Shelley formal spec
- Epoch
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 cardano-ledger.