- 
                Notifications
    
You must be signed in to change notification settings  - Fork 739
 
Automated drep (Scenario 2) #5809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
2258014    to
    e3e536a      
    Compare
  
    051f153    to
    910bd8d      
    Compare
  
    There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but left few comments.
| 
               | 
          ||
| -- | The relative path to SPO key pairs in directories created by cardano-testnet | ||
| defaultSPOKeys :: Int -> PoolNodeKeys | ||
| defaultSPOKeys n = | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the paths are different than those in Testnet.Start.Cardano? Can we reuse it there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, you are right, it turns out that cardanoTestnetDefault returns the paths to most things. I hadn't realised, I think I should do another PR just refactoring those things afterwards.
        
          
                ...net/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedAbstainDRep.hs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...net/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedAbstainDRep.hs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...net/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedAbstainDRep.hs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      572cc7b    to
    91327bf      
    Compare
  
    8368f83    to
    172d84e      
    Compare
  
    172d84e    to
    e4f6e9d      
    Compare
  
    fb73a5f    to
    00d1e04      
    Compare
  
            
          
                ...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                ...est/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedNoConfidenceDRep.hs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      Co-authored-by: Mateusz Galazyn <[email protected]>
Co-authored-by: Mateusz Galazyn <[email protected]>
| 
           @palas> is this still relevant?  | 
    
| 
           This PR is stale because it has been open 45 days with no activity.  | 
    
| 
           cc @palas  | 
    
| 
           @smelc, sorry just saw your message. Yes, it is relevant, I have it parked because there is a problem with parameter update proposals, see these two commented out tests: 
  | 
    
| 
           This PR is stale because it has been open 45 days with no activity.  | 
    
| 
           This issue was closed because it has been stalled for 60 days with no activity.  | 
    
| 
           @palas can you close this if it's not needed?  | 
    
| 
           This PR is stale because it has been open 45 days with no activity.  | 
    
| 
           This issue was closed because it has been stalled for 60 days with no activity.  | 
    
Description
This PR aims to address this issue: #5600
With that aim, it adds two scenarios for automated DReps. This PR contains the second scenario:
Scenario 2
yeswith all the DReps.yeswith all the DReps.noto the no confidence proposal with all DReps.Checklist
See Runnings tests for more details
CHANGELOG.mdfor affected package.cabalfiles are updatedhlint. See.github/workflows/check-hlint.ymlto get thehlintversionstylish-haskell. See.github/workflows/stylish-haskell.ymlto get thestylish-haskellversionghc-8.10.7andghc-9.2.7