Skip to content

Commit

Permalink
chore(gar): update prescribed observers
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Jan 31, 2025
1 parent 7ca47bd commit 2595527
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/epochs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ function epochs.getPrescribedObserversWithWeightsForEpoch(epochIndex)
tenureWeight = gateway.weights.tenureWeight,
gatewayPerformanceRatio = gateway.weights.gatewayPerformanceRatio,
observerPerformanceRatio = gateway.weights.observerPerformanceRatio,
-- TODO: remove these for backwards compatibility - after ar-io-sdk update, remove these
gatewayRewardRatioWeight = gateway.weights.gatewayPerformanceRatio,
observerRewardRatioWeight = gateway.weights.observerPerformanceRatio,
-- END TODO
compositeWeight = gateway.weights.compositeWeight,
stake = gateway.operatorStake,
startTimestamp = gateway.startTimestamp,
Expand Down

0 comments on commit 2595527

Please sign in to comment.