The Graph.
Đăng nhập

Kiểm tra trước khi xuất bản trên mạng phi tập trung

Thảo luận
  • INDEXERS

Khả năng là gì khi bạn đã triển khai vào subgraph studio, nhưng chưa xuất bản. Giai đoạn này có giống với biểu đồ con được lưu trữ không? Nó vẫn đồng bộ các sự kiện mới không? Các phương pháp hay nhất để kiểm tra trước khi bạn xuất bản trên mạng phi tập trung là gì?

Thêm bình luận

Câu trả lời1

It is similar to the hosted service in that it is centralized and only 1 indexer can index your subgraph. The difference is that studio is rate limited. So you should test only studio before deploying to the network. In terms of testing best practices, I would suggest that you read the unit testing guide in the docs. Unit testing is locally isn't it? Using Matchsticks. By testing, I mean on studio. Unless we can unit test on studio as well. Oh, in that case you only really use studio to verify that the data you want is working properly as you expect it to. Just rate limited querying until you publish.

Thêm bình luận

Bạn có biết câu trả lời không?

Hãy đăng nhập và chia sẻ nó.

Đăng nhập