Treating carpenter ants while renovating

We removed the stucco , shiplap and woodchip insulation and are reinsulating the walls with pink insulation and plywood sheating. We found some carpenter ant activity and removed the damage and replaced with new wood. Is it recommended to use some form of pest control inside these walls before we insulate and cover them? Thank you. Roman.

While you were tearing things apart some of the ants may have move to establish a new nest elsewhere and there may be other nests above or below the one you found.  A thorough inspection by an experienced professional may save you a lot of grief later.  The professional could also pre-treat the nest area you found to prevent a re-infestation.