bobanetwork / boba_base

MIT License
1 stars 5 forks source link

Fix subgraphs for Fantom and Moonbase #48

Closed boyuan-chen closed 2 years ago

boyuan-chen commented 2 years ago

Issue

The id of events can't be the transaction hash, because we might relay multiple L2 txs in one block so that subgraph only picks one event.

Fix

The id of events is replaced by the unique msg hash.

Tests

The unit tests are added.