Pruebas antes de publicar en una red descentralizada
- INDEXERS
¿Cuáles son las capacidades cuando se ha implementado en Subgraph Studio, pero aún no se ha publicado? ¿Esta etapa es similar a la del subgrafo alojado? ¿Sigue sincronizando los eventos nuevos? ¿Cuáles son las mejores prácticas que se deben probar antes de publicar en una red descentralizada?
答案1
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.