Closed erikreppel closed 3 months ago
contract
├── alloy v0.1.0 (https://github.com/erikreppel/alloy?rev=1d2d411#1d2d4118)
macOS (Apple Silicon)
Currently sol! { #[derive(Default)] ...} fails to compile because derives are alloyed to ally types generated, included the events enum. Because there is no #[default] set on the enum compilation fails.
sol! { #[derive(Default)] ...}
#[default]
Component
contract
What version of Alloy are you on?
├── alloy v0.1.0 (https://github.com/erikreppel/alloy?rev=1d2d411#1d2d4118)
Operating System
macOS (Apple Silicon)
Describe the bug
Currently
sol! { #[derive(Default)] ...}
fails to compile because derives are alloyed to ally types generated, included the events enum. Because there is no#[default]
set on the enum compilation fails.