ChainReorganisationDetected

Documentation for eth_defi.event_reader.reorganisation_monitor.ChainReorganisationDetected exception.

exception ChainReorganisationDetected

Bases: Exception

__init__(block_number, original_hash, new_hash)
Parameters
  • block_number (int) –

  • original_hash (str) –

  • new_hash (str) –

__new__(**kwargs)
add_note()

Exception.add_note(note) – add a note to the exception

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.