diff --git a/helper/call.go b/helper/call.go index 5f9b01a60..ae84f3bc7 100644 --- a/helper/call.go +++ b/helper/call.go @@ -620,20 +620,23 @@ func (c *ContractCaller) DecodeValidatorStakeUpdateEvent(contractAddress common. event = new(stakinginfo.StakinginfoStakeUpdate) found = false ) - + fmt.Print("HERE1") for _, vLog := range receipt.Logs { if uint64(vLog.Index) == logIndex { found = true - + fmt.Print("HERE2") if err := UnpackLog(&c.StakingInfoABI, event, stakeUpdateEvent, vLog); err != nil { return nil, err } + fmt.Print("HERE2") break + } } if !found { + fmt.Print("HERE3") return nil, errors.New("event not found") }