Skip to content

Commit efe4888

Browse files
authored
Updating anonymous event signature (#178)
The topic0 on the anonymous event does not properly reflect the keccak256 hash of the event signature. Correct hash: 0x644843f351d3fba4abcd60109eaff9f54bac8fb8ccf0bab941009c21df21cf31 https://bfotool.com/keccak256-hash-generator
1 parent 1296e8b commit efe4888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/en/developing/creating-a-subgraph.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ If you need to process anonymous events in Solidity, that can be achieved by pro
821821
```yaml
822822
eventHandlers:
823823
- event: LogNote(bytes4,address,bytes32,bytes32,uint256,bytes)
824-
topic0: '0xbaa8529c00000000000000000000000000000000000000000000000000000000'
824+
topic0: '0x644843f351d3fba4abcd60109eaff9f54bac8fb8ccf0bab941009c21df21cf31'
825825
handler: handleGive
826826
```
827827

0 commit comments

Comments
 (0)