• meowsbits's avatar
    tests: fix state test error checking (#25702) · 3ec6fe61
    meowsbits authored
    Some tests define an 'expectException' error but the tests runner does not check for conditions where this test value is filled (error expected) but in which no error is returned by the test runner.
    
    An example of this scenario is GeneralStateTests/stTransactionTest/HighGasPrice.json, which expects a 'TR_NoFunds' error, but the test runner does not return any error.
    Signed-off-by: 's avatarmeows <b5c6@protonmail.com>
    3ec6fe61
state_test_util.go 13.9 KB