public synchronized void clearNonce() {
        nonce = BigInteger.valueOf(-1);
    }
@Test
    void clearNonce() throws IOException {
        fastRawTransactionManager.setNonce(BigInteger.valueOf(42));

        fastRawTransactionManager.clearNonce();

        BigInteger currentNonce = fastRawTransactionManager.getCurrentNonce();
        assertEquals(currentNonce, BigInteger.valueOf(-1));
    }