cartesi / explorer

Cartesi Blockchain Explorer
https://explorer.cartesi.io
Apache License 2.0
9 stars 12 forks source link

Replace AWS by Chainstack's #20

Closed brunomenezes closed 1 year ago

brunomenezes commented 1 year ago

Summary

Code changes to remove all AWS and code related to the extended API (i.e. Endpoints for Postgraphile).

  1. Removed all the aws subgraph and extended aws configurations for the Apollo client.
  2. Add new endpoints to access Chainstack for Goerli and mainnet [production, preview]
  3. Update the graphQL models and fix tests using the wrong types.
  4. New hooks added to support reading performance data for a specific pool.
  5. The feature flag for new-performance-enabled has been removed since Postgraphile was removed.
  6. Quick update in the ISR logic under the staticGeneration.ts file.
  7. Added a new CSP configuration to work with the safe wallet easier while in localhost

closes #15

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rollups ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2023 9:00am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 22, 2023 9:00am
coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 5343593688


Changes Missing Coverage Covered Lines Changed/Added Lines %
apps/staking/src/graphql/hooks/useStakingPoolPerformance.ts 1 2 50.0%
apps/staking/src/utils/staticGeneration.ts 0 1 0.0%
apps/staking/src/services/apollo.ts 1 5 20.0%
<!-- Total: 7 13 53.85% -->
Totals Coverage Status
Change from base Build 5342173159: 0.2%
Covered Lines: 2549
Relevant Lines: 3338

💛 - Coveralls