Your toilet pipes are inside a wall? That’s pretty strange, toilet drain pipe is usually 3” dia. Are there 90 degree bends? I don’t understand how or why you’d put a toilet drain pipe in a wall when the drain pipe is in the middle of a bathroom floor, not in a wall.
Are you sure you aren’t thinking of sink drains?