We can also lazily allocate the attached inputs map in AbstractTransaction...