Skip to content

Instantly share code, notes, and snippets.

@nflaig
Last active June 21, 2023 12:27
Show Gist options
  • Save nflaig/ab4efbeb6755f311738e30b88f6848cd to your computer and use it in GitHub Desktop.
Save nflaig/ab4efbeb6755f311738e30b88f6848cd to your computer and use it in GitHub Desktop.
Doppelganger false positives

Stopped validator client end of epoch 184287 (slot=5897214) and started it in same epoch (slot=5897215)


Enabled log epoch=184287 slot=5897215

Jun-20 15:23:06.503[]                 info: doppelganger protection enabled detectionEpochs=1

Doppelganger(s) detected error

error: Doppelganger(s) detected
        A doppelganger occurs when two different validator clients run the same public key.
        This validator client detected another instance of a local validator on the network
        and is shutting down to prevent potential slashable offenses. Ensure that you are not
        running a duplicate or overlapping validator client 461016, 460662, 460668, 461753, 462372, 461597, 461687, 461388, 462032, 462310, 461504, 461906, 461175, 462341, 461194, 461368, 460518, 460889, 462085, 461407, 460691, 461797, 461352, 461425, 462090, 460865, 461284, 461143, 462081, 461486, 461078, 460923, 462135, 461218, 461314, 461863, 460673, 460676, 461414, 460961, 461309, 461097, 461584, 462418, 461245, 460749, 460766, 461803, 461964, 461866, 462301, 460601, 462303, 461880, 461510, 462327, 462141, 460952, 461594, 461378, 460551, 461232, 462213, 460771, 460909, 462014, 460535, 460858, 461092, 460622, 461634, 461534, 460556, 460789, 462353, 461900, 461855, 461491, 461191, 462412, 461096, 461355, 461437, 460642, 462463, 460610, 461268, 461932, 462308, 460902, 461583, 462171, 461110, 461445, 461799, 461617, 460821, 462076, 460769, 462447, 461998, 461800, 462137, 462334, 462017, 460736, 460621, 461000, 461788, 461498
Jun-20 15:29:33.172[]                error: Process shutdown requested  Doppelganger(s) detected

Poll liveness that caused issue detection

Jun-20 15:29:33.095[]                debug: doppelganger pollLiveness currentEpoch=184288, indicesCount=1962

Validator 461016

It is expected for this validator that doppelganger protection detected it as attestation inclusion was delayed to next epoch.

Last signed attestation

Jun-20 15:22:14.842[]                debug: Signed attestation slot=5897211, index=41, head=0x77443f93430711ab246de346bccbbf8d230089b79e76a399ef7c173878ac6673, validatorIndex=46101

Registered validator on epoch=184287

Jun-20 15:23:06.515[]                 info: Registered validator for doppelganger remainingEpochs=1, pubkeyHex=0x8186135e9b5cbba537b93a7a79a615e55b841e61abda623f28de0bcd893a7cf8285e808f48376fc6f97f600e57d65af

Last attestation epoch=184287, slot=5897211, inclSlot=5897222 (epoch=184288)

image


Validator 460662

This one was likely flagged because attestation was included multiple times in same and next epoch.

Last signed attestation

Jun-20 15:22:40.026[]                debug: Signed attestation slot=5897213, index=53, head=0x77443f93430711ab246de346bccbbf8d230089b79e76a399ef7c173878ac6673, validatorIndex=460662

Registered validator on epoch=184287

Jun-20 15:23:06.516[]                 info: Registered validator for doppelganger remainingEpochs=1, pubkeyHex=0x81ad2fd8b01d6e3396f845710924e33c5057334e04d98f20672875424135331216ade689303d4bda7183606626fda61

Last attestation epoch=184287, slot=5897213, inclSlot=5897215 (epoch=184287)

image


Validator 461583

Inclusion was in epoch=184287, slot=5897206. This one was likely also flagged because attestation was included multiple times in same and next epoch.

Last signed attestation

Jun-20 15:21:01.470[]                debug: Signed attestation slot=5897205, index=25, head=0x0d772615af71dd59b8a77864335246d449acf27b24595182e3ad524283696cf7, validatorIndex=461583

Registered validator on epoch=184287

Jun-20 15:23:06.760[]                 info: Registered validator for doppelganger remainingEpochs=1, pubkeyHex=0xaff185eeb7f1f367d6d53b3c30d5d3f78e3b3db35050b1e9d7581209fa172e39f47d1e3f1d59a6d4cb0b30758c06486

Last attestation epoch=184287, slot=5897205, inclSlot=5897206 (epoch=184287)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment