web icon indicating copy to clipboard operation
web copied to clipboard

feat: githack spike

Open 0xApotheosis opened this issue 4 months ago • 0 comments

Description

Use GitHack to serve static asset data.

  • [x] relatedAssetIndex.json
  • [ ] generatedAssetData.json

TODO: orchestrate deployment - we won't have the static files on main until the PR makes it all the way to production, so I'll make a fallback URL that'll serve the data in the interim.

Issue (if applicable)

Closes https://github.com/shapeshift/web/issues/7856

Risk

High Risk PRs Require 2 approvals

Medium - if related assets/asset data works at all, this is working as intended.

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

None

Testing

  • Check that related asset data is loading
  • Check that asset data is loading
  • Check the performance of initial app load is no worse with this change

Engineering

Check that the requests to GitHack are working as intended - we should only see one request for each of relatedAssetIndex.json and generatedAssetData.json.

Operations

  • [ ] :checkered_flag: My feature is behind a flag and doesn't require operations testing (yet)

☝️

Screenshots (if applicable)

N/A

0xApotheosis avatar Oct 10 '24 08:10 0xApotheosis