Skip to content

Move EraBasedProtocolParametersUpdate to Cardano.Api.Compatible.ProtocolParametersUpdate - #1336

Merged
Jimbo4350 merged 2 commits into
masterfrom
jordan/move-era-based-pparams-update
Sep 11, 2026
Merged

Move EraBasedProtocolParametersUpdate to Cardano.Api.Compatible.ProtocolParametersUpdate#1336
Jimbo4350 merged 2 commits into
masterfrom
jordan/move-era-based-pparams-update

Export only AsUpdateProposal instead of the whole AsType data family

74cd35b
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / hlint succeeded Sep 11, 2026 in 3s

5 new alerts

New alerts in code changed by this pull request

  • 5 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 4 in cardano-api/src/Cardano/Api/Compatible/ProtocolParametersUpdate.hs

See this annotation in the file changed.

Code scanning / HLint

Unused LANGUAGE pragma Warning

cardano-api/src/Cardano/Api/Compatible/ProtocolParametersUpdate.hs:4:1-35: Warning: Unused LANGUAGE pragma
  
Found:
  {-# LANGUAGE DeriveDataTypeable #-}
  
Perhaps you should remove it.

Check warning on line 5 in cardano-api/src/Cardano/Api/Compatible/ProtocolParametersUpdate.hs

See this annotation in the file changed.

Code scanning / HLint

Unused LANGUAGE pragma Warning

cardano-api/src/Cardano/Api/Compatible/ProtocolParametersUpdate.hs:5:1-30: Warning: Unused LANGUAGE pragma
  
Found:
  {-# LANGUAGE DeriveGeneric #-}
  
Perhaps you should remove it.

Check warning on line 10 in cardano-api/src/Cardano/Api/Compatible/ProtocolParametersUpdate.hs

See this annotation in the file changed.

Code scanning / HLint

Unused LANGUAGE pragma Warning

cardano-api/src/Cardano/Api/Compatible/ProtocolParametersUpdate.hs:10:1-43: Warning: Unused LANGUAGE pragma
  
Found:
  {-# LANGUAGE GeneralizedNewtypeDeriving #-}
  
Perhaps you should remove it.

Check warning on line 11 in cardano-api/src/Cardano/Api/Compatible/ProtocolParametersUpdate.hs

See this annotation in the file changed.

Code scanning / HLint

Unused LANGUAGE pragma Warning

cardano-api/src/Cardano/Api/Compatible/ProtocolParametersUpdate.hs:11:1-27: Warning: Unused LANGUAGE pragma
  
Found:
  {-# LANGUAGE LambdaCase #-}
  
Perhaps you should remove it.

Check warning on line 12 in cardano-api/src/Cardano/Api/Compatible/ProtocolParametersUpdate.hs

See this annotation in the file changed.

Code scanning / HLint

Unused LANGUAGE pragma Warning

cardano-api/src/Cardano/Api/Compatible/ProtocolParametersUpdate.hs:12:1-31: Warning: Unused LANGUAGE pragma
  
Found:
  {-# LANGUAGE NamedFieldPuns #-}
  
Perhaps you should remove it.