I am using a local testnet. I send transactions with eth_sendRawTransaction but unfortunately sometimes the transaction pass and sometimes not.
When it does not pass I have two things happening at the same time:
- I cannot get a transaction receipt, that is the eth_getTransactionReceipt returns null
- If I resubmit the transaction then I got the known transaction error.
What is happening? What could be a possible solution to the problem?