It was a war of course there were attacks on the villageNever heard of any attacks against the konoha village during Tobirama's time as hokage. However I know that he took a fight against Kinkaku and Ginkaku and some more in order to save Hiruzen, Danzo and some more.