zeitgeistpm / zeitgeist-subsquid

Zeitgeist chain block indexer and processor that provides data sets for powerful GraphQL queries.
7 stars 4 forks source link

Check disputant address recorded at `by` on historical-market #523

Closed saboonikhil closed 7 months ago

saboonikhil commented 7 months ago

@Chralt98 probably found this while pulling data (enclosed below). To ensure uniformity, all addresses needs to sync with Zeitgeist's custom-prefix:73 ss58 format.

"historicalMarkets": [
      {
        "timestamp": "2023-12-20T10:55:24.146000Z",
        "event": "MarketDisputed",
        "by": "0x7a876c0934521f9b8b5569b9cd8ca44b9cc9844c97d7dc649b3ab35cc62e2d58",
        "market": {
          "creator": "dE2NjE8jwMEP4Vygm7RbWXdTWaQshdKmgMgM2krmTZbSgpx9x",
          "disputes": null,
          "report": {
            "by": "dE2NjE8jwMEP4Vygm7RbWXdTWaQshdKmgMgM2krmTZbSgpx9x"
          }
        }
      },
Chralt98 commented 7 months ago

What are we going to do with this now?

saboonikhil commented 7 months ago

What are we going to do with this now?

Maintain consistent address format