alloy-rs / core

High-performance, well-tested & documented core libraries for Ethereum, in Rust
https://alloy.rs
Apache License 2.0
763 stars 137 forks source link

[Bug] SolEvent::decode_raw_log should check the event signature. #589

Open ewile opened 5 months ago

ewile commented 5 months ago

Component

sol-types

What version of Alloy are you on?

0.7.0

Operating System

None

Describe the bug

Currently, SolEvent::decode_raw_log does not check that its SIGNATURE_HASH matches topic0, in the case of non-anonymous events.