graph-network-subgraph
graph-network-subgraph copied to clipboard
The subgraph, the smart contracts, the tests, and documents for the Graph Explorer Decentralized Application
## Overview Below are 2 examples I found where the schema name of a subgraph are incongruent between the actual subgraph (i.e. what can be queried with a connection) vs....
https://github.com/graphprotocol/graph-network-subgraph/pull/107#discussion_r609076614 ``` - epoch start block = 1000 - epoch end block = 3000 then we halve the epoch length. so now it will be let newEndBlock = 1000 +...
### Issue Epoch endBlock should be one block before startBlock of next Epoch to avoid overlapping. ### Solution This can be fixed by calculating `endBlock = startBlock + epochLength -...
As per fee distribution logic: `queryFeesCollected > = queryFeeRebates + delegationFees` But if you query (for instance: id 0x5a8904be09625965d9aec4bffd30d853438a053e ) ``` { allocations (orderBy: closedAtEpoch, where: { indexer: "0x5a8904be09625965d9aec4bffd30d853438a053e", status...
- [ ] Truncate decimals on division for values like GRT. GRT with 18 decimal places cannot have decimals after. They do not exist on the blockchain, it is pointless...