gobitfly/eth2-beaconchain-explorer

Withdrawal notification emails linking withdrawal index instead of validator index

shicks opened this issue · 0 comments

shicks commented

Describe the bug
Withdrawal email notifications link to wrong validator

To Reproduce
Steps to reproduce the behavior:

  1. Add withdrawal email notifications for a validator
  2. Wait for a withdrawal and check the email

Expected behavior
Emails should link to correct validator

Screenshots
Actual email contains the correct withdrawal amount, but links to a different validator that hasn't actually had a withdrawal.


This is the email I got:
the email i got, which shows .00161 ETH on 140008 and .00159 ETH on 140009


Here is my notification settings, showing the validators I'm subscribed to:
my notification settings, including withdrawals on 457057 and 457058


If I look at my own validator's dashboard, I see the withdrawal at the correct time and for the amount indicated in the email:
my validator 457057 showing a withdrawal of .001614


The validator linked in the email clearly has no withdrawals (see the 34 ETH balance, the warning symbol next to the withdrawal icon, and the greyed out withdrawals tab):
the validator 140008 linked in the email, with a 0x00 withdrawal address and therefore 34 ETH balance and no withdrawals


Digging a little deeper, I find the "Withdrawals" tab under the slot that contained the withdrawal. It shows two indexes in the table: withdrawal index 140008 indeed was for validator 457057, so it looks like whatever template is filling out that email is just referring to the wrong index:
withdrawals for the slot, linking withdrawal index 140008 to validator 457057


Desktop (please complete the following information):
N/A

Phone (please complete the following information):
N/A

Additional context
N/A