Skip to content

Commit

Permalink
Merge pull request #147 from ar-io/PE-7040-weight-ratio-names
Browse files Browse the repository at this point in the history
fix(gar): display observerPerformanceRatio or observerRewardRatioWeig…
  • Loading branch information
kunstmusik authored Feb 4, 2025
2 parents 2a38866 + 123d091 commit 06ed61b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.8.3] - 2025-02-03

### Changed

- Minor fix for property name change.

## [1.8.2] - 2025-02-03

### Changed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ar-io/network-portal",
"private": true,
"version": "1.8.2",
"version": "1.8.3",
"type": "module",
"scripts": {
"build": "yarn clean && tsc --build tsconfig.build.json && NODE_OPTIONS=--max-old-space-size=32768 vite build",
Expand Down
5 changes: 4 additions & 1 deletion src/pages/Observers/ObserversTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ const ObserversTable = () => {
gatewayAddress: observer.gatewayAddress,
observerAddress: observer.observerAddress,
ncw: observer.normalizedCompositeWeight,
successRatio: observer.observerRewardRatioWeight,
successRatio:
// there will be a period where old epoch notices have the old field, and new epoch notices have the new field, so check both
observer.observerPerformanceRatio ||
observer.observerRewardRatioWeight,
reportStatus: status,
failedGateways: numFailedGatewaysFound,
},
Expand Down

0 comments on commit 06ed61b

Please sign in to comment.