h.processEvents(ctx, receipt)
func (h Hooks) processEvents(ctx sdk.Context, receipt *ethtypes.Receipt) {
  ...
  for _, log := range receipt.Logs {
    ...
    if log.Address == turnstileAddress {
      ...
      switch event.Name {
      case types.TurnstileEventRegister:
        err = h.k.RegisterEvent(ctx, log.Data)
      case types.TurnstileEventUpdate:
        err = h.k.UpdateEvent(ctx, log.Data)
      }
      if err != nil {
        h.k.Logger(ctx).Error(err.Error())
        return
      }
    }
  }
}
  // Check if the NFT that is being updated exists in the CSR store
  nftID := event.TokenId.Uint64()
  csr, found := k.GetCSR(ctx, nftID)
  if !found {
  	return sdkerrors.Wrapf(ErrNFTNotFound, "EventHandler::UpdateEvent the nft entered does not currently exist: %d", nftID)
  }
