IntersectMBO / IntersectMBO/cardano-ledger

Add a PParam check for DRep expiry

Open
#3,724 0 comments 0 reactions 0 assignees View on GitHub
DijkstraEra
Dominant language
Haskell
Stars
295
Forks
179
Avg merge
4d 7h
Merged PRs (30d)
29

Description

`ppDRepActivity` should be greater or equal to `ppGovActionExpiration`

This check can only be implemented if we enforce a linear history of proposals and we can predict the value of PParams before the enactment of a proposal.

Requires #3655 and #4038

This potentially can be enforced by the guardrails script. Which will need support #4038 and the value of current PParams values that will be during the enactment of the proposal passed to the script context

Contributor guide

Open the contributing guide

Research direction

Start by reviewing prerequisites #3655 and #4038, then inspect the guardrails script and how PParams values are passed into its context. The work is complete when it can enforce that ppDRepActivity is greater than or equal to ppGovActionExpiration using the values applicable at proposal enactment.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.