Skip to content

Commit

Permalink
Merge pull request #344 from Concordium/remove-election-difficulty
Browse files Browse the repository at this point in the history
Remove election difficulty from expected parameters.
  • Loading branch information
abizjak authored Jul 14, 2023
2 parents 861bb6c + 514147e commit febc6b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ struct ChainParametersResponse: Codable {
let passiveBakingCommission: Double
let accountCreationLimit: Int
let finalizationCommissionRange: CommissionRange
let electionDifficulty: Double
let euroPerEnergy: EuroPerEnergy
let transactionCommissionRange: CommissionRange
let minimumEquityCapital: String
Expand All @@ -43,7 +42,6 @@ struct ChainParametersResponse: Codable {
case passiveBakingCommission = "passiveBakingCommission"
case accountCreationLimit = "accountCreationLimit"
case finalizationCommissionRange = "finalizationCommissionRange"
case electionDifficulty = "electionDifficulty"
case euroPerEnergy = "euroPerEnergy"
case transactionCommissionRange = "transactionCommissionRange"
case minimumEquityCapital = "minimumEquityCapital"
Expand Down Expand Up @@ -84,7 +82,6 @@ extension ChainParametersResponse {
passiveBakingCommission: Double? = nil,
accountCreationLimit: Int? = nil,
finalizationCommissionRange: CommissionRange? = nil,
electionDifficulty: Double? = nil,
euroPerEnergy: EuroPerEnergy? = nil,
transactionCommissionRange: CommissionRange? = nil,
minimumEquityCapital: String? = nil
Expand All @@ -105,7 +102,6 @@ extension ChainParametersResponse {
passiveBakingCommission: passiveBakingCommission ?? self.passiveBakingCommission,
accountCreationLimit: accountCreationLimit ?? self.accountCreationLimit,
finalizationCommissionRange: finalizationCommissionRange ?? self.finalizationCommissionRange,
electionDifficulty: electionDifficulty ?? self.electionDifficulty,
euroPerEnergy: euroPerEnergy ?? self.euroPerEnergy,
transactionCommissionRange: transactionCommissionRange ?? self.transactionCommissionRange,
minimumEquityCapital: minimumEquityCapital ?? self.minimumEquityCapital
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"max": 5.0e-2,
"min": 5.0e-2
},
"electionDifficulty": 2.5e-2,
"euroPerEnergy": {
"denominator": 1000000,
"numerator": 1
Expand Down

0 comments on commit febc6b9

Please sign in to comment.