Skip to content

Commit 911c89b

Browse files
committed
Remove unneccessary fromIntegral usages
1 parent 9e66e96 commit 911c89b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/LedgerEvents/Gov/PredefinedAbstainDRep.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ hprop_check_predefined_abstain_drep = H.integrationWorkspace "test-activity" $ \
102102

103103
initialDesiredNumberOfPools <- getDesiredPoolNumberValue execConfig
104104

105-
let newNumberOfDesiredPools = fromIntegral (initialDesiredNumberOfPools + 1)
105+
let newNumberOfDesiredPools = initialDesiredNumberOfPools + 1
106106

107107
-- Do some proposal and vote yes with the first DRep only
108108
-- and assert that proposal does NOT pass.
@@ -117,7 +117,7 @@ hprop_check_predefined_abstain_drep = H.integrationWorkspace "test-activity" $ \
117117

118118
-- Do some other proposal and vote yes with first DRep only
119119
-- and assert the new proposal passes now.
120-
let newNumberOfDesiredPools2 = fromIntegral (newNumberOfDesiredPools + 1)
120+
let newNumberOfDesiredPools2 = newNumberOfDesiredPools + 1
121121
void $ desiredPoolNumberProposalTest execConfig epochStateView configurationFile socketPath ceo gov "secondProposal"
122122
wallet0 Nothing [(1, "yes")] newNumberOfDesiredPools2 newNumberOfDesiredPools2 2
123123

0 commit comments

Comments
 (0)