Apparent caching issue with retrieving azimuth point sponsors #5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Earlier today we tried to attest for ~fipfus in the onboarding app, and ran into problems. We turned to the graphQL API at https://azimuth.dev.vdb.to/graphql, and used the following query:
It returned:
Every query result appears to be cached in Postgres, keyed by blockHash, contractAddress, _point.
In Azimuth, apparently before an Azimuth point is "activated" the sponsor is 0, so the watcher fetched 0 from the chain and cached it under the key
blockHash = "latest".We later activated the point, and the sponsor value on chain then was 90 (the galaxy ~fus). however, the graphQL API still returned 0 when querying with
blockHash: latest. However, if I just passed a block hash for the most recently validated block I saw on etherscan, it returned 90:Per Rick's analysis, perhaps this is a bug actually in the onboarding app, like maybe it should use an actual block hash instead of latest. But just filing for visibility.
this fix was addressed in the onboarding app