contracts
contracts copied to clipboard
Contracts repository for The Graph protocol
This doesn't even compile yet, just started working on it, just PRing a draft for visibility.
Moved `DataEdge` contract from [Block Oracle](https://github.com/graphprotocol/block-oracle/tree/main/packages/contracts) repo.
Implementation for https://forum.thegraph.com/t/gip-0060-early-allocation-closure/4559
Build test fails _randomly_ when ran on GitHub actions: ``` [@graphprotocol/contracts]: An unexpected error occurred: [@graphprotocol/contracts]: [@graphprotocol/contracts]: Error: spawn /home/runner/.cache/hardhat-nodejs/compilers-v2/linux-amd64/solc-linux-amd64-v0.7.6+commit.7338295f EACCES [@graphprotocol/contracts]: at Process.ChildProcess._handle.onexit (node:internal/child_process:284:19) [@graphprotocol/contracts]: at onErrorNT (node:internal/child_process:477:16) [@graphprotocol/contracts]:...