The StarkNet in the latest update has split `PENDING` status into `PENDING` and `ACCEPTED_ON_L2`. So we need to add `ACCEPTED_ON_L2` in the "waitForTx" method