1. Scenario 1

    make clean
    make tomo-race-detector
    

    The tomo binary executable file (built using the make tomo-race-detector command) can be used to start the node and detect data races during interactions with the node. However, this process will result in a downgrade in the node's performance.

  2. Scenario 2

    make clean
    make test-race-detector
    

    Data race detected

    Screenshot 2024-12-10 at 14.35.29.png

    Please see report file at Link

  3. Build normally after diagnosing race detector

    make clean
    make all
    

    The -race flag should only be used during testing to detect data race