LimeChain / matchstick

🔥 Unit testing framework for Subgraph development on The Graph protocol. ⚙️
MIT License
207 stars 17 forks source link

Introduce `TransactionReceipt` and `Log` to newMockEvent() in matchstick-as #343

Closed dimitrovmaksim closed 2 years ago

dimitrovmaksim commented 2 years ago

graph-ts introduced TransactionReceipt and Log in version 0.27.0-alpha. https://github.com/graphprotocol/graph-ts/commit/36957d9093c13a6f2ef38ac7b8ee409759f0e689 as properties of ethereum.Event

We will have to set default TransactionReceipt and Log when newMockEvents is created https://github.com/LimeChain/matchstick-as/blob/main/assembly/defaults.ts