diff --git a/accounts/abi/bind/precompilebind/precompile_bind.go b/accounts/abi/bind/precompilebind/precompile_bind.go index f517e0cb68..28fde58688 100644 --- a/accounts/abi/bind/precompilebind/precompile_bind.go +++ b/accounts/abi/bind/precompilebind/precompile_bind.go @@ -155,6 +155,9 @@ func createPrecompileHook(abifilename string, template string) bind.BindHook { for key := range allowlist.AllowListABI.Methods { delete(funcs, key) } + for events := range allowlist.AllowListABI.Events { + delete(contract.Events, events) + } } precompileContract := &tmplPrecompileContract{