diff --git a/crates/lang/codegen/src/generator/events.rs b/crates/lang/codegen/src/generator/events.rs index b2893f7c424..38212d2cf84 100644 --- a/crates/lang/codegen/src/generator/events.rs +++ b/crates/lang/codegen/src/generator/events.rs @@ -88,6 +88,7 @@ impl<'a> Events<'a> { let base_event_ident = proc_macro2::Ident::new("__ink_EventBase", Span::call_site()); quote! { + #[allow(non_camel_case_types)] #[derive(::scale::Encode, ::scale::Decode)] pub enum #base_event_ident { #( #event_idents(#event_idents), )*