File tree 3 files changed +12
-12
lines changed
3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -1168,13 +1168,13 @@ func getBaseRewardsArguments() BaseRewardsCreatorArgs {
1168
1168
rewardsTopUpGradientPoint , _ := big .NewInt (0 ).SetString ("3000000000000000000000000" , 10 )
1169
1169
1170
1170
rewardsHandler := & mock.RewardsHandlerStub {
1171
- RewardsTopUpGradientPointInEpochCalled : func (epoch uint32 ) * big.Int {
1171
+ RewardsTopUpGradientPointInEpochCalled : func (_ uint32 ) * big.Int {
1172
1172
return rewardsTopUpGradientPoint
1173
1173
},
1174
- RewardsTopUpFactorInEpochCalled : func (epoch uint32 ) float64 {
1174
+ RewardsTopUpFactorInEpochCalled : func (_ uint32 ) float64 {
1175
1175
return 0.25
1176
1176
},
1177
- ProtocolSustainabilityAddressInEpochCalled : func (epoch uint32 ) string {
1177
+ ProtocolSustainabilityAddressInEpochCalled : func (_ uint32 ) string {
1178
1178
return "11"
1179
1179
},
1180
1180
}
Original file line number Diff line number Diff line change @@ -1585,19 +1585,19 @@ func createArgsForComputeEndOfEpochEconomics(
1585
1585
MaxInflationRateCalled : func (_ uint32 ) float64 {
1586
1586
return 0.1
1587
1587
},
1588
- ProtocolSustainabilityAddressInEpochCalled : func (epoch uint32 ) string {
1588
+ ProtocolSustainabilityAddressInEpochCalled : func (_ uint32 ) string {
1589
1589
return commAddress
1590
1590
},
1591
- ProtocolSustainabilityPercentageInEpochCalled : func (epoch uint32 ) float64 {
1591
+ ProtocolSustainabilityPercentageInEpochCalled : func (_ uint32 ) float64 {
1592
1592
return 0.1
1593
1593
},
1594
- LeaderPercentageInEpochCalled : func (epoch uint32 ) float64 {
1594
+ LeaderPercentageInEpochCalled : func (_ uint32 ) float64 {
1595
1595
return 0.1
1596
1596
},
1597
- RewardsTopUpFactorInEpochCalled : func (epoch uint32 ) float64 {
1597
+ RewardsTopUpFactorInEpochCalled : func (_ uint32 ) float64 {
1598
1598
return 0.25
1599
1599
},
1600
- RewardsTopUpGradientPointInEpochCalled : func (epoch uint32 ) * big.Int {
1600
+ RewardsTopUpGradientPointInEpochCalled : func (_ uint32 ) * big.Int {
1601
1601
return big .NewInt (0 ).Div (args .GenesisTotalSupply , big .NewInt (10 ))
1602
1602
},
1603
1603
}
Original file line number Diff line number Diff line change @@ -1767,10 +1767,10 @@ func getRewardsCreatorV2Arguments() RewardsCreatorArgsV2 {
1767
1767
topUpRewardFactor := 0.25
1768
1768
1769
1769
rewardsHandler := & economicsmocks.EconomicsHandlerMock {
1770
- RewardsTopUpGradientPointInEpochCalled : func (epoch uint32 ) * big.Int {
1770
+ RewardsTopUpGradientPointInEpochCalled : func (_ uint32 ) * big.Int {
1771
1771
return big .NewInt (0 ).Set (rewardsTopUpGradientPoint )
1772
1772
},
1773
- RewardsTopUpFactorInEpochCalled : func (epoch uint32 ) float64 {
1773
+ RewardsTopUpFactorInEpochCalled : func (_ uint32 ) float64 {
1774
1774
return topUpRewardFactor
1775
1775
},
1776
1776
}
@@ -1787,10 +1787,10 @@ func getRewardsCreatorV35Arguments() RewardsCreatorArgsV2 {
1787
1787
topUpRewardFactor := 0.5
1788
1788
1789
1789
rewardsHandler := & economicsmocks.EconomicsHandlerMock {
1790
- RewardsTopUpGradientPointInEpochCalled : func (epoch uint32 ) * big.Int {
1790
+ RewardsTopUpGradientPointInEpochCalled : func (_ uint32 ) * big.Int {
1791
1791
return big .NewInt (0 ).Set (rewardsTopUpGradientPoint )
1792
1792
},
1793
- RewardsTopUpFactorInEpochCalled : func (epoch uint32 ) float64 {
1793
+ RewardsTopUpFactorInEpochCalled : func (_ uint32 ) float64 {
1794
1794
return topUpRewardFactor
1795
1795
},
1796
1796
}
You can’t perform that action at this time.
0 commit comments