From cf856ea1ad96ac39ea477087822479b63417036a Mon Sep 17 00:00:00 2001 From: Nicolas Feignon Date: Fri, 13 Nov 2020 13:43:15 +0100 Subject: [PATCH] accounts/abi: template: set events Raw field in Parse methods (#21807) --- accounts/abi/bind/template.go | 1 + 1 file changed, 1 insertion(+) diff --git a/accounts/abi/bind/template.go b/accounts/abi/bind/template.go index 5329b3ebc3..8dac11f79f 100644 --- a/accounts/abi/bind/template.go +++ b/accounts/abi/bind/template.go @@ -541,6 +541,7 @@ var ( if err := _{{$contract.Type}}.contract.UnpackLog(event, "{{.Original.Name}}", log); err != nil { return nil, err } + event.Raw = log return event, nil }