Lilypad-Tech / web-ui

UIs and website that are accessed with a browser
Apache License 2.0
3 stars 0 forks source link

[node-status] Wrong PoW Contract Address / ABI #89

Closed walkah closed 3 months ago

walkah commented 3 months ago

On the "Node Status" page, most nodes have 'n.a.' for Last POW Submitted. I believe this is because the front end code is using an old address / ABI to fetch that data here: https://github.com/Lilypad-Tech/web-ui/blob/main/apps/info-dashboard/src/lib/fetchers/node-chain-data.ts#L42

This call uses a hard-coded old contract address from here: https://github.com/Lilypad-Tech/web-ui/blob/main/apps/info-dashboard/src/lib/chain/contracts.ts#L9

We need to update the address & ABI to the latest for the current PoW contract.