I highly recommend upgrading to the latest version of viem (2.31.0) to speed up your crypto dapps.

The default polling time for transaction receipts was previously 4 seconds which works great for Ethereum mainnet, but not fast EVMs with shorter blocktimes.

Viem will now look at your chain's blocktime and set the polling time based on how fast blocks are, which should make transactions feel faster if the polling time wasn't set explicitly.