You are correct in The Battle of the Crater taking place after the fighting around Richmond-Petersburg became a sneak preview of WWI's Western Front.
It was an attempt by the Army of the Potomac to blow a hole in Lee's trenchline by placing a very large underground mine directly under it by way...